Ejemplo n.º 1
0
 internal LoginServerMessage(TeraMessageReader reader)
     : base(reader)
 {
     reader.Skip(10);
     RaceGenderClass = new RaceGenderClass(reader.ReadInt32());
     Id = reader.ReadEntityId();
     reader.Skip(268);
     Name = reader.ReadTeraString();
 }
 internal SpawnUserServerMessage(TeraMessageReader reader)
     : base(reader)
 {
     reader.Skip(0x22);
     Id = reader.ReadEntityId();
     reader.Skip(18);
     RaceGenderClass=new RaceGenderClass(reader.ReadInt32());
     reader.Skip(208);
     Name = reader.ReadTeraString();
     GuildName = reader.ReadTeraString();
 }
 internal EachSkillResultServerMessage(TeraMessageReader reader)
     : base(reader)
 {
     reader.Skip(4);
     Source = reader.ReadEntityId();
     Target = reader.ReadEntityId();
     reader.Skip(4);
     SkillId = reader.ReadInt32() & 0x3FFFFFF;
     reader.Skip(16);
     Amount = reader.ReadInt32();
     SkillResultFlags = (SkillResultFlags)reader.ReadInt32();
     IsCritical = (reader.ReadByte() & 1) != 0;
 }