示例#1
0
        public void SendFeatureSystemStatusGlueScreen()
        {
            FeatureSystemStatusGlueScreen features = new FeatureSystemStatusGlueScreen();

            features.BpayStoreAvailable = false;
            features.BpayStoreDisabledByParentalControls = false;
            features.CharUndeleteEnabled   = WorldConfig.GetBoolValue(WorldCfg.FeatureSystemCharacterUndeleteEnabled);
            features.BpayStoreEnabled      = WorldConfig.GetBoolValue(WorldCfg.FeatureSystemBpayStoreEnabled);
            features.MaxCharactersPerRealm = WorldConfig.GetIntValue(WorldCfg.CharactersPerRealm);
            features.MinimumExpansionLevel = (int)Expansion.Classic;
            features.MaximumExpansionLevel = WorldConfig.GetIntValue(WorldCfg.Expansion);

            var europaTicketConfig = new EuropaTicketConfig();

            europaTicketConfig.ThrottleState.MaxTries               = 10;
            europaTicketConfig.ThrottleState.PerMilliseconds        = 60000;
            europaTicketConfig.ThrottleState.TryCount               = 1;
            europaTicketConfig.ThrottleState.LastResetTimeBeforeNow = 111111;
            europaTicketConfig.TicketsEnabled     = WorldConfig.GetBoolValue(WorldCfg.SupportTicketsEnabled);
            europaTicketConfig.BugsEnabled        = WorldConfig.GetBoolValue(WorldCfg.SupportBugsEnabled);
            europaTicketConfig.ComplaintsEnabled  = WorldConfig.GetBoolValue(WorldCfg.SupportComplaintsEnabled);
            europaTicketConfig.SuggestionsEnabled = WorldConfig.GetBoolValue(WorldCfg.SupportSuggestionsEnabled);

            features.EuropaTicketSystemStatus.Set(europaTicketConfig);

            SendPacket(features);
        }
示例#2
0
        public void SendFeatureSystemStatusGlueScreen()
        {
            FeatureSystemStatusGlueScreen features = new FeatureSystemStatusGlueScreen();

            features.BpayStoreAvailable = false;
            features.BpayStoreDisabledByParentalControls = false;
            features.CharUndeleteEnabled = WorldConfig.GetBoolValue(WorldCfg.FeatureSystemCharacterUndeleteEnabled);
            features.BpayStoreEnabled    = WorldConfig.GetBoolValue(WorldCfg.FeatureSystemBpayStoreEnabled);

            SendPacket(features);
        }
        public void SendFeatureSystemStatusGlueScreen()
        {
            FeatureSystemStatusGlueScreen features = new FeatureSystemStatusGlueScreen();

            features.BpayStoreAvailable = false;
            features.BpayStoreDisabledByParentalControls = false;
            features.CharUndeleteEnabled   = WorldConfig.GetBoolValue(WorldCfg.FeatureSystemCharacterUndeleteEnabled);
            features.BpayStoreEnabled      = WorldConfig.GetBoolValue(WorldCfg.FeatureSystemBpayStoreEnabled);
            features.MaxCharactersPerRealm = WorldConfig.GetIntValue(WorldCfg.CharactersPerRealm);
            features.MinimumExpansionLevel = (int)Expansion.Classic;
            features.MaximumExpansionLevel = WorldConfig.GetIntValue(WorldCfg.Expansion);

            SendPacket(features);
        }