static PlayerSettingManager()
        {
            var communtiySettingConverter = new CommunitySettingConverter();

            RegisterConverter(PlayerSetting.AllowCombiInvite, communtiySettingConverter);
            RegisterConverter(PlayerSetting.AllowFriendRequest, communtiySettingConverter);
            RegisterConverter(PlayerSetting.AllowRoomInvite, communtiySettingConverter);
            RegisterConverter(PlayerSetting.AllowInfoRequest, communtiySettingConverter);
        }
Example #2
0
        static PlayerSettingManager()
        {
            s_converters = new ConcurrentDictionary <string, IPlayerSettingConverter>();
            var communtiySettingConverter = new CommunitySettingConverter();

            RegisterConverter(PlayerSetting.AllowCombiInvite, communtiySettingConverter);
            RegisterConverter(PlayerSetting.AllowFriendRequest, communtiySettingConverter);
            RegisterConverter(PlayerSetting.AllowRoomInvite, communtiySettingConverter);
            RegisterConverter(PlayerSetting.AllowInfoRequest, communtiySettingConverter);
        }