コード例 #1
0
ファイル: GPAchievement.cs プロジェクト: cupsster/gtmanager
	//--------------------------------------
	// INITIALIZE
	//--------------------------------------


	public GPAchievement(string aId, string aName, string aDescr, string aCurentSteps, string aTotalSteps, string aState, string aType) {
		_id = aId;
		_name = aName;
		_description = aDescr;

		_currentSteps = System.Convert.ToInt32 (aCurentSteps);
		_totalSteps = System.Convert.ToInt32 (aTotalSteps);


		_type  = PlayServiceUtil.GetAchievementTypeById (System.Convert.ToInt32 (aType));
		_state = PlayServiceUtil.GetAchievementStateById (System.Convert.ToInt32 (aState));
	}
コード例 #2
0
    public GPAchievement(string aId, string aName, string aDescr, string aCurentSteps, string aTotalSteps, string aState, string aType)
    {
        _id          = aId;
        _name        = aName;
        _description = aDescr;

        _currentSteps = System.Convert.ToInt32(aCurentSteps);
        _totalSteps   = System.Convert.ToInt32(aTotalSteps);


        _type  = PlayServiceUtil.GetAchievementTypeById(System.Convert.ToInt32(aType));
        _state = PlayServiceUtil.GetAchievementStateById(System.Convert.ToInt32(aState));
    }