コード例 #1
0
ファイル: WorldChat_Init.cs プロジェクト: uotools/JustUO
        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
                }
            };
        }
コード例 #2
0
ファイル: WorldChat_Init.cs プロジェクト: jasegiffin/JustUO
		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
				}
			};
		}