This commit is contained in:
陈思海 2025-09-05 19:46:24 +08:00
parent efdd0887b2
commit b8c725fa2a
7 changed files with 0 additions and 92 deletions

View File

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 81b89672044a2804698e458934693769
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,28 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Luban
{
public abstract class EditorBeanBase
{
public abstract void LoadJson(SimpleJSON.JSONObject json);
public abstract void SaveJson(SimpleJSON.JSONObject json);
public void LoadJsonFile(string file)
{
string jsonText = System.IO.File.ReadAllText(file, Encoding.UTF8);
LoadJson((SimpleJSON.JSONObject)SimpleJSON.JSON.Parse(jsonText));
}
public void SaveJsonFile(string file)
{
var json = new SimpleJSON.JSONObject();
SaveJson(json);
System.IO.File.WriteAllText(file, json.ToString(), System.Text.Encoding.UTF8);
}
}
}

View File

@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 14642a288d49f3341b801237c473d31a

View File

@ -1,27 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Luban
{
public class EditorEnumItemInfo
{
public string Name { get; }
public string Alias { get; }
public int Value { get; }
public string Comment { get; }
public EditorEnumItemInfo(string name, string alias, int value, string comment)
{
Name = name;
Alias = alias;
Value = value;
Comment = comment;
}
}
}

View File

@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 20bae9719f5bcbc4d9b52d311a859422

View File

@ -1,18 +0,0 @@
{
"name": "Luban.Editor",
"rootNamespace": "",
"references": [
"Luban.Runtime"
],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": true,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

View File

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: ff2ec62504f1a8c418a1a486f86683c3
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: