示例#1
0
    public PlayerData()
    {
        name                 = "Brink";
        level                = 1;       //temp 1
        resId                = 1;
        vip_value            = 0;
        vip_level            = 0;
        main_weaponId        = 1000;
        exp                  = 0;
        mStrenLv             = 0;
        mPack                = new PackageManager();
        sp                   = 0;
        sp_max               = 0;
        sp_next_inc_time     = ulong.MaxValue;
        mFittChance          = 3;
        arena_currank        = uint.MaxValue;
        arena_bestrank       = uint.MaxValue;
        arena_score          = 0;
        arena_lefttimes      = 0;
        arena_buytimes       = 0;
        arena_lasttime       = 0;
        qualifying_currank   = uint.MaxValue;
        qualifying_bestrank  = uint.MaxValue;
        qualifying_lefttimes = 0;
        qualifying_buytimes  = 0;
        qualifying_lasttime  = 0;
        next_daily_resettime = ulong.MaxValue;
        rmb_used             = 0;
        for (uint i = 0; i < mProceeds.Length; ++i)
        {
            mProceeds[i] = 0;
        }
        mWingData = new WingData();

        skillData.Clear();
        mChallengeStage.Clear();
        mWingData.Clear();
//      for(int i = 1 ; i < 13 ; i++)
//      {
//          if(skillData.mLevels.ContainsKey(i))
//              skillData.mLevels[i] = 1;
//          else
//              skillData.mLevels.Add(i , 1);
//      }

        for (uint i = 0; i < (uint)FittingsType.MAX_FITTGINS; i++)
        {
            mFittings[i] = new FittingsData();
        }

        mStageData.Clear();
        mActivity.mActivityTypeCompletedTime.Clear();
        mActivity.mHasCompletedActivity.Clear();
        mZonesData.Clear();
        mCropsData.Clear();
        weapon_skill_unlocked = false;
        firstCharge           = false;
        firstCharge_picked    = false;
    }
示例#2
0
    public GhostData()
    {
        name          = "Brink";
        level         = 1;
        resId         = 1;
        main_weaponId = 1000;
        sub_weaponId  = 1000;
        mStrenLv      = 0;

        for (uint i = 0; i < (uint)FittingsType.MAX_FITTGINS; i++)
        {
            mFittings[i] = new FittingsData();
        }

        skillData.Clear();
        mWingData    = new WingData();
        mFashionData = new PlayerFashionData();
        mWingData.Clear();
        mMainCropsInfo.Clear();
        mSubCropsInfo.Clear();
    }