public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteByte(Level);
     GuildInfo.Serialize(writer);
     writer.WriteInt(ExperienceForGuild);
 }
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteVarUhInt(HouseId);
     writer.WriteInt(InstanceId);
     writer.WriteBoolean(SecondHand);
     GuildInfo.Serialize(writer);
     writer.WriteVarUhInt(Rights);
 }
Beispiel #3
0
 public void Serialize(IDataWriter writer)
 {
     writer.WriteVarInt((Int32)HouseId);
     writer.WriteInt((Int32)InstanceId);
     writer.WriteBoolean(SecondHand);
     GuildInfo.Serialize(writer);
     writer.WriteVarInt((Int32)Rights);
 }
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteInt(SpouseAccountId);
     writer.WriteVarUhLong(SpouseId);
     writer.WriteUTF(SpouseName);
     writer.WriteByte(SpouseLevel);
     writer.WriteSByte(Breed);
     writer.WriteSByte(Sex);
     SpouseEntityLook.Serialize(writer);
     GuildInfo.Serialize(writer);
     writer.WriteSByte(AlignmentSide);
 }
Beispiel #5
0
 public void Serialize(IDataWriter writer)
 {
     writer.WriteInt((Int32)SpouseAccountId);
     writer.WriteVarLong(SpouseId);
     writer.WriteUTF(SpouseName);
     writer.WriteByte(SpouseLevel);
     writer.WriteByte((Byte)Breed);
     writer.WriteByte((Byte)Sex);
     SpouseEntityLook.Serialize(writer);
     GuildInfo.Serialize(writer);
     writer.WriteByte((Byte)AlignmentSide);
 }
Beispiel #6
0
        public override void Serialize(IDataWriter writer)
        {
            base.Serialize(writer);
            var flag = new byte();

            flag = BooleanByteWrapper.SetFlag(0, flag, Sex);
            flag = BooleanByteWrapper.SetFlag(1, flag, HavenBagShared);
            writer.WriteByte(flag);
            writer.WriteVarUhLong(PlayerId);
            writer.WriteUTF(PlayerName);
            writer.WriteVarUhShort(Level);
            writer.WriteSByte(AlignmentSide);
            writer.WriteSByte(Breed);
            GuildInfo.Serialize(writer);
            writer.WriteVarUhShort(MoodSmileyId);
            Status.Serialize(writer);
        }
        public new void Serialize(IDataWriter writer)
        {
            base.Serialize(writer);
            UInt32 wrappedBoolean = 0;

            writer.WriteVarLong(PlayerId);
            writer.WriteUTF(PlayerName);
            writer.WriteByte(Level);
            writer.WriteByte((Byte)AlignmentSide);
            writer.WriteByte((Byte)Breed);
            wrappedBoolean = 0;
            wrappedBoolean = BooleanByteWrapper.SetFlag(wrappedBoolean, 0, Sex);
            writer.WriteByte((Byte)wrappedBoolean);
            GuildInfo.Serialize(writer);
            writer.WriteVarShort((Int16)MoodSmileyId);
            Status.Serialize(writer);
            wrappedBoolean = 0;
            wrappedBoolean = BooleanByteWrapper.SetFlag(wrappedBoolean, 0, HavenBagShared);
            writer.WriteByte((Byte)wrappedBoolean);
        }
 public override void Serialize(IDataWriter writer)
 {
     GuildInfo.Serialize(writer);
     writer.WriteVarUhInt(MemberRights);
 }
 public void Serialize(IDataWriter writer)
 {
     GuildInfo.Serialize(writer);
     writer.WriteVarInt((Int32)MemberRights);
 }