2using System.Collections.Generic;
5using Cysharp.Threading.Tasks;
38 if (lang !=
"JP" && lang !=
"CN" && lang !=
"EN")
50 if (list ==
null || list.Count == 0)
61 if (item3.id == item2.
id && item3.version == item2.
version)
68 Debug.Log(list3.Count);
75 if (zone_User !=
null)
82 Debug.Log(fileInfo?.ToString() +
"/" +
item.name +
"/" +
item.path);
106 Msg.
Say(
"returnOverweight");
111 if (zone_User ==
null)
114 zone_User.path = m.
path;
115 zone_User.idUser = m.
id;
117 zone_User.name = m.
name;
119 Debug.Log(zone_User);
136 List<MapMetaData> list =
new List<MapMetaData>();
139 if (!(
item.Extension !=
".z"))
144 metaData.path =
item.FullName;
145 metaData.date =
item.LastWriteTime;
void MoveZone(string alias)
BackerContentConfig backer
static string ZoneSaveUser
static void TryWarnMod(Action action, bool warn=true)
int GetRaw(int offsetHours=0)
static LayerProgress StartAsync(string text, UniTask< bool > task, Action onCancel=null)
static List< FileInfo > listMaps
static MapMetaData GetMetaData(string pathZip)
static string SayNothingHappen()
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
static async UniTask< FileInfo > DownloadFile(DownloadMeta item, string path, string idLang)
static async UniTask< List< DownloadMeta > > GetFileList(string idLang)
static Spatial Create(string id, Spatial parent, bool register, int x=-99999, int y=-99999, int icon=0)
void LoadMap(MapMetaData m)
override bool CanUse(Chara c)
List< MapMetaData > ListSavedUserMap()
async UniTask< bool > UseMoongate()
override bool OnUse(Chara c)
static bool IsImportValid(string path)