コード例 #1
0
        public void ReadObject(Lidgren.Network.NetIncomingMessage msg)
        {
            BulletFired    = msg.ReadFloat();
            BulletHit      = msg.ReadFloat();
            MineFired      = msg.ReadFloat();
            MineHit        = msg.ReadFloat();
            HookFired      = msg.ReadFloat();
            HookHit        = msg.ReadFloat();
            Healed         = msg.ReadFloat();
            GoldEarned     = msg.ReadFloat();
            DamageTaken    = msg.ReadFloat();
            DeadTime       = msg.ReadFloat();
            time           = msg.ReadFloat();
            PoweredActions = msg.ReadInt32();

            Actions = msg.ReadSpecialActions(Owner.SceneMgr);
            Stats   = msg.ReadStats();
        }