示例#1
0
 public void read(BinaryReader reader)
 {
     Id       = reader.ReadInt32();
     Loc      = Loc.read(reader);
     Real_Loc = Real_Loc.read(reader);
     Item     = TactileLibrary.Item_Data.read(reader);
     State    = (Siege_Engine_State)reader.ReadByte();
 }
 public void read(BinaryReader reader)
 {
     Id         = reader.ReadInt32();
     Loc        = Loc.read(reader);
     Real_Loc   = Real_Loc.read(reader);
     Event_Name = reader.ReadString();
     MaxHp      = reader.ReadInt32();
     Hp         = reader.ReadInt32();
     if (!Global.LOADED_VERSION.older_than(0, 6, 4, 1)) // This is a suspend load, so this isn't needed for public release //Debug
     {
         EnemyTeams.read(reader);
     }
 }
示例#3
0
 public void read(BinaryReader reader)
 {
     Loc      = Loc.read(reader);
     Real_Loc = Real_Loc.read(reader);
     Facing   = reader.ReadInt32();
     Frame    = reader.ReadInt32();
     if (Global.LOADED_VERSION.older_than(0, 6, 5, 0))
     {
         Directions dir8LastFrame = (Directions)reader.ReadInt32();
         int        moveTimer     = reader.ReadInt32();
     }
     Instant_Movement = reader.ReadBoolean();
     Target_Timer     = reader.ReadInt32();
 }
示例#4
0
        public void read(BinaryReader reader)
        {
            Id       = reader.ReadInt32();
            Loc      = Loc.read(reader);
            Real_Loc = Real_Loc.read(reader);
            Facing   = reader.ReadInt32();
            Frame    = reader.ReadInt32();

            Team  = reader.ReadInt32();
            MaxHp = reader.ReadInt32();
            Hp    = reader.ReadInt32();
            Def   = reader.ReadInt32();
            if (!Global.LOADED_VERSION.older_than(0, 6, 2, 1)) // This is a suspend load, so this isn't needed for public release //Debug
            {
                NoDegrading = reader.ReadBoolean();
            }
        }