public static GossipMenu CreateTeleMenu(List <INamedWorldZoneLocation> locations) { return(WorldLocationMgr.CreateTeleMenu(locations, (Action <GossipConversation, INamedWorldZoneLocation>)((convo, loc) => convo.Character.TeleportTo((IWorldLocation)loc)))); }
/// <summary>Creates a GossipMenu of all locations</summary> /// <returns></returns> public static GossipMenu CreateTeleMenu() { return(WorldLocationMgr.CreateTeleMenu(WorldLocationMgr.WorldLocationList)); }