Exemple #1
0
 public bool IsItemGood()
 {
     if (this.rewards.Count != 1)
     {
         return(false);
     }
     return(IDSeg.ToAssetType(this._rewards[0].id) == 7);
 }
 public static void Initialize(IMathParserFactory mathParserFactory, bool supportProtoBuf, bool protoUseTypeMode)
 {
     if (!isInitialized)
     {
         isInitialized = true;
         ConfigDatabase.mathParserFactory = mathParserFactory;
         if (supportProtoBuf)
         {
             DataSerializer.Initialize(protoUseTypeMode);
         }
         _AccumulationStatus.Initialize();
         _AccumulationType.Initialize();
         _ServerAreaStatus.Initialize();
         _TrainType.Initialize();
         _SignCount.Initialize();
         _DungeonType.Initialize();
         _DungeonDifficulity.Initialize();
         _ConditionValueCompareType.Initialize();
         _DeviceType.Initialize();
         _Difficulty.Initialize();
         _ZoneStatus.Initialize();
         _DungeonStatus.Initialize();
         _Goods.Initialize();
         _MelaleucaLimitType.Initialize();
         _WolfSmokeLimitType.Initialize();
         _FriendStatus.Initialize();
         _FriendEmailStatus.Initialize();
         _AvatarBattlePositionType.Initialize();
         _AvatarAttributeType.Initialize();
         _AvatarAbilityType.Initialize();
         _RequirementType.Initialize();
         _TimeDurationType.Initialize();
         _TimeType.Initialize();
         _UIType.Initialize();
         _GoodsStatusType.Initialize();
         IDSeg.Initialize();
         ClientServerCommon.Condition._Type.Initialize();
         PropertyModifier._Type.Initialize();
         PropertyModifier._ValueModifyType.Initialize();
         ClientServerCommon.AvatarConfig.Initialize();
         ClientServerCommon.AvatarAssetConfig.Initialize();
         ClientServerCommon.EquipmentConfig.Initizlize();
         ClientServerCommon.ActionConfig.Initialize();
         ClientServerCommon.ItemConfig.Initialize();
         ClientServerCommon.PveConfig.Initizlize();
         ClientServerCommon.LocalNotificationConfig.Initialize();
         ClientServerCommon.TutorialConfig.Initialize();
         ClientServerCommon.DialogueConfig.Initialize();
         ClientServerCommon.VipConfig.Initialize();
         _OpenFunctionType.Initialize();
         ClientServerCommon.CampaignConfig.Initialize();
         ClientServerCommon.QuestConfig.Initialize();
         _CombatFailGuidType.Initialize();
         _ClientDynamicValueType.Initialize();
         ClientServerCommon.MeridianConfig.Initizlize();
         _PlatformType.Initialize();
         SpecialSkillType.Initialize();
         ClientServerCommon.DomineerConfig.Initialize();
         ClientServerCommon.PositionConfig.Initialize();
         ClientServerCommon.DinerConfig.Initialize();
         ClientServerCommon.DailySignInConfig.Initialize();
         ClientServerCommon.SuiteConfig.Initialize();
         _Isvalid.Initialize();
         ClientServerCommon.TaskConfig.Initialize();
         ClientServerCommon.TavernConfig.Initialize();
         ClientServerCommon.MysteryShopConfig.Initialize();
         ClientServerCommon.WolfSmokeConfig.Initialize();
         ClientServerCommon.IllusionConfig.Initialize();
         ClientServerCommon.FriendCampaignConfig.Initialize();
         _CombatRoundType.Initialize();
         _AvatarType.Initialize();
         ClientServerCommon.GuideConfig.Initialize();
         ClientServerCommon._ActivityType.Initialize();
         ClientServerCommon.QinInfoConfig.Initialize();
         MonthCardType.Initialize();
         MonthCardRewardType.Initialize();
         PurchaseType.Initialize();
         GreenPointType.Initialize();
         ClientServerCommon.OperationConfig.Initialize();
         _MultiSelectType.Initialize();
         _DoubleSelectType.Initialize();
         _MarvellousCampType.Initialize();
         ClientServerCommon.MarvellousAdventureConfig.Initialize();
         ClientServerCommon.MysteryerConfig.Initialize();
         _InviteCodeRewardPickState.Initialize();
         _TavernRecruitStage.Initialize();
         _NumberPositionType.Initialize();
         _NumberConvertType.Initialize();
         _CurrencyType.Initialize();
         ClientServerCommon.DanConfig.Initialize();
         ClientServerCommon.GuildStageConfig.Initialize();
         _CounterType.Initialize();
         ClientServerCommon.GuildConfig.Initialize();
         ClientServerCommon.GuildPublicShopConfig.Initialize();
         ClientServerCommon.GuildPrivateShopConfig.Initialize();
         ClientServerCommon.GuildExchangeShopConfig.Initialize();
         ClientServerCommon.BeastConfig.Initialize();
     }
 }