Esempio n. 1
0
    public int GetSingleUnlockProgress(string badgeID)
    {
        int retVal = 0;

        if (SingleUnlockProgress.ContainsKey(badgeID))
        {
            retVal = SingleUnlockProgress[badgeID];
        }
        return(retVal);
    }
Esempio n. 2
0
 //Update the latest progress for a single badge
 public void UpdateSingleUnlockProgress(string badgeID, int progress)
 {
     if (SingleUnlockProgress.ContainsKey(badgeID))
     {
         SingleUnlockProgress[badgeID] = progress;
     }
     else
     {
         SingleUnlockProgress.Add(badgeID, progress);
     }
 }