|
Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
|


Public 成员函数 | |
| XmlInputArchive (XElement node, int version=0, object context=null) | |
| void | Reset (XElement node, int version=0, object context=null) |
| override void | Serialize (string name, ref sbyte value) |
| override void | Serialize (string name, ref byte value) |
| override void | Serialize (string name, ref short value) |
| override void | Serialize (string name, ref ushort value) |
| override void | Serialize (string name, ref int value) |
| override void | Serialize (string name, ref uint value) |
| override void | Serialize (string name, ref long value) |
| override void | Serialize (string name, ref ulong value) |
| override void | Serialize (string name, ref float value) |
| override void | Serialize (string name, ref double value) |
| override void | Serialize (string name, ref bool value) |
| override void | Serialize (string name, ref char value) |
| override void | Serialize (string name, ref string value) |
| override void | Serialize (string name, ref byte[] value) |
| override void | Serialize (string name, int length, ref byte[] value) |
| override void | SerializeCollection< T > (string name, ICollection< T > collection) |
| override void | SerializeDictionary< K, V > (string name, IDictionary< K, V > dictionary) |
| override void | ReadObjectInfo (out int? objectId, out bool isReference, out Type runtimeType) |
| Public 成员函数 继承自 Engine.Serialization.InputArchive | |
| 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 成员函数 | |
| override void | ReadObject (string name, SerializeData staticSerializeData, ref object value, bool allowOverwriteOfExistingObject) |
| override void | ReadObject< T > (string name, SerializeData staticSerializeData, ref T value, bool allowOverwriteOfExistingObject) |
| Protected 成员函数 继承自 Engine.Serialization.InputArchive | |
| InputArchive (int version, object context) | |
| new void | Reset (int version, object context) |
| 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) |
属性 | |
| XElement | Node [get, private set] |
| 属性 继承自 Engine.Serialization.InputArchive | |
| ReadOnlyList< object > | Stack [get] |
| 属性 继承自 Engine.Serialization.Archive | |
| int | Version [get, set] |
| bool | UseObjectInfos = true [get, set] |
Private 成员函数 | |
| void | EnterNode (string name) |
| void | LeaveNode (string name) |
额外继承的成员函数 | |
| 静态 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) |
在文件 XmlInputArchive.cs 第 6 行定义.
| Engine.Serialization.XmlInputArchive.XmlInputArchive | ( | XElement | node, |
| int | version = 0, | ||
| object | context = null ) |
在文件 XmlInputArchive.cs 第 9 行定义.
|
private |
|
private |
|
protectedvirtual |
|
protectedvirtual |
| override void Engine.Serialization.XmlInputArchive.ReadObjectInfo | ( | out int? | objectId, |
| out bool | isReference, | ||
| out Type | runtimeType ) |
| void Engine.Serialization.XmlInputArchive.Reset | ( | XElement | node, |
| int | version = 0, | ||
| object | context = null ) |
| override void Engine.Serialization.XmlInputArchive.Serialize | ( | string | name, |
| int | length, | ||
| ref byte[] | value ) |
| override void Engine.Serialization.XmlInputArchive.Serialize | ( | string | name, |
| ref bool | value ) |
| override void Engine.Serialization.XmlInputArchive.Serialize | ( | string | name, |
| ref byte | value ) |
| override void Engine.Serialization.XmlInputArchive.Serialize | ( | string | name, |
| ref byte[] | value ) |
| override void Engine.Serialization.XmlInputArchive.Serialize | ( | string | name, |
| ref char | value ) |
| override void Engine.Serialization.XmlInputArchive.Serialize | ( | string | name, |
| ref double | value ) |
| override void Engine.Serialization.XmlInputArchive.Serialize | ( | string | name, |
| ref float | value ) |
| override void Engine.Serialization.XmlInputArchive.Serialize | ( | string | name, |
| ref int | value ) |
| override void Engine.Serialization.XmlInputArchive.Serialize | ( | string | name, |
| ref long | value ) |
| override void Engine.Serialization.XmlInputArchive.Serialize | ( | string | name, |
| ref sbyte | value ) |
| override void Engine.Serialization.XmlInputArchive.Serialize | ( | string | name, |
| ref short | value ) |
| override void Engine.Serialization.XmlInputArchive.Serialize | ( | string | name, |
| ref string | value ) |
在文件 XmlInputArchive.cs 第 103 行定义.
| override void Engine.Serialization.XmlInputArchive.Serialize | ( | string | name, |
| ref uint | value ) |
| override void Engine.Serialization.XmlInputArchive.Serialize | ( | string | name, |
| ref ulong | value ) |
| override void Engine.Serialization.XmlInputArchive.Serialize | ( | string | name, |
| ref ushort | value ) |
| override void Engine.Serialization.XmlInputArchive.SerializeCollection< T > | ( | string | name, |
| ICollection< T > | collection ) |
| override void Engine.Serialization.XmlInputArchive.SerializeDictionary< K, V > | ( | string | name, |
| IDictionary< K, V > | dictionary ) |
|
getprivate set |
在文件 XmlInputArchive.cs 第 7 行定义.