|
Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
|


Public 成员函数 | |
| void | Serialize (string name, ref sbyte value) |
| void | Serialize (string name, ref byte value) |
| void | Serialize (string name, ref short value) |
| void | Serialize (string name, ref ushort value) |
| void | Serialize (string name, ref int value) |
| void | Serialize (string name, ref uint value) |
| void | Serialize (string name, ref long value) |
| void | Serialize (string name, ref ulong value) |
| void | Serialize (string name, ref float value) |
| void | Serialize (string name, ref double value) |
| void | Serialize (string name, ref bool value) |
| void | Serialize (string name, ref char value) |
| void | Serialize (string name, ref string value) |
| void | Serialize (string name, ref byte[] value) |
| void | Serialize (string name, int length, ref byte[] value) |
| void | SerializeCollection< T > (string name, ICollection< T > collection) |
| void | SerializeDictionary< K, V > (string name, IDictionary< K, V > dictionary) |
| void | Serialize (string name, Type type, ref object value) |
| void | Serialize (string name, Type type, object value) |
| void | Serialize< T > (string name, T value) |
| void | Serialize< T > (string name, ref T value) |
| void | Serialize< T > (string name, Action< T > setter) |
| T | Serialize< T > (string name) |
| object | Serialize (string name, Type type) |
| List< T > | SerializeCollection< T > (string name) |
| void | SerializeCollection< T > (string name, Action< T > adder) |
| Dictionary< K, V > | SerializeDictionary< K, V > (string name) |
| T | FindParentObject< T > (bool throwIfNotFound=true) |
| void | ReadObjectInfo (out int? objectId, out bool isReference, out Type runtimeType) |
| Public 成员函数 继承自 Engine.Serialization.Archive | |
| delegate void | ReadDelegate (InputArchive archive, ref object value) |
| delegate void | WriteDelegate (OutputArchive archive, object value) |
| virtual void | Dispose () |
Protected 成员函数 | |
| InputArchive (int version, object context) | |
| new void | Reset (int version, object context) |
| virtual void | ReadObject (string name, SerializeData staticSerializeData, ref object value, bool allowOverwriteOfExistingObject) |
| virtual void | ReadObject< T > (string name, SerializeData staticSerializeData, ref T value, bool allowOverwriteOfExistingObject) |
| Protected 成员函数 继承自 Engine.Serialization.Archive | |
| delegate void | ReadDelegateGeneric< T > (InputArchive archive, ref T value) |
| delegate void | WriteDelegateGeneric< T > (OutputArchive archive, T value) |
| Archive (int version, object context) | |
| void | Reset (int version, object context) |
属性 | |
| ReadOnlyList< object > | Stack [get] |
| 属性 继承自 Engine.Serialization.Archive | |
| int | Version [get, set] |
| bool | UseObjectInfos = true [get, set] |
Private 成员函数 | |
| void | ReadObjectWithoutObjectInfo (SerializeData staticSerializeData, ref object value) |
| void | ReadObjectWithObjectInfo (SerializeData staticSerializeData, ref object value, bool allowOverwriteOfExistingObject) |
Private 属性 | |
| Dictionary< int, object > | m_objectById = [] |
| DynamicArray< object > | m_stack = new() |
额外继承的成员函数 | |
| 静态 Public 成员函数 继承自 Engine.Serialization.Archive | |
| static bool | IsTypeSerializable (Type type) |
| static void | SetTypeSerializationOptions (Type type, bool useObjectInfo, AutoConstructMode autoConstruct) |
| static object | CreateInstance (Type type) |
| Public 属性 继承自 Engine.Serialization.Archive | |
| object | Context |
| 静态 Protected 成员函数 继承自 Engine.Serialization.Archive | |
| static SerializeData | GetSerializeData (Type type, bool allowEmptySerializer) |
在文件 InputArchive.cs 第 2 行定义.
|
protected |
在文件 InputArchive.cs 第 9 行定义.
| T Engine.Serialization.InputArchive.FindParentObject< T > | ( | bool | throwIfNotFound = true | ) |
| T | : | class |
在文件 InputArchive.cs 第 108 行定义.
|
protectedvirtual |
|
protectedvirtual |
|
abstract |

|
private |
|
private |
|
protected |
在文件 InputArchive.cs 第 11 行定义.
|
abstract |
|
abstract |
|
abstract |
|
abstract |
|
abstract |
|
abstract |
|
abstract |
|
abstract |
|
abstract |
|
abstract |

|
abstract |
|
abstract |
|
abstract |
|
abstract |
|
abstract |
| object Engine.Serialization.InputArchive.Serialize | ( | string | name, |
| Type | type ) |
| void Engine.Serialization.InputArchive.Serialize | ( | string | name, |
| Type | type, | ||
| object | value ) |
| void Engine.Serialization.InputArchive.Serialize | ( | string | name, |
| Type | type, | ||
| ref object | value ) |
| T Engine.Serialization.InputArchive.Serialize< T > | ( | string | name | ) |
| void Engine.Serialization.InputArchive.Serialize< T > | ( | string | name, |
| Action< T > | setter ) |
| void Engine.Serialization.InputArchive.Serialize< T > | ( | string | name, |
| ref T | value ) |
| void Engine.Serialization.InputArchive.Serialize< T > | ( | string | name, |
| T | value ) |
| List< T > Engine.Serialization.InputArchive.SerializeCollection< T > | ( | string | name | ) |
在文件 InputArchive.cs 第 88 行定义.
| void Engine.Serialization.InputArchive.SerializeCollection< T > | ( | string | name, |
| Action< T > | adder ) |
在文件 InputArchive.cs 第 94 行定义.
|
abstract |
| Dictionary< K, V > Engine.Serialization.InputArchive.SerializeDictionary< K, V > | ( | string | name | ) |
在文件 InputArchive.cs 第 102 行定义.
|
abstract |
|
private |
在文件 InputArchive.cs 第 3 行定义.
|
private |
在文件 InputArchive.cs 第 5 行定义.
|
get |
在文件 InputArchive.cs 第 7 行定义.