static PlayerSettingManager() { var communtiySettingConverter = new CommunitySettingConverter(); RegisterConverter(PlayerSetting.AllowCombiInvite, communtiySettingConverter); RegisterConverter(PlayerSetting.AllowFriendRequest, communtiySettingConverter); RegisterConverter(PlayerSetting.AllowRoomInvite, communtiySettingConverter); RegisterConverter(PlayerSetting.AllowInfoRequest, communtiySettingConverter); }
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); }