public override int StartExecute(Character character) { var panel = new GuildCreationPanel(character); panel.Open(); return(base.StartExecute(character)); }
public static void HandleGuildCreationValidMessage(WorldClient client, GuildCreationValidMessage message) { GuildCreationPanel guildCreationPanel = client.Character.Dialog as GuildCreationPanel; if (guildCreationPanel != null) { guildCreationPanel.CreateGuild(message.guildName, message.guildEmblem); } }
public override void Execute(GameTrigger trigger) { GuildCreationPanel guildCreationPanel = new GuildCreationPanel(trigger.Character); guildCreationPanel.Open(); }