Esempio n. 1
0
 protected override void ReadData(Lidgren.Network.NetIncomingMessage Message)
 {
     p = Game.FindPlayer(Message.ReadInt32());
     //TODO: nrodine3, add the player instead. Possibly merge with PlayerAdd message...?
     if (p != null) {
         p.Read(Message);
     }
 }
Esempio n. 2
0
        internal void Read(Lidgren.Network.NetIncomingMessage Message)
        {
            xpos = Message.ReadDouble();
            ypos = Message.ReadDouble();
            zpos = Message.ReadDouble();

            PlayerID = Message.ReadInt32();
        }