Example #1
0
 //папка объектов
 public static string ObjectsStorageDir( Util.Map.Location map )
 {
     string dir = "";
     int i = (int)map;
     if(i!=0) {
         dir = "Object"+i.ToString()+"/";
     }
     return dir;
 }
Example #2
0
 //папка мира
 public static string WorldStorageDir( Util.Map.Location map )
 {
     string dir = "";
     int i = (int)map;
     if(i!=0) {
         dir = "World"+i.ToString();
     }
     return dir;
 }
Example #3
0
 //папка тел
 public static string BodyStorageDir( Util.Player.Class _class, string part )
 {
     return Util.File.DIRECTORY_PLAYER + part + "Class" + ( Util.Player.IsSub( _class ) ? "2" : "" ) + Util.Data.IntToDoubleString ( Util.Player.GetClassInt ( _class ) );
 }