コード例 #1
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     Name = reader.ReadUTF();
     Status = new PlayerStatus();
     Status.Deserialize(reader);
 }
コード例 #2
0
 public override void Deserialize(BigEndianReader reader)
 {
     Name = reader.ReadUTF();
     WorldX = reader.ReadShort();
     WorldY = reader.ReadShort();
     Sterilizator = reader.ReadUTF();
 }
コード例 #3
0
 public override void Deserialize(BigEndianReader reader)
 {
     byte flag1 = reader.ReadByte();
     Success = BooleanByteWrapper.GetFlag(flag1, 0);
     Session = BooleanByteWrapper.GetFlag(flag1, 1);
     Name = reader.ReadUTF();
 }
コード例 #4
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     FirstNameId = reader.ReadShort();
     LastNameId = reader.ReadShort();
     Level = reader.ReadShort();
 }
コード例 #5
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     TargetId = reader.ReadInt();
     StartCellId = reader.ReadShort();
     EndCellId = reader.ReadShort();
 }
コード例 #6
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadInt();
     FightType = reader.ReadSByte();
     var limit = reader.ReadUShort();
     FightTeams = new FightTeamInformations[limit];
     for (int i = 0; i < limit; i++)
     {
         FightTeams[i] = new FightTeamInformations();
         FightTeams[i].Deserialize(reader);
     }
     limit = reader.ReadUShort();
     FightTeamsPositions = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         FightTeamsPositions[i] = reader.ReadShort();
     }
     limit = reader.ReadUShort();
     FightTeamsOptions = new FightOptionsInformations[limit];
     for (int i = 0; i < limit; i++)
     {
         FightTeamsOptions[i] = new FightOptionsInformations();
         FightTeamsOptions[i].Deserialize(reader);
     }
 }
コード例 #7
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     NpcId = reader.ReadShort();
     Sex = reader.ReadBoolean();
     SpecialArtworkId = reader.ReadShort();
 }
コード例 #8
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     TeamId = reader.ReadSByte();
     LeaderId = reader.ReadInt();
     TeamSide = reader.ReadSByte();
     TeamTypeId = reader.ReadSByte();
 }
コード例 #9
0
 public override void Deserialize(BigEndianReader reader)
 {
     ExperienceCharacter = reader.ReadDouble();
     ExperienceMount = reader.ReadDouble();
     ExperienceGuild = reader.ReadDouble();
     ExperienceIncarnation = reader.ReadDouble();
 }
コード例 #10
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     ModificationType = reader.ReadSByte();
     SpellId = reader.ReadShort();
     Value = new CharacterBaseCharacteristic();
     Value.Deserialize(reader);
 }
コード例 #11
0
 public override void Deserialize(BigEndianReader reader)
 {
     MsgId = reader.ReadShort();
     TimeStamp = reader.ReadUInt();
     Owner = reader.ReadUTF();
     ObjectGenericId = reader.ReadUInt();
 }
コード例 #12
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     TargetId = reader.ReadInt();
     EntityLook = new EntityLook();
     EntityLook.Deserialize(reader);
 }
コード例 #13
0
 public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadShort();
     TeamId = reader.ReadSByte();
     Option = reader.ReadSByte();
     State = reader.ReadBoolean();
 }
コード例 #14
0
ファイル: ChallengeInfoMessage.cs プロジェクト: Riul/emulator
 public override void Deserialize(BigEndianReader reader)
 {
     ChallengeId = reader.ReadShort();
     TargetId = reader.ReadInt();
     XpBonus = reader.ReadInt();
     DropBonus = reader.ReadInt();
 }
コード例 #15
0
ファイル: GuildInvitedMessage.cs プロジェクト: Riul/emulator
 public override void Deserialize(BigEndianReader reader)
 {
     RecruterId = reader.ReadInt();
     RecruterName = reader.ReadUTF();
     GuildInfo = new BasicGuildInformations();
     GuildInfo.Deserialize(reader);
 }
コード例 #16
0
 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)
 {
     base.Deserialize(reader);
     TargetId = reader.ReadInt();
     Loss = reader.ReadShort();
     PermanentDamages = reader.ReadShort();
 }
コード例 #18
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     @base = reader.ReadShort();
     ObjectsAndMountBonus = reader.ReadShort();
     AlignGiftBonus = reader.ReadShort();
     ContextModif = reader.ReadShort();
 }
