Exemple #1
0
 private static int GrabData(int slot)
 {
     if (mCurrentSlotLoaded && slot == UserSlotData.currentSlot)
     {
         return(mData);
     }
     else
     {
         int d = UserSlotData.GetSlotValueInt(slot, dataKey, 0);
         return(d);
     }
 }
Exemple #2
0
 public static void LoadCurrentSlotData()
 {
     mData = UserSlotData.GetSlotValueInt(UserSlotData.currentSlot, dataKey, 0);
     mCurrentSlotLoaded = true;
 }