Пример #1
0
        private void Handle(NetworkPacket packet)
        {
            NetworkCommand command = NetworkCommandFactory.GetCommand(packet.mHead.mType);

            if (command != null)
            {
                command.HandlePacket(packet);
            }
        }