示例#1
0
        public ReplicatedUpdateEntitySerializeInfo(ComponentSerializerManager instance,
                                                   IUpdateMessagePool updateMessagePool, string version)
        {
            _componentSerializerManager = instance;
            MessagePool = updateMessagePool;
            Statistics  = new SerializationStatistics("UpdateEntity");

            _version = version;
        }
示例#2
0
 public void Reset()
 {
     LastestExecuteUserCmdSeq = -1;
     if (_updateMessagePool == null)
     {
         _updateMessagePool = new UpdateMessagePool();
     }
     else
     {
         _updateMessagePool.Dispose();
     }
 }