AngryTanks.Server.Player.GetMsgScore C# (CSharp) Method

GetMsgScore() public method

public GetMsgScore ( ) : NetOutgoingMessage
return 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;
        }