AngryTanks.Server.Player.GetMsgScore C# (CSharp) Méthode

GetMsgScore() public méthode

public GetMsgScore ( ) : NetOutgoingMessage
Résultat Lidgren.Network.NetOutgoingMessage
        public NetOutgoingMessage GetMsgScore()
        {
            NetOutgoingMessage scoreMessage = gameKeeper.Server.CreateMessage();

            MsgScorePacket scorePacket = new MsgScorePacket(this.Slot, this.Score);

            scoreMessage.Write((Byte)scorePacket.MsgType);
            scorePacket.Write(scoreMessage);

            return scoreMessage;
        }