public override void Serialize(IDataWriter writer)
 {
     byte flag1 = 0;
     flag1 = BooleanByteWrapper.SetFlag(flag1, 0, enabled);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 1, abandonnedPaddock);
     writer.WriteByte(flag1);
     writer.WriteByte(level);
     writer.WriteDouble(expLevelFloor);
     writer.WriteDouble(experience);
     writer.WriteDouble(expNextLevelFloor);
     writer.WriteInt(creationDate);
 }
 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteSByte(deathState);
     writer.WriteShort(deathCount);
     writer.WriteByte(deathMaxLevel);
 }
 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteByte(level);
     guildInfo.Serialize(writer);
     writer.WriteInt(experienceForGuild);
 }
 public override void Serialize(IDataWriter writer)
 {
     byte flag1 = 0;
     flag1 = BooleanByteWrapper.SetFlag(flag1, 0, enable);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 1, invisible);
     writer.WriteByte(flag1);
 }
 public override void Serialize(IDataWriter writer)
 {
     byte flag1 = 0;
     flag1 = BooleanByteWrapper.SetFlag(flag1, 0, canChangeName);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 1, canChangeEmblem);
     writer.WriteByte(flag1);
 }
Esempio n. 6
0
 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteByte(position);
     writer.WriteInt(spellId);
     writer.WriteSByte(spellLevel);
 }
 public override void Serialize(IDataWriter writer)
 {
     byte flag1 = 0;
     flag1 = BooleanByteWrapper.SetFlag(flag1, 0, success);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 1, session);
     writer.WriteByte(flag1);
     writer.WriteUTF(name);
 }
 public override void Serialize(IDataWriter writer)
 {
     byte flag1 = 0;
     flag1 = BooleanByteWrapper.SetFlag(flag1, 0, success);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 1, automaticAction);
     writer.WriteByte(flag1);
     writer.WriteInt(actionId);
 }
 public virtual void Serialize(IDataWriter writer)
 {
     byte flag1 = 0;
     flag1 = BooleanByteWrapper.SetFlag(flag1, 0, isEntered);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 1, isInRoom);
     writer.WriteByte(flag1);
     writer.WriteShort(areaId);
     writer.WriteSByte(areaAlignment);
 }
 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteInt(id);
     writer.WriteInt(lifePoints);
     writer.WriteInt(maxLifePoints);
     writer.WriteShort(prospecting);
     writer.WriteByte(regenRate);
 }
 public virtual void Serialize(IDataWriter writer)
 {
     byte flag1 = 0;
     flag1 = BooleanByteWrapper.SetFlag(flag1, 0, isSecret);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 1, isRestrictedToPartyOnly);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 2, isClosed);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 3, isAskingForHelp);
     writer.WriteByte(flag1);
 }
 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteShort(firstNameId);
     writer.WriteShort(lastNameId);
     guildIdentity.Serialize(writer);
     writer.WriteByte(guildLevel);
     writer.WriteInt(taxCollectorAttack);
 }
 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteShort(firstNameId);
     writer.WriteShort(lastNameId);
     writer.WriteByte(level);
     writer.WriteInt(guildId);
     writer.WriteInt(uid);
 }
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteSByte(presetId);
     writer.WriteSByte(code);
     writer.WriteUShort((ushort)unlinkedPosition.Length);
     foreach (var entry in unlinkedPosition)
     {
          writer.WriteByte(entry);
     }
 }
 public virtual void Serialize(IDataWriter writer)
 {
     byte flag1 = 0;
     flag1 = BooleanByteWrapper.SetFlag(flag1, 0, sex);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 1, alive);
     writer.WriteByte(flag1);
     writer.WriteInt(id);
     writer.WriteUTF(name);
     writer.WriteShort(level);
     writer.WriteSByte(breed);
 }
 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     byte flag1 = 0;
     flag1 = BooleanByteWrapper.SetFlag(flag1, 0, inFight);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 1, followSpouse);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 2, pvpEnabled);
     writer.WriteByte(flag1);
     writer.WriteInt(mapId);
     writer.WriteShort(subAreaId);
 }
Esempio n. 17
0
 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteByte(grade);
     writer.WriteUShort(minHonorForGrade);
     writer.WriteUShort(maxHonorForGrade);
     writer.WriteUShort(honor);
     writer.WriteShort(honorDelta);
     writer.WriteUShort(dishonor);
     writer.WriteShort(dishonorDelta);
 }
 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteByte(level);
     writer.WriteUShort((ushort)additional.Length);
     foreach (var entry in additional)
     {
          writer.WriteShort(entry.TypeId);
          entry.Serialize(writer);
     }
 }
 public override void Serialize(IDataWriter writer)
 {
     byte flag1 = 0;
     flag1 = BooleanByteWrapper.SetFlag(flag1, 0, canBeCancelled);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 1, canSayReady);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 2, isSpectator);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 3, isFightStarted);
     writer.WriteByte(flag1);
     writer.WriteInt(timeMaxBeforeFightStart);
     writer.WriteSByte(fightType);
 }
 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     byte flag1 = 0;
     flag1 = BooleanByteWrapper.SetFlag(flag1, 0, hasFriend);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 1, hasGuildMember);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 2, hasGroupMember);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 3, hasMyTaxCollector);
     writer.WriteByte(flag1);
     writer.WriteSByte(teamMembersCount);
     writer.WriteInt(meanLevel);
 }
 public override void Serialize(IDataWriter writer)
 {
     byte flag1 = 0;
     flag1 = BooleanByteWrapper.SetFlag(flag1, 0, hasRights);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 1, wasAlreadyConnected);
     writer.WriteByte(flag1);
     writer.WriteUTF(login);
     writer.WriteUTF(nickname);
     writer.WriteInt(accountId);
     writer.WriteSByte(communityId);
     writer.WriteUTF(secretQuestion);
     writer.WriteDouble(subscriptionEndDate);
     writer.WriteDouble(accountCreation);
 }
