Beispiel #1
0
 //清除仓库数据
 public void clear()
 {
     RoleStorageVersion   = 0;
     EquipStorageVersion  = 0;
     PropStorageVersion   = 0;
     tmpStorageVersion    = 0;
     beastStorageVersion  = 0;
     mountsStorageVersion = 0;
     if (roleStorage != null)
     {
         roleStorage.clear();
     }
     if (propStorage != null)
     {
         propStorage.clear();
     }
     if (beastStorage != null)
     {
         beastStorage.clear();
     }
     if (equipStorage != null)
     {
         equipStorage.clear();
     }
     if (tempStorage != null)
     {
         tempStorage.clear();
     }
     if (starSoulStorage != null)
     {
         starSoulStorage.clear();
     }
     if (huntStarSoulStorage != null)
     {
         huntStarSoulStorage.clear();
     }
     if (mountsStorage != null)
     {
         mountsStorage.clear();
     }
 }