예제 #1
0
        public void Commit()
        {
            PreparePacketForCommit();

            if (errorCallbacks.Count == 0)
            {
                errorCallbacks.Add(null);
                commitHandler.CommitPacket(packet);
            }

            GamestatePacketManager.ReleasePacket(packet);
            packet = null;

            Release();
        }
예제 #2
0
 void IGamestateCommitHandler.CommitPacket(GamestatePacket packet)
 {
     gamestateTracker.CommitPacket(packet);
 }