public override void Serialize(ICustomDataWriter writer) { writer.WriteByte(this.Channel); writer.WriteUTF(this.Content); writer.WriteInt(this.Timestamp); writer.WriteUTF(this.Fingerprint); }
public override void Serialize(ICustomDataWriter writer) { writer.WriteUTF(this.Name); writer.WriteShort(this.WorldX); writer.WriteShort(this.WorldY); writer.WriteUTF(this.Ownername); }
protected override void serializeContent(ICustomDataWriter writer) { writer.WriteByte((byte)Channel); writer.WriteUTF(Content); writer.WriteInt(TimestampUtils.GetFromNow()); writer.WriteUTF(Content); }
public override void Serialize(ICustomDataWriter writer) { base.Serialize(writer); byte box = 0; box = BooleanByteWrapper.SetFlag(box, 0, Sex); box = BooleanByteWrapper.SetFlag(box, 1, IsRideable); box = BooleanByteWrapper.SetFlag(box, 2, IsFeconded); box = BooleanByteWrapper.SetFlag(box, 3, IsFecondationReady); writer.WriteByte(box); writer.WriteVarLong(this.Id_); writer.WriteVarLong(this.ExpirationDate); writer.WriteVarInt(this.Model); writer.WriteUTF(this.Name); writer.WriteUTF(this.Owner); writer.WriteByte(this.Level); writer.WriteVarInt(this.ReproductionCount); writer.WriteVarInt(this.ReproductionCountMax); writer.WriteShort(this.Effects.Length); foreach (ObjectEffectInteger item in this.Effects) { item.Serialize(writer); } writer.WriteShort(this.Capacities.Length); foreach (int item in this.Capacities) { writer.WriteVarInt(item); } }
public override void Serialize(ICustomDataWriter writer) { writer.WriteUTF(this.Content); writer.WriteInt(this.Timestamp); writer.WriteVarLong(this.MemberId); writer.WriteUTF(this.MemberName); }
protected override void serializeContent(ICustomDataWriter writer) { base.serializeContent(writer); writer.WriteDouble(SenderId); writer.WriteUTF(SenderName); writer.WriteUTF(Prefix); writer.WriteInt(SenderAccountId); }
public override void Serialize(ICustomDataWriter writer) { base.Serialize(writer); writer.WriteByte(this.PartyType); writer.WriteUTF(this.PartyName); writer.WriteByte(this.MaxParticipants); writer.WriteVarLong(this.FromId); writer.WriteUTF(this.FromName); writer.WriteVarLong(this.ToId); }
protected override void serializeContent(ICustomDataWriter writer) { writer.WriteByte(0); // HasRights + AlreadyConnected writer.WriteUTF("bypass"); // Login name writer.WriteUTF("ByPass"); // Nickname writer.WriteInt(1); // Account ID writer.WriteByte(0); // Community ID writer.WriteUTF("Elle est ou la poulette ?"); // Secret Question writer.WriteDouble(0); // Account creation writer.WriteDouble(0); // Subscribtion elapsed writer.WriteDouble(0); // Subscription end date writer.WriteByte(0); // Havenbag available }
public override void Serialize(ICustomDataWriter writer) { writer.WriteInt(this.Uid); writer.WriteUTF(this.Title); writer.WriteUTF(this.Text); writer.WriteUTF(this.DescUrl); writer.WriteUTF(this.PictureUrl); writer.WriteShort(this.Items.Length); foreach (ObjectItemInformationWithQuantity item in this.Items) { item.Serialize(writer); } }
public override void Serialize(ICustomDataWriter writer) { writer.WriteByte(this.MovementType); this.BasicInfos.Serialize(writer); writer.WriteVarLong(this.PlayerId); writer.WriteUTF(this.PlayerName); }
public override void Serialize(ICustomDataWriter writer) { base.Serialize(writer); writer.WriteVarInt(this.GuildId); writer.WriteUTF(this.GuildName); writer.WriteByte(this.GuildLevel); }
public override void Serialize(ICustomDataWriter writer) { writer.WriteVarShort(this.MsgId); writer.WriteInt(this.TimeStamp); writer.WriteUTF(this.Owner); writer.WriteVarShort(this.ObjectGenericId); }
public override void Serialize(ICustomDataWriter writer) { writer.WriteUTF(this.Name); writer.WriteByte(this.Breed); writer.WriteBoolean(this.Sex); writer.WriteVarShort(this.CosmeticId); }
public override void Serialize(ICustomDataWriter writer) { writer.WriteVarInt(this.RequestId); writer.WriteUTF(this.PlayerName); writer.WriteVarLong(this.PlayerId); this.Look.Serialize(writer); }
public override void Serialize(ICustomDataWriter writer) { base.Serialize(writer); writer.WriteDouble(this.SenderId); writer.WriteUTF(this.SenderName); writer.WriteInt(this.SenderAccountId); }
protected override void serializeContent(ICustomDataWriter writer) { // SelectedServerData (42) writer.WriteVarShort(211); // Server id writer.WriteUTF("127.0.0.1"); // Server address writer.WriteShort(1); // Number of ports writer.WriteInt(5556); // Game Server port writer.WriteBool(false); // Can create new character var ticket = Guid.NewGuid().ToString().Replace("-", ""); writer.WriteVarInt(ticket.Length); // Ticket length writer.WriteUTFBytes(ticket); // Ticket //SelectedServerDataExtended writer.WriteUShort(1); // Number of servers // GameServerInformations var byteBox = new ByteBox(); byteBox[0] = false; // Is Mono account byteBox[1] = true; // Is Selectable writer.WriteByte(byteBox.Value); writer.WriteVarShort(211); // Server id writer.WriteByte(0); // Type writer.WriteByte(3); // Status writer.WriteByte(0); // Completion writer.WriteByte(1); // Character count writer.WriteByte(5); // Character slots writer.WriteDouble(0); // Date }
public override void Serialize(ICustomDataWriter writer) { byte box = 0; box = BooleanByteWrapper.SetFlag(box, 0, HasRights); box = BooleanByteWrapper.SetFlag(box, 1, WasAlreadyConnected); writer.WriteByte(box); writer.WriteUTF(this.Login); writer.WriteUTF(this.Nickname); writer.WriteInt(this.AccountId); writer.WriteByte(this.CommunityId); writer.WriteUTF(this.SecretQuestion); writer.WriteDouble(this.AccountCreation); writer.WriteDouble(this.SubscriptionElapsedDuration); writer.WriteDouble(this.SubscriptionEndDate); writer.WriteByte(this.HavenbagAvailableRoom); }
public override void Serialize(ICustomDataWriter writer) { base.Serialize(writer); writer.WriteUTF(this.LeaderName); writer.WriteVarShort(this.NbConnectedMembers); writer.WriteByte(this.NbTaxCollectors); writer.WriteInt(this.LastActivity); }
public override void Serialize(ICustomDataWriter writer) { writer.WriteVarInt(this.HouseId); writer.WriteInt(this.InstanceId); writer.WriteBoolean(this.SecondHand); writer.WriteVarLong(this.RealPrice); writer.WriteUTF(this.BuyerName); }
public override void Serialize(ICustomDataWriter writer) { writer.WriteVarLong(this.PlayerId); writer.WriteUTF(this.PlayerName); writer.WriteByte(this.Breed); writer.WriteBoolean(this.Sex); writer.WriteVarShort(this.Level); }
public override void Serialize(ICustomDataWriter writer) { writer.WriteUTF(this.CollectorName); writer.WriteShort(this.WorldX); writer.WriteShort(this.WorldY); writer.WriteDouble(this.MapId); writer.WriteVarShort(this.SubAreaId); writer.WriteUTF(this.UserName); writer.WriteVarLong(this.CallerId); writer.WriteUTF(this.CallerName); writer.WriteDouble(this.Experience); writer.WriteVarShort(this.Pods); writer.WriteShort(this.ObjectsInfos.Length); foreach (ObjectItemGenericQuantity item in this.ObjectsInfos) { item.Serialize(writer); } }
public override void Serialize(ICustomDataWriter writer) { byte box = 0; box = BooleanByteWrapper.SetFlag(box, 0, Success); box = BooleanByteWrapper.SetFlag(box, 1, Session); writer.WriteByte(box); writer.WriteUTF(this.Name); }
public override void Serialize(ICustomDataWriter writer) { base.Serialize(writer); writer.WriteUTF(this.Name); this.Status.Serialize(writer); writer.WriteVarShort(this.LeagueId); writer.WriteInt(this.LadderPosition); writer.WriteBoolean(this.HiddenInPrefight); }
public override void Serialize(ICustomDataWriter writer) { writer.WriteShort(this.Aliases.Length); foreach (String item in this.Aliases) { writer.WriteUTF(item); } writer.WriteShort(this.Args.Length); foreach (String item in this.Args) { writer.WriteUTF(item); } writer.WriteShort(this.Descriptions.Length); foreach (String item in this.Descriptions) { writer.WriteUTF(item); } }
public override void Serialize(ICustomDataWriter writer) { writer.WriteUTF(this.Salt); writer.WriteVarInt(this.Key.Length); foreach (byte item in this.Key) { writer.WriteByte(item); } }
public override void Serialize(ICustomDataWriter writer) { writer.WriteDouble(this.EntityId); writer.WriteVarShort(this.TextId); writer.WriteShort(this.Parameters.Length); foreach (String item in this.Parameters) { writer.WriteUTF(item); } }
protected override void serializeContent(ICustomDataWriter writer) { writer.WriteByte((byte)Type); writer.WriteVarShort(TextId); writer.WriteShort((short)Args.Length); for (int i = 0; i < Args.Length; i++) { writer.WriteUTF(Args[i]); } }
public override void Serialize(ICustomDataWriter writer) { writer.WriteVarShort(this.Id_); writer.WriteShort(this.Parameters.Length); foreach (String item in this.Parameters) { writer.WriteUTF(item); } writer.WriteBoolean(this.ForceOpen); }
public override void Serialize(ICustomDataWriter writer) { writer.WriteBoolean(this.HangUp); writer.WriteVarShort(this.MsgId); writer.WriteShort(this.Parameters.Length); foreach (String item in this.Parameters) { writer.WriteUTF(item); } }
public override void Serialize(ICustomDataWriter writer) { writer.WriteUTF(this.GuildOwner); writer.WriteShort(this.WorldX); writer.WriteShort(this.WorldY); writer.WriteVarShort(this.SubAreaId); writer.WriteByte(this.NbMount); writer.WriteByte(this.NbObject); writer.WriteVarLong(this.Price); }