public void Commit() { PreparePacketForCommit(); if (errorCallbacks.Count == 0) { errorCallbacks.Add(null); commitHandler.CommitPacket(packet); } GamestatePacketManager.ReleasePacket(packet); packet = null; Release(); }
void IGamestateCommitHandler.CommitPacket(GamestatePacket packet) { gamestateTracker.CommitPacket(packet); }