public ReplicatedUpdateEntitySerializeInfo(ComponentSerializerManager instance, IUpdateMessagePool updateMessagePool, string version) { _componentSerializerManager = instance; MessagePool = updateMessagePool; Statistics = new SerializationStatistics("UpdateEntity"); _version = version; }
public void Reset() { LastestExecuteUserCmdSeq = -1; if (_updateMessagePool == null) { _updateMessagePool = new UpdateMessagePool(); } else { _updateMessagePool.Dispose(); } }