コード例 #19
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     TargetId = reader.ReadInt();
     StateId = reader.ReadShort();
     Active = reader.ReadBoolean();
 }
コード例 #20
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     ActionId = reader.ReadShort();
     SourceId = reader.ReadInt();
     Effect = Types.ProtocolTypeManager.GetInstance<AbstractFightDispellableEffect>(reader.ReadShort());
     Effect.Deserialize(reader);
 }
コード例 #21
0
ファイル: ChatServerMessage.cs プロジェクト: Riul/emulator
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     SenderId = reader.ReadInt();
     SenderName = reader.ReadUTF();
     SenderAccountId = reader.ReadInt();
 }
コード例 #22
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     HumanoidInfo = Types.ProtocolTypeManager.GetInstance<HumanInformations>(reader.ReadShort());
     HumanoidInfo.Deserialize(reader);
     AccountId = reader.ReadInt();
 }
コード例 #23
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     JobId = reader.ReadSByte();
     JobLevel = reader.ReadSByte();
     UserDefinedParams = reader.ReadSByte();
     MinSlots = reader.ReadSByte();
 }
コード例 #24
0
ファイル: GuildJoinedMessage.cs プロジェクト: Riul/emulator
 public override void Deserialize(BigEndianReader reader)
 {
     GuildInfo = new GuildInformations();
     GuildInfo.Deserialize(reader);
     MemberRights = reader.ReadUInt();
     Enabled = reader.ReadBoolean();
 }
コード例 #25
0
 public override void Deserialize(BigEndianReader reader)
 {
     AccountId = reader.ReadInt();
     PlayerId = reader.ReadInt();
     Status = Types.ProtocolTypeManager.GetInstance<PlayerStatus>(reader.ReadShort());
     Status.Deserialize(reader);
 }
コード例 #26
0
 public override void Deserialize(BigEndianReader reader)
 {
     AreaId = reader.ReadInt();
     AtLeastNbMount = reader.ReadSByte();
     AtLeastNbMachine = reader.ReadSByte();
     MaxPrice = reader.ReadInt();
 }
コード例 #27
0
ファイル: EntityLook.cs プロジェクト: Riul/emulator
 public virtual void Deserialize(BigEndianReader reader)
 {
     BonesId = reader.ReadShort();
     var limit = reader.ReadUShort();
     Skins = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         Skins[i] = reader.ReadShort();
     }
     limit = reader.ReadUShort();
     IndexedColors = new int[limit];
     for (int i = 0; i < limit; i++)
     {
         IndexedColors[i] = reader.ReadInt();
     }
     limit = reader.ReadUShort();
     Scales = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         Scales[i] = reader.ReadShort();
     }
     limit = reader.ReadUShort();
     Subentities = new SubEntity[limit];
     for (int i = 0; i < limit; i++)
     {
         Subentities[i] = new SubEntity();
         Subentities[i].Deserialize(reader);
     }
 }
コード例 #28
0
ファイル: ObjectEffectDuration.cs プロジェクト: Riul/emulator
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     Days = reader.ReadShort();
     Hours = reader.ReadShort();
     Minutes = reader.ReadShort();
 }
コード例 #29
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     MarkId = reader.ReadShort();
     TriggeringCharacterId = reader.ReadInt();
     TriggeredSpellId = reader.ReadShort();
 }
コード例 #30
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     var limit = reader.ReadUShort();
     CharactersToRecolor = new CharacterToRecolorInformation[limit];
     for (int i = 0; i < limit; i++)
     {
         CharactersToRecolor[i] = new CharacterToRecolorInformation();
         CharactersToRecolor[i].Deserialize(reader);
     }
     limit = reader.ReadUShort();
     CharactersToRename = new int[limit];
     for (int i = 0; i < limit; i++)
     {
         CharactersToRename[i] = reader.ReadInt();
     }
     limit = reader.ReadUShort();
     UnusableCharacters = new int[limit];
     for (int i = 0; i < limit; i++)
     {
         UnusableCharacters[i] = reader.ReadInt();
     }
     limit = reader.ReadUShort();
     CharactersToRelook = new CharacterToRelookInformation[limit];
     for (int i = 0; i < limit; i++)
     {
         CharactersToRelook[i] = new CharacterToRelookInformation();
         CharactersToRelook[i].Deserialize(reader);
     }
 }