Exemple #1
0
 public virtual void Serialize(BigEndianWriter writer)
 {
     writer.WriteInt(contextualId);
     look.Serialize(writer);
     writer.WriteShort(disposition.TypeId);
     disposition.Serialize(writer);
 }
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteInt(requestId);
     writer.WriteUTF(playerName);
     writer.WriteInt(playerId);
     look.Serialize(writer);
 }
Exemple #3
0
 public override void Serialize(IWriter writer)
 {
     writer.WriteVarInt((int)requestId);
     writer.WriteUTF(playerName);
     writer.WriteVarLong(playerId);
     look.Serialize(writer);
 }
Exemple #4
0
 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteDouble(contextualId);
     look.Serialize(writer);
     writer.WriteShort(disposition.TypeId);
     disposition.Serialize(writer);
 }
Exemple #5
0
        public virtual void Serialize(IDataWriter writer)
        {
            writer.WriteInt(uniqueId);
            writer.WriteVarShort(firtNameId);
            writer.WriteVarShort(lastNameId);
            additionalInfos.Serialize(writer);
            writer.WriteShort(worldX);
            writer.WriteShort(worldY);
            writer.WriteVarShort(subAreaId);
            writer.WriteSByte(state);
            look.Serialize(writer);
            var complements_before = writer.Position;
            var complements_count  = 0;

            writer.WriteUShort(0);
            foreach (var entry in complements)
            {
                writer.WriteShort(entry.TypeId);
                entry.Serialize(writer);
                complements_count++;
            }
            var complements_after = writer.Position;

            writer.Seek((int)complements_before);
            writer.WriteUShort((ushort)complements_count);
            writer.Seek((int)complements_after);
        }
 public virtual void Serialize(ICustomDataOutput writer)
 {
     writer.WriteInt(contextualId);
     look.Serialize(writer);
     writer.WriteShort(disposition.TypeId);
     disposition.Serialize(writer);
 }
 public override void Serialize(ICustomDataOutput writer)
 {
     writer.WriteVarUhInt(requestId);
     writer.WriteUTF(playerName);
     writer.WriteVarUhInt(playerId);
     look.Serialize(writer);
 }
Exemple #8
0
 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteVarInt(requestId);
     writer.WriteUTF(playerName);
     writer.WriteVarInt(playerId);
     look.Serialize(writer);
 }
        public virtual void Serialize(IDataWriter writer)
        {
            writer.WriteVarLong(guestId);
            writer.WriteVarLong(hostId);
            writer.WriteUTF(name);
            guestLook.Serialize(writer);
            writer.WriteSByte(breed);
            writer.WriteBoolean(sex);
            writer.WriteShort(status.TypeId);
            status.Serialize(writer);
            var companions_before = writer.Position;
            var companions_count  = 0;

            writer.WriteShort(0);
            foreach (var entry in companions)
            {
                entry.Serialize(writer);
                companions_count++;
            }
            var companions_after = writer.Position;

            writer.Seek((int)companions_before);
            writer.WriteShort((short)companions_count);
            writer.Seek((int)companions_after);
        }
 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteInt(guestId);
     writer.WriteInt(hostId);
     writer.WriteUTF(name);
     guestLook.Serialize(writer);
 }
 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteInt(guestId);
     writer.WriteInt(hostId);
     writer.WriteUTF(name);
     guestLook.Serialize(writer);
     writer.WriteSByte(breed);
     writer.WriteBoolean(sex);
 }
 public override void Serialize(ICustomDataOutput writer)
 {
     playerInfo.Serialize(writer);
     writer.WriteUShort((ushort)jobInfoList.Count());
     foreach (var entry in jobInfoList)
     {
         entry.Serialize(writer);
     }
     playerLook.Serialize(writer);
 }
 public void Serialize(IDataWriter writer)
 {
     playerInfo.Serialize(writer);
     writer.WriteUShort((ushort)jobInfoList.Length);
     foreach (var entry in jobInfoList)
     {
         entry.Serialize(writer);
     }
     playerLook.Serialize(writer);
 }
 public override void Serialize(IWriter writer)
 {
     playerInfo.Serialize(writer);
     writer.WriteShort((short)jobInfoList.Count());
     foreach (var entry in jobInfoList)
     {
         entry.Serialize(writer);
     }
     playerLook.Serialize(writer);
 }
Exemple #15
0
 public override void Serialize(BigEndianWriter writer)
 {
     playerInfo.Serialize(writer);
     writer.WriteUShort((ushort)jobInfoList.Length);
     foreach (var entry in jobInfoList)
     {
         entry.Serialize(writer);
     }
     playerLook.Serialize(writer);
 }
 public virtual void Serialize(BigEndianWriter writer)
 {
     writer.WriteInt(guestId);
     writer.WriteInt(hostId);
     writer.WriteUTF(name);
     guestLook.Serialize(writer);
     writer.WriteSByte(breed);
     writer.WriteBoolean(sex);
     writer.WriteShort(status.TypeId);
     status.Serialize(writer);
 }
Exemple #17
0
 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteInt(spouseId);
     writer.WriteUTF(spouseName);
     writer.WriteByte(spouseLevel);
     writer.WriteSByte(breed);
     writer.WriteSByte(sex);
     spouseEntityLook.Serialize(writer);
     guildInfo.Serialize(writer);
     writer.WriteSByte(alignmentSide);
 }
Exemple #18
0
 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteShort((short)items.Length);
     foreach (var entry in items)
     {
         entry.Serialize(writer);
     }
     writer.WriteBoolean(mountEquipped);
     look.Serialize(writer);
 }
