public override void OnResponse(NetState sender, RelayInfo info) { Mobile from = sender.Mobile; switch (info.ButtonID) { case 100: // Ir Invisivel para o evento { from.Hidden = true; BaseEventHelper.GoEvent(from); from.SendGump(this); break; } case 101: // Ir como Juiz para o evento { BaseEventHelper.GoEvent(from); from.SendGump(this); break; } case 1: { SurvivorStone.AnnounceAndStartSurvivor(from); from.SendGump(this); break; } case 2: { SurvivorStone.FinishSurvivorEvent(from); from.SendGump(this); break; } case 5: { from.SendGump(this); from.SendGump(new EventRewardGump(from)); break; } case 6: { from.SendGump(this); from.SendGump(new EventModeGump(from)); break; } case 7: { from.SendGump(new SurvivorArenaConfigGump(from, SurvivorStone)); break; } case 0: default: break; } }
public override void OnResponse(NetState sender, RelayInfo info) { Mobile from = sender.Mobile; switch (info.ButtonID) { case 100: // Ir Invisivel para o evento { from.Hidden = true; BaseEventHelper.GoEvent(from, EnumEventBase.EnumEventType.TheHunt); from.SendGump(this); break; } case 101: // Ir como Juiz para o evento { BaseEventHelper.GoEvent(from, EnumEventBase.EnumEventType.TheHunt); from.SendGump(this); break; } case 1: { theHuntStone.AnnounceAndStartTheHunt(from); from.SendGump(this); break; } case 2: { theHuntStone.FinishTheHuntEvent(from); from.SendGump(this); break; } case 5: { from.SendGump(this); from.SendGump(new EventRewardGump(from)); break; } case 6: { from.SendGump(this); from.SendGump(new EventModeGump(from)); break; } case 0: default: break; } }
public override void OnResponse(NetState sender, RelayInfo info) { Mobile from = sender.Mobile; switch (info.ButtonID) { case 100: // Ir Invisivel para o evento { from.Hidden = true; BaseEventHelper.GoEvent(from, EnumEventBase.EnumEventType.Survivor); from.SendGump(this); break; } case 101: // Ir como Juiz para o evento { BaseEventHelper.GoEvent(from, EnumEventBase.EnumEventType.Survivor); from.SendGump(this); break; } case 1: { SurvivorStone.EnterEvent(from); break; } case 2: { break; } case 0: default: break; } }