public static void HandleGuildGetInformations(GuildGetInformationsMessage message, WorldClient client) { switch ((GuildInformationsTypeEnum)message.infoType) { case GuildInformationsTypeEnum.INFO_GENERAL: SendGuildInformationsGeneral(client); break; case GuildInformationsTypeEnum.INFO_MEMBERS: SendGuildInformationsMembers(client); break; case GuildInformationsTypeEnum.INFO_BOOSTS: break; case GuildInformationsTypeEnum.INFO_PADDOCKS: break; case GuildInformationsTypeEnum.INFO_HOUSES: break; case GuildInformationsTypeEnum.INFO_TAX_COLLECTOR_GUILD_ONLY: break; case GuildInformationsTypeEnum.INFO_TAX_COLLECTOR_ALLIANCE: break; case GuildInformationsTypeEnum.INFO_TAX_COLLECTOR_LEAVE: break; } }
public static void HandleGuildGetInformationsMessage(WorldClient client, GuildGetInformationsMessage message) { if (client.Character.Guild != null) { switch (message.infoType) { case 1: GuildHandler.SendGuildInformationsGeneralMessage(client, client.Character.Guild); break; case 2: GuildHandler.SendGuildInformationsMembersMessage(client, client.Character.Guild); break; case 3: GuildHandler.SendGuildInfosUpgradeMessage(client, client.Character.Guild); break; case 4: GuildHandler.SendGuildInformationsPaddocksMessage(client); break; case 5: GuildHandler.SendGuildHousesInformationMessage(client); break; case 6: TaxCollectorHandler.SendTaxCollectorListMessage(client, client.Character.Guild); break; } } }
public static void HandleGuildGetInformationsMessage(WorldClient client, GuildGetInformationsMessage message) { if (client.Character.Guild == null) { return; } switch (message.infoType) { case (sbyte)GuildInformationsTypeEnum.INFO_GENERAL: SendGuildInformationsGeneralMessage(client, client.Character.Guild); break; case (sbyte)GuildInformationsTypeEnum.INFO_MEMBERS: SendGuildInformationsMembersMessage(client, client.Character.Guild); break; case (sbyte)GuildInformationsTypeEnum.INFO_BOOSTS: SendGuildInfosUpgradeMessage(client, client.Character.Guild); break; case (sbyte)GuildInformationsTypeEnum.INFO_PADDOCKS: SendGuildInformationsPaddocksMessage(client); break; case (sbyte)GuildInformationsTypeEnum.INFO_HOUSES: SendGuildHousesInformationMessage(client); break; case (sbyte)GuildInformationsTypeEnum.INFO_TAX_COLLECTOR_GUILD_ONLY: TaxCollectorHandler.SendTaxCollectorListMessage(client, client.Character.Guild); break; case (sbyte)GuildInformationsTypeEnum.INFO_TAX_COLLECTOR_LEAVE: TaxCollectorHandler.SendTaxCollectorListMessage(client, client.Character.Guild); break; } }
public void GuildGetInformationsMessageFrame(WorldClient client, GuildGetInformationsMessage guildGetInformationsMessage) { var guild = client.ActiveCharacter.Guild; if (guild == null) { return; } switch (guildGetInformationsMessage.infoType) { case (uint)GuildInformationsTypeEnum.INFO_TAX_COLLECTOR_GUILD_ONLY: client.SendPacket(new TaxCollectorListMessage(new List <Burning.DofusProtocol.Network.Types.TaxCollectorInformations>(), 1, new List <Burning.DofusProtocol.Network.Types.TaxCollectorFightersInformation>(), (uint)GuildInformationsTypeEnum.INFO_TAX_COLLECTOR_GUILD_ONLY)); break; case (uint)GuildInformationsTypeEnum.INFO_HOUSES: client.SendPacket(new GuildHousesInformationMessage(new List <Burning.DofusProtocol.Network.Types.HouseInformationsForGuild>())); break; case (uint)GuildInformationsTypeEnum.INFO_PADDOCKS: client.SendPacket(new GuildInformationsPaddocksMessage(5, new List <Burning.DofusProtocol.Network.Types.PaddockContentInformations>())); break; case (uint)GuildInformationsTypeEnum.INFO_MEMBERS: client.SendPacket(new GuildInformationsMembersMessage(GuildManager.Instance.GetGuildMembers(guild))); break; case (uint)GuildInformationsTypeEnum.INFO_GENERAL: client.SendPacket(new GuildInformationsGeneralMessage(false, (uint)guild.Level, 0, guild.Experience, 1000, (uint)guild.CreationDate, 1, 1)); break; default: Console.WriteLine(guildGetInformationsMessage.infoType); break; } }
public static void HandleGuildGetInformations(GuildGetInformationsMessage message, WorldClient client) { switch ((GuildInformationsTypeEnum)message.infoType) { case GuildInformationsTypeEnum.INFO_GENERAL: SendGuildInformationsGeneral(client); break; case GuildInformationsTypeEnum.INFO_MEMBERS: SendGuildInformationsMembers(client); break; case GuildInformationsTypeEnum.INFO_BOOSTS: break; case GuildInformationsTypeEnum.INFO_PADDOCKS: break; case GuildInformationsTypeEnum.INFO_HOUSES: break; case GuildInformationsTypeEnum.INFO_TAX_COLLECTOR_GUILD_ONLY: break; case GuildInformationsTypeEnum.INFO_TAX_COLLECTOR_ALLIANCE: break; case GuildInformationsTypeEnum.INFO_TAX_COLLECTOR_LEAVE: break; } }