示例#1
0
 public static void Main()
 {
     byte[] bytes = Pomelo.Protobuf.Encoder.encodeUInt32(112321);
     Console.WriteLine(Pomelo.Protobuf.Decoder.decodeUInt32(bytes));
     CodecTest.Run();
     ProtobufTest.Run();
     TransportTest.Run();
 }
示例#2
0
 internal override Marshaller <T> CreateStreamMarshaller <T>() => ProtobufTest.CreateStreamMarshaller <T>();
示例#3
0
 void Awake()
 {
     GameLogic.StartGame();
     m_instance = this;
 }
示例#4
0
 internal override Marshaller <T> CreateDefaultMarshaller <T>() => ProtobufTest.CreateDefaultMarshaller <T>();
示例#5
0
 public static void Main1()
 {
     CodecTest.Run();
     ProtobufTest.Run();
 }