public GoogleCloudResult(string code, string key)
    {
        _response = PlayServiceUtil.GetGPCodeFromInt(System.Convert.ToInt32(code));
        _message  = _response.ToString();

        _stateKey = System.Convert.ToInt32(key);
    }
Beispiel #2
0
    //--------------------------------------
    // INITIALIZE
    //--------------------------------------


    public LeaderBoardScoreVariant(string vScore, string vRank, string vTimeSpan, string sCollection)
    {
        _score = System.Convert.ToInt32(vScore);
        _rank  = System.Convert.ToInt32(vRank);


        _timeSpan   = PlayServiceUtil.GetTimeSpanByInt(System.Convert.ToInt32(vTimeSpan));
        _collection = PlayServiceUtil.GetCollectionTypeByInt(System.Convert.ToInt32(sCollection));
    }
Beispiel #3
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));
    }
    //--------------------------------------
    // INITIALIZE
    //--------------------------------------

    public GooglePlayResult(string code)
    {
        _response = PlayServiceUtil.GetGPCodeFromInt(System.Convert.ToInt32(code));
        _message  = _response.ToString();
    }