Esempio n. 22
0
 public virtual void Serialize(IDataWriter writer)
 {
     byte flag1 = 0;
     flag1 = BooleanByteWrapper.SetFlag(flag1, 0, isOnSale);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 1, isSaleLocked);
     writer.WriteByte(flag1);
     writer.WriteInt(houseId);
     writer.WriteUShort((ushort)doorsOnMap.Length);
     foreach (var entry in doorsOnMap)
     {
          writer.WriteInt(entry);
     }
     writer.WriteUTF(ownerName);
     writer.WriteShort(modelId);
 }
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteSByte(presetId);
     writer.WriteSByte(symbolId);
     writer.WriteUShort((ushort)itemsPositions.Length);
     foreach (var entry in itemsPositions)
     {
          writer.WriteByte(entry);
     }
     writer.WriteUShort((ushort)itemsUids.Length);
     foreach (var entry in itemsUids)
     {
          writer.WriteInt(entry);
     }
 }
Esempio n. 24
0
 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteByte(position);
     writer.WriteInt(objGid);
     writer.WriteInt(objUid);
 }
 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteInt(lifePoints);
     writer.WriteInt(maxLifePoints);
     writer.WriteShort(prospecting);
     writer.WriteByte(regenRate);
     writer.WriteShort(initiative);
     writer.WriteBoolean(pvpEnabled);
     writer.WriteSByte(alignmentSide);
     writer.WriteShort(worldX);
     writer.WriteShort(worldY);
     writer.WriteInt(mapId);
     writer.WriteShort(subAreaId);
 }
Esempio n. 26
0
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteVarInt(objectUID);
     writer.WriteByte(position);
     writer.WriteVarInt(quantity);
 }
 public void Serialize(IDataWriter writer)
 {
     writer.WriteByte(RequestId);
     writer.WriteByte(ContactType);
 }
Esempio n. 28
0
 public void Serialize(IDataWriter writer)
 {
     writer.WriteByte(questLevel);
     writer.WriteSByte(questType);
 }
 public void Serialize(IDataWriter writer)
 {
     writer.WriteByte((Byte)Reason);
 }
Esempio n. 30
0
 public void Serialize(IDataWriter writer)
 {
     writer.WriteVarInt(MountId);
     writer.WriteByte(ReactionType);
 }
Esempio n. 31
0
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteByte((byte)this.exchangeType);
 }
Esempio n. 32
0
 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteByte(NbMembers);
     writer.WriteInt(JoinDate);
 }
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteByte(Reason);
 }
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteByte(m_alignmentRank);
     writer.WriteBoolean(m_verbose);
 }
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteByte(m_state);
     writer.WriteInt(m_phenixMapId);
 }
Esempio n. 36
0
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteByte(m_resultCode);
     writer.WriteVarShort(m_smileyId);
 }
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteVarUhShort(m_subAreaId);
     writer.WriteByte(m_reason);
 }
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteByte(requestId);
     writer.WriteSByte(contactType);
 }
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteInt(livingUID);
     writer.WriteByte(livingPosition);
 }
 public void Serialize(IDataWriter writer)
 {
     writer.WriteByte(Type);
 }
Esempio n. 41
0
 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteByte(m_direction);
     writer.WriteVarShort(m_poiLabelId);
 }
 public new void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteByte((Byte)ErrorCode);
 }
Esempio n. 43
0
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteByte(StatusId);
 }
 public void Serialize(IDataWriter writer)
 {
     writer.WriteByte(PresetId);
     writer.WriteByte(Code);
 }
Esempio n. 45
0
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteByte(EmoteId);
 }
Esempio n. 46
0
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteUTF(ObjectId);
     writer.WriteByte(State);
 }
Esempio n. 47
0
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteInt(livingUID);
     writer.WriteByte(livingPosition);
     writer.WriteInt(skinId);
 }
 public void Serialize(IDataWriter writer)
 {
     writer.WriteByte(QuestType);
     writer.WriteByte(Result);
 }
Esempio n. 49
0
 public void Serialize(IDataWriter writer)
 {
     writer.WriteByte(Day);
     writer.WriteByte(Month);
     writer.WriteShort((Int16)Year);
 }
 public void Serialize(IDataWriter writer)
 {
     writer.WriteDouble(MapId);
     writer.WriteByte(State);
 }
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteByte(newLevel);
 }
Esempio n. 52
0
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteInt(m_spellId);
     writer.WriteByte(m_cooldown);
 }
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteByte(regenRate);
 }
 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteVarShort((int)id);
     writer.WriteByte(finishedlevel);
 }
Esempio n. 55
0
 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteByte(m_powerLevel);
 }
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteByte((byte)this.result);
 }
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteInt(objectUID);
     writer.WriteByte(position);
 }
Esempio n. 58
0
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteByte(m_errorType);
 }
 public void Serialize(IDataWriter writer)
 {
     writer.WriteByte(Level);
     writer.WriteUTF(Message);
 }
Esempio n. 60
0
 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteByte((byte)this.teamId);
     writer.WriteUTF(this.partyName);
 }