SetRules() public method

public SetRules ( BinaryReader packet ) : void
packet BinaryReader
return void
Beispiel #1
0
        private void OnCreateGame(BinaryReader packet)
        {
            Game.SetRules(packet);
            packet.ReadUnicode(20); //hostname
            packet.ReadUnicode(30); //password

            Game.AddPlayer(this);
            IsAuthentified = true;
        }