|
Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
|


Public 成员函数 | |
| BinaryOutputArchive(Stream stream, int version=0, object context=null) void | Reset (Stream stream, int version=0, object context=null) |
| override void | Dispose () |
| override void | Serialize (string name, sbyte value) |
| override void | Serialize (string name, byte value) |
| override void | Serialize (string name, short value) |
| override void | Serialize (string name, ushort value) |
| override void | Serialize (string name, int value) |
| override void | Serialize (string name, uint value) |
| override void | Serialize (string name, long value) |
| override void | Serialize (string name, ulong value) |
| override void | Serialize (string name, float value) |
| override void | Serialize (string name, double value) |
| override void | Serialize (string name, bool value) |
| override void | Serialize (string name, char value) |
| override void | Serialize (string name, string value) |
| override void | Serialize (string name, byte[] value) |
| override void | Serialize (string name, int length, byte[] value) |
| override void | SerializeCollection< T > (string name, Func< T, string > itemNameFunc, IEnumerable< T > collection) |
| override void | SerializeDictionary< K, V > (string name, IDictionary< K, V > dictionary) |
| override void | WriteObjectInfo (int? objectId, bool isReference, Type runtimeType) |
| Public 成员函数 继承自 Engine.Serialization.OutputArchive | |
| void | Serialize (string name, sbyte value) |
| void | Serialize (string name, byte value) |
| void | Serialize (string name, short value) |
| void | Serialize (string name, ushort value) |
| void | Serialize (string name, int value) |
| void | Serialize (string name, uint value) |
| void | Serialize (string name, long value) |
| void | Serialize (string name, ulong value) |
| void | Serialize (string name, float value) |
| void | Serialize (string name, double value) |
| void | Serialize (string name, bool value) |
| void | Serialize (string name, char value) |
| void | Serialize (string name, string value) |
| void | Serialize (string name, byte[] value) |
| void | Serialize (string name, int length, byte[] value) |
| void | Serialize (string name, Type type, object value) |
| void | SerializeCollection< T > (string name, Func< T, string > itemNameFunc, IEnumerable< T > collection) |
| void | SerializeCollection< T > (string name, IEnumerable< T > collection) |
| void | SerializeDictionary< K, V > (string name, IDictionary< K, V > dictionary) |
| void | Serialize< T > (string name, T value) |
| void | WriteObjectInfo (int? objectId, bool isReference, Type runtimeType) |
| Public 成员函数 继承自 Engine.Serialization.Archive | |
| delegate void | ReadDelegate (InputArchive archive, ref object value) |
| delegate void | WriteDelegate (OutputArchive archive, object value) |
Public 属性 | |
| bool | Use7BitInts = true |
| Public 属性 继承自 Engine.Serialization.Archive | |
| object | Context |
属性 | |
| Stream | Stream [get] |
| 属性 继承自 Engine.Serialization.Archive | |
| int | Version [get, set] |
| bool | UseObjectInfos = true [get, set] |
Private 属性 | |
| int | m_nextTypeId |
| Dictionary< string, int > | m_stringIds = new() |
| EngineBinaryWriter | m_writer |
额外继承的成员函数 | |
| 静态 Public 成员函数 继承自 Engine.Serialization.Archive | |
| static bool | IsTypeSerializable (Type type) |
| static void | SetTypeSerializationOptions (Type type, bool useObjectInfo, AutoConstructMode autoConstruct) |
| static object | CreateInstance (Type type) |
| Protected 成员函数 继承自 Engine.Serialization.OutputArchive | |
| OutputArchive (int version, object context) | |
| new void | Reset (int version, object context) |
| virtual void | WriteObject (string name, SerializeData staticSerializeData, object value) |
| virtual void | WriteObject< T > (string name, SerializeData staticSerializeData, T value) |
| 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) |
| 静态 Protected 成员函数 继承自 Engine.Serialization.Archive | |
| static SerializeData | GetSerializeData (Type type, bool allowEmptySerializer) |
在文件 BinaryOutputArchive.cs 第 2 行定义.
|
virtual |
重载 Engine.Serialization.Archive .
在文件 BinaryOutputArchive.cs 第 24 行定义.
| BinaryOutputArchive(Stream stream, int version=0, object context=null) void Engine.Serialization.BinaryOutputArchive.Reset | ( | Stream | stream, |
| int | version = 0, | ||
| object | context = null ) |
| override void Engine.Serialization.BinaryOutputArchive.Serialize | ( | string | name, |
| bool | value ) |
在文件 BinaryOutputArchive.cs 第 73 行定义.
| override void Engine.Serialization.BinaryOutputArchive.Serialize | ( | string | name, |
| byte | value ) |
在文件 BinaryOutputArchive.cs 第 32 行定义.
| override void Engine.Serialization.BinaryOutputArchive.Serialize | ( | string | name, |
| byte[] | value ) |
在文件 BinaryOutputArchive.cs 第 96 行定义.
| override void Engine.Serialization.BinaryOutputArchive.Serialize | ( | string | name, |
| char | value ) |
在文件 BinaryOutputArchive.cs 第 77 行定义.
| override void Engine.Serialization.BinaryOutputArchive.Serialize | ( | string | name, |
| double | value ) |
在文件 BinaryOutputArchive.cs 第 69 行定义.
| override void Engine.Serialization.BinaryOutputArchive.Serialize | ( | string | name, |
| float | value ) |
在文件 BinaryOutputArchive.cs 第 65 行定义.
| override void Engine.Serialization.BinaryOutputArchive.Serialize | ( | string | name, |
| int | length, | ||
| byte[] | value ) |
在文件 BinaryOutputArchive.cs 第 101 行定义.
| override void Engine.Serialization.BinaryOutputArchive.Serialize | ( | string | name, |
| int | value ) |
在文件 BinaryOutputArchive.cs 第 44 行定义.
| override void Engine.Serialization.BinaryOutputArchive.Serialize | ( | string | name, |
| long | value ) |
在文件 BinaryOutputArchive.cs 第 57 行定义.
| override void Engine.Serialization.BinaryOutputArchive.Serialize | ( | string | name, |
| sbyte | value ) |
| override void Engine.Serialization.BinaryOutputArchive.Serialize | ( | string | name, |
| short | value ) |
在文件 BinaryOutputArchive.cs 第 36 行定义.
| override void Engine.Serialization.BinaryOutputArchive.Serialize | ( | string | name, |
| string | value ) |
在文件 BinaryOutputArchive.cs 第 81 行定义.
| override void Engine.Serialization.BinaryOutputArchive.Serialize | ( | string | name, |
| uint | value ) |
在文件 BinaryOutputArchive.cs 第 53 行定义.
| override void Engine.Serialization.BinaryOutputArchive.Serialize | ( | string | name, |
| ulong | value ) |
在文件 BinaryOutputArchive.cs 第 61 行定义.
| override void Engine.Serialization.BinaryOutputArchive.Serialize | ( | string | name, |
| ushort | value ) |
在文件 BinaryOutputArchive.cs 第 40 行定义.
| override void Engine.Serialization.BinaryOutputArchive.SerializeCollection< T > | ( | string | name, |
| Func< T, string > | itemNameFunc, | ||
| IEnumerable< T > | collection ) |
| override void Engine.Serialization.BinaryOutputArchive.SerializeDictionary< K, V > | ( | string | name, |
| IDictionary< K, V > | dictionary ) |
| override void Engine.Serialization.BinaryOutputArchive.WriteObjectInfo | ( | int? | objectId, |
| bool | isReference, | ||
| Type | runtimeType ) |
|
private |
在文件 BinaryOutputArchive.cs 第 4 行定义.
|
private |
在文件 BinaryOutputArchive.cs 第 7 行定义.
|
private |
在文件 BinaryOutputArchive.cs 第 9 行定义.
| bool Engine.Serialization.BinaryOutputArchive.Use7BitInts = true |
在文件 BinaryOutputArchive.cs 第 11 行定义.
|
get |
在文件 BinaryOutputArchive.cs 第 13 行定义.