private static void InvokeUserBanned(WorldChatChannel channel, PlayerMobile user) { if (OnUserBanned != null) { OnUserBanned(channel, user); } }
private static void InvokeUserUnbanned(WorldChatChannel channel, PlayerMobile user) { if (OnUserUnbanned != null) { OnUserUnbanned(channel, user); } }
private static void InvokeUserLeave(WorldChatChannel channel, PlayerMobile user) { if (OnUserLeave != null) { OnUserLeave(channel, user); } }
private static void InvokeUserMessage(WorldChatChannel channel, PlayerMobile user, WorldChatMessage message) { if (OnUserMessage != null) { OnUserMessage(channel, user, message); } }
static WorldChat() { CMOptions = new WorldChatOptions(); ChannelTypes = typeof(WorldChatChannel).GetConstructableChildren(); _Channels = new List <WorldChatChannel>(); _PermaChannels = new WorldChatChannel[] { // new GlobalChatChannel { Token = "w", Available = true, AutoJoin = true }, new FacetChatChannel { Token = "f", Available = true, AutoJoin = true }, new TradeChatChannel { Token = "t", Available = true, AutoJoin = true }, new LocalChatChannel { Token = "l", Available = true, AutoJoin = true } }; }
static WorldChat() { CMOptions = new WorldChatOptions(); ChannelTypes = typeof(WorldChatChannel).GetConstructableChildren(); _Channels = new List<WorldChatChannel>(); _PermaChannels = new WorldChatChannel[] { // new GlobalChatChannel { Token = "w", Available = true, AutoJoin = true }, new FacetChatChannel { Token = "f", Available = true, AutoJoin = true }, new TradeChatChannel { Token = "t", Available = true, AutoJoin = true }, new LocalChatChannel { Token = "l", Available = true, AutoJoin = true } }; }
private static void InvokeUserMessage(WorldChatChannel channel, PlayerMobile user, WorldChatMessage message) { if (OnUserMessage != null) { OnUserMessage(channel, user, message); } }