配置同步

This commit is contained in:
meixiongfeng 2023-12-07 16:11:34 +08:00
parent b2c3371b6f
commit 17ea705cb2
7 changed files with 2417 additions and 2726 deletions

View File

@ -135,142 +135,6 @@
}
]
},
{
"key": 2001,
"type": 2,
"condition": 15,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 100000
}
]
},
{
"key": 2002,
"type": 2,
"condition": 20,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 100000
}
]
},
{
"key": 2003,
"type": 2,
"condition": 25,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 100000
}
]
},
{
"key": 2004,
"type": 2,
"condition": 30,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 100000
}
]
},
{
"key": 2005,
"type": 2,
"condition": 35,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 100000
}
]
},
{
"key": 2006,
"type": 2,
"condition": 40,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 100000
}
]
},
{
"key": 2007,
"type": 2,
"condition": 45,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 100000
}
]
},
{
"key": 2008,
"type": 2,
"condition": 50,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 100000
}
]
},
{
"key": 2001,
"type": 2,

View File

@ -21,7 +21,7 @@
{
"a": "item",
"t": "10000001",
"n": 1
"n": 10
}
],
"consumeB": [],

View File

@ -1,7 +1,7 @@
[
{
"id": 1001,
"scene": "GameMain",
"subScene": "",
"image": "ld_mh_bg_zc02",
"icon": "loading_icon_fc",
"title": {
@ -14,8 +14,8 @@
}
},
{
"id": 1002,
"scene": "CommandScene",
"subScene": "",
"image": "ld_mh_bg_zhb",
"icon": "loading_icon_zhb",
"title": {
@ -28,8 +28,8 @@
}
},
{
"id": 1003,
"scene": "WuGuanScene",
"subScene": "",
"image": "ld_mh_bg_wg",
"icon": "loading_icon_gfxm",
"title": {
@ -42,8 +42,8 @@
}
},
{
"id": 1004,
"scene": "SmithyScene",
"subScene": "",
"image": "ld_mh_bg_tjp",
"icon": "loading_icon_xlgs",
"title": {
@ -56,8 +56,8 @@
}
},
{
"id": 1005,
"scene": "ParkourScene",
"subScene": "",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_gfxm",
"title": {
@ -70,8 +70,8 @@
}
},
{
"id": 1006,
"scene": "GuildScene",
"subScene": "",
"image": "ld_mh_gh",
"icon": "loading_icon_gh",
"title": {
@ -84,8 +84,8 @@
}
},
{
"id": 1007,
"scene": "ArenaScene",
"subScene": "",
"image": "ld_boss_bg",
"icon": "loading_icon_gfxm",
"title": {
@ -98,8 +98,8 @@
}
},
{
"id": 1008,
"scene": "businessScene",
"subScene": "",
"image": "ld_mh_bg_sd",
"icon": "loading_icon_jgsd",
"title": {
@ -112,8 +112,8 @@
}
},
{
"id": 1009,
"scene": "DrawCardScene",
"subScene": "",
"image": "loading_2",
"icon": "loading_icon_gfxm",
"title": {
@ -126,8 +126,8 @@
}
},
{
"id": 1010,
"scene": "CombatLevelScene",
"subScene": "",
"image": "ld_5v5_bg1",
"icon": "loading_icon_gfxm",
"title": {
@ -140,22 +140,8 @@
}
},
{
"id": 1011,
"scene": "MainLineScene",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_11",
"text": "「博克岛」"
},
"prompt": {
"key": "loading_Sheet1_prompt_11",
"text": "这里是博克岛。</br>一般来说,这个板块会介绍气候、风土、民俗什么的;但提起博克岛,你需要知道的只有——龙!"
}
},
{
"id": 1012,
"scene": "scenesfight_06",
"subScene": "",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
@ -168,8 +154,8 @@
}
},
{
"id": 1013,
"scene": "scenesfight_05_01",
"subScene": "",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
@ -182,8 +168,8 @@
}
},
{
"id": 1014,
"scene": "scenesfight_07",
"subScene": "",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
@ -196,8 +182,8 @@
}
},
{
"id": 1015,
"scene": "bossfight_naturetitan_01",
"subScene": "",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
@ -210,8 +196,8 @@
}
},
{
"id": 1016,
"scene": "bossfight_spinymandrilla_02",
"subScene": "",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
@ -224,8 +210,8 @@
}
},
{
"id": 1017,
"scene": "GameFightScene",
"subScene": "",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
@ -238,22 +224,8 @@
}
},
{
"id": 1018,
"scene": "GuildScene",
"image": "ld_mh_gh",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_18",
"text": "「公会」"
},
"prompt": {
"key": "loading_Sheet1_prompt_18",
"text": "俱乐部是大家一起快乐玩耍的好地方。"
}
},
{
"id": 1019,
"scene": "GameMain",
"scene": "GameFightScene",
"subScene": "1019",
"image": "ld_mh_bg01",
"icon": "loading_icon_gfxm",
"title": {
@ -266,162 +238,8 @@
}
},
{
"id": 1020,
"scene": "MainLineScene",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_20",
"text": "「主线第2章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_20",
"text": "想学会功夫,必须要先相信。相信自我,相信爱,相信它们一直都在。"
}
},
{
"id": 1021,
"scene": "MainLineScene",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_21",
"text": "「主线第3章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_21",
"text": "当尾巴开始不由自主地摆动,便代表一颗善心开始苏醒。"
}
},
{
"id": 1022,
"scene": "MainLineScene",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_22",
"text": "「主线第4章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_22",
"text": "许多人爱慕美丽的容颜,而我独爱虔诚善良的心。"
}
},
{
"id": 1023,
"scene": "MainLineScene",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_23",
"text": "「主线第5章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_23",
"text": "山有猛龙,狂嗅薄荷。何意万龙王,化为绕指柔。"
}
},
{
"id": 1024,
"scene": "MainLineScene",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_24",
"text": "「主线第6章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_24",
"text": "天性是不可被束缚的,再幼小的身躯也能爆发出惊人的力量。"
}
},
{
"id": 1025,
"scene": "MainLineScene",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_25",
"text": "「主线第7章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_25",
"text": "我们是魔发精灵,会唱歌,会跳舞,散播欢乐和爱。"
}
},
{
"id": 1026,
"scene": "MainLineScene",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_26",
"text": "「主线第8章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_26",
"text": "很多人并不是我们想象中的那副样子,重要的是,试着多了解对方。"
}
},
{
"id": 1027,
"scene": "MainLineScene",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_27",
"text": "「主线第9章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_27",
"text": "尽管我们互看不顺眼,总是吵吵闹闹,我还是愿意把所有的爱给你。"
}
},
{
"id": 1028,
"scene": "MainLineScene",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_28",
"text": "「主线第10章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_28",
"text": "即使有95%的几率会完蛋也不能放弃5%的奇遇和辉煌。"
}
},
{
"id": 1029,
"scene": "MainLineScene",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_29",
"text": "「主线第11章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_29",
"text": "我们已经拯救过世界无数次,这次也是。"
}
},
{
"id": 1030,
"scene": "MainLineScene",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_30",
"text": "「主线第12章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_30",
"text": "守护与被守护,永远是相互的。"
}
},
{
"id": 1031,
"scene": "scenesfight_09",
"scene": "GameFightScene",
"subScene": "1031",
"image": "ld_mh_bg_tjp",
"icon": "loading_icon_fc",
"title": {
@ -434,22 +252,8 @@
}
},
{
"id": 1032,
"scene": "LoginScene",
"image": "ld_mh_bg_zc02",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_32",
"text": "「中轴城」"
},
"prompt": {
"key": "loading_Sheet1_prompt_32",
"text": "终极之战后,月中人陷入沉睡,为了更好地守护月之大陆,守护者们把力量集中起来,建立了中轴城。</br>这是一座用火球煮咖啡,用扫描仪复制魔法卷轴的神奇城市,坐落于月之大陆的中心,是世界文明交流的枢纽。"
}
},
{
"id": 1033,
"scene": "GameMain",
"scene": "GameFightScene",
"subScene": "1033",
"image": "ld_mh_bg01",
"icon": "loading_icon_gfxm",
"title": {
@ -462,8 +266,190 @@
}
},
{
"id": 1034,
"scene": "MainLineScene",
"subScene": "11001",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_11",
"text": "「博克岛」"
},
"prompt": {
"key": "loading_Sheet1_prompt_11",
"text": "这里是博克岛。</br>一般来说,这个板块会介绍气候、风土、民俗什么的;但提起博克岛,你需要知道的只有——龙!"
}
},
{
"scene": "MainLineScene",
"subScene": "11002",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_20",
"text": "「主线第2章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_20",
"text": "想学会功夫,必须要先相信。相信自我,相信爱,相信它们一直都在。"
}
},
{
"scene": "MainLineScene",
"subScene": "11003",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_21",
"text": "「主线第3章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_21",
"text": "当尾巴开始不由自主地摆动,便代表一颗善心开始苏醒。"
}
},
{
"scene": "MainLineScene",
"subScene": "11004",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_22",
"text": "「主线第4章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_22",
"text": "许多人爱慕美丽的容颜,而我独爱虔诚善良的心。"
}
},
{
"scene": "MainLineScene",
"subScene": "11005",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_23",
"text": "「主线第5章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_23",
"text": "山有猛龙,狂嗅薄荷。何意万龙王,化为绕指柔。"
}
},
{
"scene": "MainLineScene",
"subScene": "11006",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_24",
"text": "「主线第6章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_24",
"text": "天性是不可被束缚的,再幼小的身躯也能爆发出惊人的力量。"
}
},
{
"scene": "MainLineScene",
"subScene": "11007",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_25",
"text": "「主线第7章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_25",
"text": "我们是魔发精灵,会唱歌,会跳舞,散播欢乐和爱。"
}
},
{
"scene": "MainLineScene",
"subScene": "11008",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_26",
"text": "「主线第8章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_26",
"text": "很多人并不是我们想象中的那副样子,重要的是,试着多了解对方。"
}
},
{
"scene": "MainLineScene",
"subScene": "11009",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_27",
"text": "「主线第9章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_27",
"text": "尽管我们互看不顺眼,总是吵吵闹闹,我还是愿意把所有的爱给你。"
}
},
{
"scene": "MainLineScene",
"subScene": "11010",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_28",
"text": "「主线第10章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_28",
"text": "即使有95%的几率会完蛋也不能放弃5%的奇遇和辉煌。"
}
},
{
"scene": "MainLineScene",
"subScene": "11011",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_29",
"text": "「主线第11章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_29",
"text": "我们已经拯救过世界无数次,这次也是。"
}
},
{
"scene": "MainLineScene",
"subScene": "11012",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_30",
"text": "「主线第12章」"
},
"prompt": {
"key": "loading_Sheet1_prompt_30",
"text": "守护与被守护,永远是相互的。"
}
},
{
"scene": "LoginScene",
"subScene": "",
"image": "ld_mh_bg_zc02",
"icon": "loading_icon_fc",
"title": {
"key": "loading_Sheet1_title_32",
"text": "「中轴城」"
},
"prompt": {
"key": "loading_Sheet1_prompt_32",
"text": "终极之战后,月中人陷入沉睡,为了更好地守护月之大陆,守护者们把力量集中起来,建立了中轴城。</br>这是一座用火球煮咖啡,用扫描仪复制魔法卷轴的神奇城市,坐落于月之大陆的中心,是世界文明交流的枢纽。"
}
},
{
"scene": "CaravanScene",
"subScene": "",
"image": "ld_mh_bg_sd",
"icon": "loading_icon_jgsd",
"title": {
@ -476,8 +462,8 @@
}
},
{
"id": 1035,
"scene": "StonehengeScene1",
"subScene": "",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
@ -490,8 +476,8 @@
}
},
{
"id": 1036,
"scene": "StonehengeScene2",
"subScene": "",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
@ -504,8 +490,8 @@
}
},
{
"id": 1037,
"scene": "StonehengeScene3",
"subScene": "",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {
@ -518,8 +504,8 @@
}
},
{
"id": 1038,
"scene": "StonehengeScene4",
"subScene": "",
"image": "ld_mh_bg_fc",
"icon": "loading_icon_fc",
"title": {

File diff suppressed because it is too large Load Diff

View File

@ -9,34 +9,26 @@
package cfg
type GameLoading struct {
_dataMap map[int32]*GameLoadingData
_dataList []*GameLoadingData
}
func NewGameLoading(_buf []map[string]interface{}) (*GameLoading, error) {
_dataList := make([]*GameLoadingData, 0, len(_buf))
dataMap := make(map[int32]*GameLoadingData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameLoadingData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Id] = _v
}
}
return &GameLoading{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameLoading) GetDataMap() map[int32]*GameLoadingData {
return table._dataMap
return &GameLoading{_dataList:_dataList}, nil
}
func (table *GameLoading) GetDataList() []*GameLoadingData {
return table._dataList
}
func (table *GameLoading) Get(key int32) *GameLoadingData {
return table._dataMap[key]
func (table *GameLoading) Get(index int) *GameLoadingData {
return table._dataList[index]
}

View File

@ -11,8 +11,8 @@ package cfg
import "errors"
type GameLoadingData struct {
Id int32
Scene string
SubScene string
Image string
Icon string
Title string
@ -26,8 +26,8 @@ func (*GameLoadingData) GetTypeId() int32 {
}
func (_v *GameLoadingData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["id"].(float64); !_ok_ { err = errors.New("id error"); return }; _v.Id = int32(_tempNum_) }
{ var _ok_ bool; if _v.Scene, _ok_ = _buf["scene"].(string); !_ok_ { err = errors.New("scene error"); return } }
{ var _ok_ bool; if _v.SubScene, _ok_ = _buf["subScene"].(string); !_ok_ { err = errors.New("subScene error"); return } }
{ var _ok_ bool; if _v.Image, _ok_ = _buf["image"].(string); !_ok_ { err = errors.New("image error"); return } }
{ var _ok_ bool; if _v.Icon, _ok_ = _buf["icon"].(string); !_ok_ { err = errors.New("icon error"); return } }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["title"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Title error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Title, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }

View File

@ -14,4 +14,5 @@ const (
GameOpencondType_Maxmapid = 2
GameOpencondType_Worldtaskid = 3
GameOpencondType_Friend = 4
GameOpencondType_MoonLevel = 5
)