Example #1
0
 public override void Read(ByteArray by)
 {
     base.Read(by);
     unit_idx.Read(by);
     pos.Read(by);
     dir   = (eDirection)by.ReadByte();
     flags = by.ReadUInt();
 }
Example #2
0
 public override void Read(ByteArray by)
 {
     base.Read(by);
     scene_type        = by.ReadUInt();
     scene_instance_id = by.ReadLong();
     pos.Read(by);
     dir = (eDirection)by.ReadByte();
 }
Example #3
0
 public override void Read(ByteArray by)
 {
     base.Read(by);
     unit_idx.Read(by);
     pos.Read(by);
     dir       = (eDirection)by.ReadByte();
     flags     = by.ReadUInt();
     unit_info = unit.GetUnitInfo(unit_idx.type);
     if (unit_info != null)
     {
         unit_info.Read(by);
     }
 }
Example #4
0
 public override void Read(ByteArray by)
 {
     base.Read(by);
     pos.Read(by);
     dir = (eDirection)by.ReadByte();
 }