public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadShort();
     TeamId = reader.ReadSByte();
     Option = reader.ReadSByte();
     State = reader.ReadBoolean();
 }
示例#2
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     CellId = reader.ReadShort();
     ZoneSize = reader.ReadSByte();
     CellColor = reader.ReadInt();
     CellsType = reader.ReadSByte();
 }
示例#3
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     BindingPointCategory = reader.ReadSByte();
     BindingPointIndex = reader.ReadSByte();
     SubEntityLook = new EntityLook();
     SubEntityLook.Deserialize(reader);
 }
 public override void Deserialize(BigEndianReader reader)
 {
     AreaId = reader.ReadInt();
     AtLeastNbMount = reader.ReadSByte();
     AtLeastNbMachine = reader.ReadSByte();
     MaxPrice = reader.ReadInt();
 }
 public virtual void Deserialize(BigEndianReader reader)
 {
     TeamId = reader.ReadSByte();
     LeaderId = reader.ReadInt();
     TeamSide = reader.ReadSByte();
     TeamTypeId = reader.ReadSByte();
 }
 public virtual void Deserialize(BigEndianReader reader)
 {
     JobId = reader.ReadSByte();
     JobLevel = reader.ReadSByte();
     UserDefinedParams = reader.ReadSByte();
     MinSlots = reader.ReadSByte();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     PresetId = reader.ReadSByte();
     Code = reader.ReadSByte();
     var limit = reader.ReadUShort();
     UnlinkedPosition = new byte[limit];
     for (int i = 0; i < limit; i++)
     {
         UnlinkedPosition[i] = reader.ReadByte();
     }
 }
示例#8
0
文件: Preset.cs 项目: Riul/emulator
 public virtual void Deserialize(BigEndianReader reader)
 {
     PresetId = reader.ReadSByte();
     SymbolId = reader.ReadSByte();
     Mount = reader.ReadBoolean();
     var limit = reader.ReadUShort();
     Objects = new PresetItem[limit];
     for (int i = 0; i < limit; i++)
     {
         Objects[i] = new PresetItem();
         Objects[i].Deserialize(reader);
     }
 }
示例#9
0
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     Channels = new sbyte[limit];
     for (int i = 0; i < limit; i++)
     {
         Channels[i] = reader.ReadSByte();
     }
     limit = reader.ReadUShort();
     Disallowed = new sbyte[limit];
     for (int i = 0; i < limit; i++)
     {
         Disallowed[i] = reader.ReadSByte();
     }
 }
示例#10
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     Position = reader.ReadByte();
     SpellId = reader.ReadInt();
     SpellLevel = reader.ReadSByte();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     MemberId = reader.ReadInt();
     Rank = reader.ReadShort();
     ExperienceGivenPercent = reader.ReadSByte();
     Rights = reader.ReadUInt();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     CasterId = reader.ReadInt();
     TargetCellId = reader.ReadShort();
     SpellId = reader.ReadShort();
     SpellLevel = reader.ReadSByte();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     PaymentType = reader.ReadSByte();
     BAdd = reader.ReadBoolean();
     ObjectToMoveId = reader.ReadInt();
     Quantity = reader.ReadInt();
 }
示例#14
0
 public override void Deserialize(BigEndianReader reader)
 {
     Channel = reader.ReadSByte();
     Content = reader.ReadUTF();
     Timestamp = reader.ReadInt();
     Fingerprint = reader.ReadUTF();
 }
示例#15
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     PlayerState = reader.ReadSByte();
     LastConnection = reader.ReadInt();
     AchievementPoints = reader.ReadInt();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     DeathState = reader.ReadSByte();
     DeathCount = reader.ReadShort();
     DeathMaxLevel = reader.ReadByte();
 }
示例#17
0
 public override void Deserialize(BigEndianReader reader)
 {
     MountUid = reader.ReadDouble();
     MountLocation = reader.ReadSByte();
     MountFoodUid = reader.ReadInt();
     Quantity = reader.ReadInt();
 }
示例#18
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     ModificationType = reader.ReadSByte();
     SpellId = reader.ReadShort();
     Value = new CharacterBaseCharacteristic();
     Value.Deserialize(reader);
 }
 public virtual void Deserialize(BigEndianReader reader)
 {
     byte flag1 = reader.ReadByte();
     IsEntered = BooleanByteWrapper.GetFlag(flag1, 0);
     IsInRoom = BooleanByteWrapper.GetFlag(flag1, 1);
     AreaId = reader.ReadShort();
     AreaAlignment = reader.ReadSByte();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     PresetId = reader.ReadSByte();
     SymbolId = reader.ReadSByte();
     var limit = reader.ReadUShort();
     ItemsPositions = new byte[limit];
     for (int i = 0; i < limit; i++)
     {
         ItemsPositions[i] = reader.ReadByte();
     }
     limit = reader.ReadUShort();
     ItemsUids = new int[limit];
     for (int i = 0; i < limit; i++)
     {
         ItemsUids[i] = reader.ReadInt();
     }
 }
示例#21
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     PlayerId = reader.ReadInt();
     PlayerName = reader.ReadUTF();
     Breed = reader.ReadSByte();
     Sex = reader.ReadBoolean();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     TargetId = reader.ReadInt();
     DestinationCellId = reader.ReadShort();
     Critical = reader.ReadSByte();
     SilentCast = reader.ReadBoolean();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     Level = reader.ReadShort();
     AlignmentInfos = new ActorAlignmentInformations();
     AlignmentInfos.Deserialize(reader);
     Breed = reader.ReadSByte();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     TeamId = reader.ReadSByte();
     Alive = reader.ReadBoolean();
     Stats = Types.ProtocolTypeManager.GetInstance<GameFightMinimalStats>(reader.ReadShort());
     Stats.Deserialize(reader);
 }
示例#25
0
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     EmoteIds = new sbyte[limit];
     for (int i = 0; i < limit; i++)
     {
         EmoteIds[i] = reader.ReadSByte();
     }
 }
示例#26
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     Id = reader.ReadInt();
     var limit = reader.ReadUShort();
     Steps = new sbyte[limit];
     for (int i = 0; i < limit; i++)
     {
         Steps[i] = reader.ReadSByte();
     }
 }
 public override void Deserialize(BigEndianReader reader)
 {
     NbPaddockMax = reader.ReadSByte();
     var limit = reader.ReadUShort();
     PaddocksInformations = new PaddockContentInformations[limit];
     for (int i = 0; i < limit; i++)
     {
         PaddocksInformations[i] = new PaddockContentInformations();
         PaddocksInformations[i].Deserialize(reader);
     }
 }
示例#28
0
 public override void Deserialize(BigEndianReader reader)
 {
     MsgType = reader.ReadSByte();
     MsgId = reader.ReadShort();
     var limit = reader.ReadUShort();
     Parameters = new string[limit];
     for (int i = 0; i < limit; i++)
     {
         Parameters[i] = reader.ReadUTF();
     }
 }
示例#29
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     Type = reader.ReadSByte();
     var limit = reader.ReadUShort();
     Coords = new MapCoordinatesExtended[limit];
     for (int i = 0; i < limit; i++)
     {
         Coords[i] = new MapCoordinatesExtended();
         Coords[i].Deserialize(reader);
     }
 }
示例#30
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     JobId = reader.ReadSByte();
     var limit = reader.ReadUShort();
     Skills = new SkillActionDescription[limit];
     for (int i = 0; i < limit; i++)
     {
         Skills[i] = Types.ProtocolTypeManager.GetInstance<SkillActionDescription>(reader.ReadShort());
         Skills[i].Deserialize(reader);
     }
 }