コード例 #1
0
        private void Handle(flags_spacket msg)
        {
            if (msg.tractor != 0)
            {
                l.Debug(msg.ToString() + " (TODO: Tractor)");
            }
            Player player = galaxy.GetPlayer(msg.pnum);

            player.Tractor = msg.tractor;
            player.Flags   = (PlayerFlags)msg.flags;
        }
コード例 #2
0
 private void Handle(flags_spacket msg)
 {
     if (msg.tractor != 0)
     {
         l.Debug(msg.ToString() + " (TODO: Tractor)");
     }
     Player player = galaxy.GetPlayer(msg.pnum);
     player.Tractor = msg.tractor;
     player.Flags = (PlayerFlags)msg.flags;
 }