mirror of
https://gitee.com/dgflash/oops-framework.git
synced 2026-05-18 08:28:01 +08:00
oops-plugin-excel-to-json插件兼容最新版本oops-framework目录结构
This commit is contained in:
@@ -103,4 +103,7 @@ Oops Framework 基于 Cocos Creato 3.x 开发的一款游戏框架
|
||||
- [新手引导模块 oops-guide](https://store.cocos.com/app/detail/3653)
|
||||
- [联机游戏框架 oops-mgobe](https://store.cocos.com/app/detail/3574)
|
||||
- [开源框架 oops-framework gitee](https://gitee.com/dgflash/oops-framework)
|
||||
- [开源框架 oops-framework github](https://github.com/dgflash/oops-framework)
|
||||
- [开源框架 oops-framework github](https://github.com/dgflash/oops-framework)
|
||||
|
||||
### 开发维护不易,如果对您有帮助,希望给与支持
|
||||

|
||||
|
||||
@@ -227,7 +227,7 @@
|
||||
"_priority": 1073741824,
|
||||
"_fov": 45,
|
||||
"_fovAxis": 0,
|
||||
"_orthoHeight": 375,
|
||||
"_orthoHeight": 417.5365344467641,
|
||||
"_near": 1,
|
||||
"_far": 2000,
|
||||
"_color": {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"ver": "1.0.0",
|
||||
"importer": "json",
|
||||
"imported": true,
|
||||
"uuid": "eb411176-ba54-4d62-86db-4cc4035d1540",
|
||||
"uuid": "ff18f0c9-550b-4e48-aca8-d37fe1d2b510",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"ver": "1.0.0",
|
||||
"importer": "json",
|
||||
"imported": true,
|
||||
"uuid": "358eb9a8-5c38-47d1-ab37-2ce2a50e6d6c",
|
||||
"uuid": "11a2f047-e929-4f50-8df1-d31311013e88",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
|
||||
@@ -1,9 +1,3 @@
|
||||
/*
|
||||
* @Author: dgflash
|
||||
* @Date: 2022-06-02 09:38:48
|
||||
* @LastEditors: dgflash
|
||||
* @LastEditTime: 2022-08-02 14:26:35
|
||||
*/
|
||||
|
||||
import { JsonUtil } from "../../../../../extensions/oops-plugin-framework/assets/core/utils/JsonUtil";
|
||||
|
||||
@@ -15,14 +9,10 @@ export class TablePromptWindow {
|
||||
init(id: number, id1: number, id2: number) {
|
||||
var table = JsonUtil.get(TablePromptWindow.TableName);
|
||||
this.data = table[id][id1][id2];
|
||||
this.id = id;
|
||||
this.id1 = id1;
|
||||
this.id2 = id2;
|
||||
this.id = id;
|
||||
this.id1 = id1;
|
||||
this.id2 = id2;
|
||||
id: number = 0;
|
||||
id1: number = 0;
|
||||
id2: number = 0;
|
||||
}
|
||||
|
||||
id: number = 0;
|
||||
id1: number = 0;
|
||||
@@ -37,3 +27,4 @@ export class TablePromptWindow {
|
||||
get array(): any {
|
||||
return this.data.array;
|
||||
}
|
||||
get hp(): number {
|
||||
@@ -2,7 +2,7 @@
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "1e3d7b9a-9e7e-4c46-8900-2f6c142e6f72",
|
||||
"uuid": "0e0091bc-db56-4a18-8669-334ddff61370",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
|
||||
@@ -1,9 +1,3 @@
|
||||
/*
|
||||
* @Author: dgflash
|
||||
* @Date: 2022-06-02 09:38:48
|
||||
* @LastEditors: dgflash
|
||||
* @LastEditTime: 2022-06-14 17:53:26
|
||||
*/
|
||||
|
||||
import { JsonUtil } from "../../../../../extensions/oops-plugin-framework/assets/core/utils/JsonUtil";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "fdd6be75-ecd4-4494-b6a8-8840861bc221",
|
||||
"uuid": "45753233-f907-41fd-952a-f40d7e31396b",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
|
||||
@@ -1,9 +1,3 @@
|
||||
/*
|
||||
* @Author: dgflash
|
||||
* @Date: 2022-06-02 09:38:48
|
||||
* @LastEditors: dgflash
|
||||
* @LastEditTime: 2022-06-14 17:55:36
|
||||
*/
|
||||
|
||||
import { JsonUtil } from "../../../../../extensions/oops-plugin-framework/assets/core/utils/JsonUtil";
|
||||
|
||||
@@ -20,10 +14,10 @@ export class TableRoleLevelUp {
|
||||
|
||||
id: number = 0;
|
||||
|
||||
get needexp(): number {
|
||||
get needexp(): string {
|
||||
return this.data.needexp;
|
||||
}
|
||||
get hp(): number {
|
||||
get hp(): string {
|
||||
return this.data.hp;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "71d7b81c-9b43-4424-987f-ab00d6154f0e",
|
||||
"uuid": "f71b8a82-d129-4e56-80ab-16c0ba1ca8a8",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"__version__": "1.0.0",
|
||||
"PathJson": "D:\\gitee\\oops-framework\\assets\\resources\\config\\game",
|
||||
"PathExcel": "D:\\gitee\\oops-framework\\extensions\\oops-plugin-excel-to-json\\excel",
|
||||
"PathTs": "D:\\gitee\\oops-framework\\assets\\script\\game\\common\\table"
|
||||
"PathJson": "../../../assets/resources/config/game/",
|
||||
"PathExcel": "../excel/",
|
||||
"PathTs": "../../../assets/script/game/common/table/"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user