public void Test() { Serialize.IWriter writer = _invoker.Begin(MODULE_ID); writer.Write(HASH_CODE); writer.Write((int)Message.Test); _invoker.End(); }
public void SetPlayerData(KGPlayerData data) { Serialize.IWriter writer = _invoker.Begin(MODULE_ID); writer.Write(HASH_CODE); writer.Write((int)Message.SetPlayerData_KGPlayerData); Serialize.Utility.Write(writer, data, "data"); _invoker.End(); }
public void Test(FixedArray <Msg, ArrayLength_2> msg) { Serialize.IWriter writer = _invoker.Begin(MODULE_ID); writer.Write(HASH_CODE); writer.Write((int)Message.Test_Msg_A2); Serialize.Utility.DoWrite(writer, msg, "msg", Serialize.Utility.Write); _invoker.End(); }
public void Test(Msg msg) { Serialize.IWriter writer = _invoker.Begin(MODULE_ID); writer.Write(HASH_CODE); writer.Write((int)Message.Test_Msg); Serialize.Utility.Write(writer, msg, "msg"); _invoker.End(); }
public void Test(FixedArray <byte, ArrayLength_2> v) { Serialize.IWriter writer = _invoker.Begin(MODULE_ID); writer.Write(HASH_CODE); writer.Write((int)Message.Test_byte_A2); Serialize.Utility.DoWrite(writer, v, "v", Serialize.Utility.Write); _invoker.End(); }
public void Test(List <bool> v) { Serialize.IWriter writer = _invoker.Begin(MODULE_ID); writer.Write(HASH_CODE); writer.Write((int)Message.Test_bool_A); Serialize.Utility.DoWrite(writer, v, "v", Serialize.Utility.Write); _invoker.End(); }
public void Call_A(int a, int b) { Serialize.IWriter writer = _invoker.Begin(MODULE_ID); writer.Write(HASH_CODE); writer.Write((int)Message.Call_A_int_int); Serialize.Utility.Write(writer, a, "a"); Serialize.Utility.Write(writer, b, "b"); _invoker.End(); }
public void Test(FixedArray <List <float>, ArrayLength_2> v) { Serialize.IWriter writer = _invoker.Begin(MODULE_ID); writer.Write(HASH_CODE); writer.Write((int)Message.Test_float_A_A2); Serialize.Utility.DoWrite(writer, v, "v", (w1, v1, n1) => { return(Serialize.Utility.DoWrite(w1, v1, n1, Serialize.Utility.Write)); }); _invoker.End(); }
public void Test(List <List <int> > v) { Serialize.IWriter writer = _invoker.Begin(MODULE_ID); writer.Write(HASH_CODE); writer.Write((int)Message.Test_int_A_A); Serialize.Utility.DoWrite(writer, v, "v", (w1, v1, n1) => { return(Serialize.Utility.DoWrite(w1, v1, n1, Serialize.Utility.Write)); }); _invoker.End(); }
public KGPlayerData GetPlayerData() { Serialize.IWriter writer = _invoker.Begin(MODULE_ID); writer.Write(HASH_CODE); writer.Write((int)Message.GetPlayerData); KGPlayerData __ret__ = new KGPlayerData(); Serialize.Utility.Read(_invoker.End(), ref __ret__); return(__ret__); }
public string Test(string v) { Serialize.IWriter writer = _invoker.Begin(MODULE_ID); writer.Write(HASH_CODE); writer.Write((int)Message.Test_string); Serialize.Utility.Write(writer, v, "v"); string __ret__ = ""; Serialize.Utility.Read(_invoker.End(), ref __ret__); return(__ret__); }
public int Call_B(string str) { Serialize.IWriter writer = _invoker.Begin(MODULE_ID); writer.Write(HASH_CODE); writer.Write((int)Message.Call_B_string); Serialize.Utility.Write(writer, str, "str"); int __ret__ = 0; Serialize.Utility.Read(_invoker.End(), ref __ret__); return(__ret__); }
public float Test(float v) { Serialize.IWriter writer = _invoker.Begin(MODULE_ID); writer.Write(HASH_CODE); writer.Write((int)Message.Test_float); Serialize.Utility.Write(writer, v, "v"); float __ret__ = 0.0f; Serialize.Utility.Read(_invoker.End(), ref __ret__); return(__ret__); }
public byte Test(byte v) { Serialize.IWriter writer = _invoker.Begin(MODULE_ID); writer.Write(HASH_CODE); writer.Write((int)Message.Test_byte); Serialize.Utility.Write(writer, v, "v"); byte __ret__ = 0; Serialize.Utility.Read(_invoker.End(), ref __ret__); return(__ret__); }
public bool Test(bool v) { Serialize.IWriter writer = _invoker.Begin(MODULE_ID); writer.Write(HASH_CODE); writer.Write((int)Message.Test_bool); Serialize.Utility.Write(writer, v, "v"); bool __ret__ = false; Serialize.Utility.Read(_invoker.End(), ref __ret__); return(__ret__); }
public KGPlayerData TranslatePlayerData(KGPlayerData data) { Serialize.IWriter writer = _invoker.Begin(MODULE_ID); writer.Write(HASH_CODE); writer.Write((int)Message.TranslatePlayerData_KGPlayerData); Serialize.Utility.Write(writer, data, "data"); KGPlayerData __ret__ = new KGPlayerData(); Serialize.Utility.Read(_invoker.End(), ref __ret__); return(__ret__); }
public Msg Test(int a, int b) { Serialize.IWriter writer = _invoker.Begin(MODULE_ID); writer.Write(HASH_CODE); writer.Write((int)Message.Test_int_int); Serialize.Utility.Write(writer, a, "a"); Serialize.Utility.Write(writer, b, "b"); Msg __ret__ = new Msg(); Serialize.Utility.Read(_invoker.End(), ref __ret__); return(__ret__); }
public List <Msg> Test(int a, int b, int c) { Serialize.IWriter writer = _invoker.Begin(MODULE_ID); writer.Write(HASH_CODE); writer.Write((int)Message.Test_int_int_int); Serialize.Utility.Write(writer, a, "a"); Serialize.Utility.Write(writer, b, "b"); Serialize.Utility.Write(writer, c, "c"); List <Msg> __ret__ = new List <Msg>(); Serialize.Utility.DoRead(_invoker.End(), ref __ret__, "", Serialize.Utility.Read); return(__ret__); }
public FixedArray <Msg, ArrayLength_2> Test(int a, int b, int c, int d) { Serialize.IWriter writer = _invoker.Begin(MODULE_ID); writer.Write(HASH_CODE); writer.Write((int)Message.Test_int_int_int_int); Serialize.Utility.Write(writer, a, "a"); Serialize.Utility.Write(writer, b, "b"); Serialize.Utility.Write(writer, c, "c"); Serialize.Utility.Write(writer, d, "d"); FixedArray <Msg, ArrayLength_2> __ret__ = new FixedArray <Msg, ArrayLength_2>(); Serialize.Utility.DoRead(_invoker.End(), ref __ret__, "", Serialize.Utility.Read); return(__ret__); }