Exemplo n.º 1
0
        public ReplicatedUpdateEntitySerializeInfo(ComponentSerializerManager instance,
                                                   ServerUpdateMessagePool serverUpdateMessagePool, string version, int sendCount = 3)
        {
            _componentSerializerManager = instance;
            MessagePool = serverUpdateMessagePool;
            Statistics  = new SerializationStatistics("UpdateEntity");

            _version   = version;
            _sendCount = sendCount;
        }
 public void Reset()
 {
     LastestExecuteUserCmdSeq = -1;
     if (value == null)
     {
         value = new ServerUpdateMessagePool();
     }
     else
     {
         value.Dispose();
     }
 }