public static void ServerRouteConfigShouldLoaded() { JigsawPuzzleWindow window = EditorWindow.GetWindow <JigsawPuzzleWindow>(); _ = window.Connector.Value; string content = JsonUtility.ToJson(window.Connector.Value.ServerRouteConfig, true); Debug.Log($"{nameof(ServerRouteConfig)} {content}"); }
public static void ExplorerShouldGetFileMapJson() { JigsawPuzzleWindow window = EditorWindow.GetWindow <JigsawPuzzleWindow>(); window.Connector.Value.Get( "GetFileMapJson", "Explorer", (object obj) => { Debug.Log($"Finish Explorer/GetFileMapJson data :\n{obj}"); }, (HttpResponseMessage message) => { Debug.LogError("Error!"); Debug.Log(message.ToString()); }); }
public static void DashboardShouldReturnGetDetailInfo() { JigsawPuzzleWindow window = EditorWindow.GetWindow <JigsawPuzzleWindow>(); window.Connector.Value.Get( "GetDetailInfo", "Dashboard", (object obj) => { Debug.Log($"Finish Dashboard/GetDetailInfo data :\n{obj}"); }, (HttpResponseMessage message) => { Debug.LogError("Error!"); Debug.Log(message.ToString()); }); }