Exemple #19
0
 public virtual void Serialize(ICustomDataOutput writer)
 {
     writer.WriteInt(spouseAccountId);
     writer.WriteVarUhInt(spouseId);
     writer.WriteUTF(spouseName);
     writer.WriteByte(spouseLevel);
     writer.WriteSByte(breed);
     writer.WriteSByte(sex);
     spouseEntityLook.Serialize(writer);
     guildInfo.Serialize(writer);
     writer.WriteSByte(alignmentSide);
 }
 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteInt(spouseAccountId);
     writer.WriteVarLong(spouseId);
     writer.WriteUTF(spouseName);
     writer.WriteVarShort((int)spouseLevel);
     writer.WriteSbyte(breed);
     writer.WriteSbyte(sex);
     spouseEntityLook.Serialize(writer);
     guildInfo.Serialize(writer);
     writer.WriteSbyte(alignmentSide);
 }
 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteShort(spawnInformation.TypeId);
     spawnInformation.Serialize(writer);
     writer.WriteSbyte(wave);
     look.Serialize(writer);
     writer.WriteShort(stats.TypeId);
     stats.Serialize(writer);
     writer.WriteShort((short)summons.Length);
     foreach (var entry in summons)
     {
         writer.WriteShort(entry.TypeId);
         entry.Serialize(writer);
     }
 }
 public virtual void Serialize(IWriter writer)
 {
     writer.WriteVarLong(guestId);
     writer.WriteVarLong(hostId);
     writer.WriteUTF(name);
     guestLook.Serialize(writer);
     writer.WriteSByte(breed);
     writer.WriteBoolean(sex);
     writer.WriteShort(status.TypeId);
     status.Serialize(writer);
     writer.WriteShort((short)companions.Count());
     foreach (var entry in companions)
     {
         entry.Serialize(writer);
     }
 }
 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteInt(uniqueId);
     writer.WriteShort(firtNameId);
     writer.WriteShort(lastNameId);
     additonalInformation.Serialize(writer);
     writer.WriteShort(worldX);
     writer.WriteShort(worldY);
     writer.WriteShort(subAreaId);
     writer.WriteSByte(state);
     look.Serialize(writer);
     writer.WriteInt(kamas);
     writer.WriteDouble(experience);
     writer.WriteInt(pods);
     writer.WriteInt(itemsValue);
 }
Exemple #24
0
 public virtual void Serialize(ICustomDataOutput writer)
 {
     writer.WriteInt(guestId);
     writer.WriteInt(hostId);
     writer.WriteUTF(name);
     guestLook.Serialize(writer);
     writer.WriteSByte(breed);
     writer.WriteBoolean(sex);
     writer.WriteShort(status.TypeId);
     status.Serialize(writer);
     writer.WriteUShort((ushort)companions.Count());
     foreach (var entry in companions)
     {
         entry.Serialize(writer);
     }
 }
Exemple #25
0
 public virtual void Serialize(BigEndianWriter writer)
 {
     writer.WriteInt(guestId);
     writer.WriteInt(hostId);
     writer.WriteUTF(name);
     guestLook.Serialize(writer);
     writer.WriteSByte(breed);
     writer.WriteBoolean(sex);
     writer.WriteShort(status.TypeId);
     status.Serialize(writer);
     writer.WriteUShort((ushort)companions.Length);
     foreach (var entry in companions)
     {
         entry.Serialize(writer);
     }
 }
 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteVarLong(guestId);
     writer.WriteVarLong(hostId);
     writer.WriteUTF(name);
     guestLook.Serialize(writer);
     writer.WriteSbyte(breed);
     writer.WriteBoolean(sex);
     writer.WriteShort(status.TypeId);
     status.Serialize(writer);
     writer.WriteShort((short)entities.Length);
     foreach (var entry in entities)
     {
         entry.Serialize(writer);
     }
 }
Exemple #27
0
 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteInt(uniqueId);
     writer.WriteVarShort((int)firtNameId);
     writer.WriteVarShort((int)lastNameId);
     additionalInfos.Serialize(writer);
     writer.WriteShort(worldX);
     writer.WriteShort(worldY);
     writer.WriteVarShort((int)subAreaId);
     writer.WriteSByte(state);
     look.Serialize(writer);
     writer.WriteUShort((ushort)complements.Length);
     foreach (var entry in complements)
     {
         writer.WriteShort(entry.TypeId);
         entry.Serialize(writer);
     }
 }
 public virtual void Serialize(ICustomDataOutput writer)
 {
     writer.WriteInt(uniqueId);
     writer.WriteVarUhShort(firtNameId);
     writer.WriteVarUhShort(lastNameId);
     additionalInfos.Serialize(writer);
     writer.WriteShort(worldX);
     writer.WriteShort(worldY);
     writer.WriteVarUhShort(subAreaId);
     writer.WriteSByte(state);
     look.Serialize(writer);
     writer.WriteUShort((ushort)complements.Count());
     foreach (var entry in complements)
     {
         writer.WriteShort(entry.TypeId);
         entry.Serialize(writer);
     }
 }
        public override void Serialize(IDataWriter writer)
        {
            playerInfo.Serialize(writer);
            var jobInfoList_before = writer.Position;
            var jobInfoList_count  = 0;

            writer.WriteUShort(0);
            foreach (var entry in jobInfoList)
            {
                entry.Serialize(writer);
                jobInfoList_count++;
            }
            var jobInfoList_after = writer.Position;

            writer.Seek((int)jobInfoList_before);
            writer.WriteUShort((ushort)jobInfoList_count);
            writer.Seek((int)jobInfoList_after);

            playerLook.Serialize(writer);
        }
Exemple #30
0
 public void Serialize(IDataWriter writer)
 {
     look.Serialize(writer);
 }