This commit is contained in:
meixiongfeng 2023-03-24 15:53:38 +08:00
parent 95c22e3bec
commit d8dd0d6ebf
14 changed files with 2461 additions and 2303 deletions

View File

@ -1,117 +1,94 @@
[
{
"id": 10001,
"drop": 1002,
"boxname": "Moon Box"
"drop": 1002
},
{
"id": 10002,
"drop": 1002,
"boxname": "Moon Box"
"drop": 1002
},
{
"id": 10003,
"drop": 1002,
"boxname": "Moon Box"
"drop": 1002
},
{
"id": 10004,
"drop": 1001,
"boxname": "Moon Box"
"drop": 1001
},
{
"id": 10005,
"drop": 1001,
"boxname": "Moon Box"
"drop": 1001
},
{
"id": 10006,
"drop": 1001,
"boxname": "Moon Box"
"drop": 1001
},
{
"id": 10007,
"drop": 1001,
"boxname": "Moon Box"
"drop": 1001
},
{
"id": 10008,
"drop": 1001,
"boxname": "Moon Box"
"drop": 1001
},
{
"id": 10009,
"drop": 1001,
"boxname": "Moon Box"
"drop": 1001
},
{
"id": 10010,
"drop": 1001,
"boxname": "Moon Box"
"drop": 1001
},
{
"id": 10011,
"drop": 1001,
"boxname": "Moon Box"
"drop": 1001
},
{
"id": 10012,
"drop": 1001,
"boxname": "Moon Box"
"drop": 1001
},
{
"id": 10013,
"drop": 1001,
"boxname": "Moon Box"
"drop": 1001
},
{
"id": 10014,
"drop": 1001,
"boxname": "Moon Box"
"drop": 1001
},
{
"id": 10015,
"drop": 1001,
"boxname": "Moon Box"
"drop": 1001
},
{
"id": 10101,
"drop": 1001,
"boxname": "Moon Box"
"drop": 1001
},
{
"id": 10102,
"drop": 1001,
"boxname": "Moon Box"
"drop": 1001
},
{
"id": 10103,
"drop": 1001,
"boxname": "Moon Box"
"drop": 1001
},
{
"id": 10301,
"drop": 1001,
"boxname": "Psionics Of The Tree"
"drop": 1001
},
{
"id": 10302,
"drop": 1002,
"boxname": "Psionics Of The Tree"
"drop": 1002
},
{
"id": 10401,
"drop": 1001,
"boxname": "Moon Box"
"drop": 1001
},
{
"id": 10402,
"drop": 1001,
"boxname": "Moon Box"
"drop": 1001
},
{
"id": 10403,
"drop": 1001,
"boxname": "Moon Box"
"drop": 1001
}
]

View File

@ -21,7 +21,6 @@
"n": 1
}
],
"description": "Mission Successed",
"scenemusic": "scenemusic_leveldemo_fcamer_1_1",
"atmosphere": "atmospheremusic_leveldemo_fcamer_1_1"
},
@ -46,7 +45,6 @@
"n": 1
}
],
"description": "Mission Successed",
"scenemusic": "scenemusic_leveldemo_fcamer_1_3",
"atmosphere": "atmospheremusic_leveldemo_fcamer_1_3"
},
@ -72,7 +70,6 @@
"n": 1
}
],
"description": "Mission Successed",
"scenemusic": "scenemusic_leveldemo_fcamer_1_2",
"atmosphere": "atmospheremusic_leveldemo_fcamer_1_2"
},
@ -98,7 +95,6 @@
"n": 1
}
],
"description": "Mission Successed",
"scenemusic": "scenemusic_leveldemo_fcamer_1_4",
"atmosphere": "atmospheremusic_leveldemo_fcamer_1_4"
},
@ -124,7 +120,6 @@
"n": 1
}
],
"description": "Mission Successed",
"scenemusic": "scenemusic_leveldemo_fcamer_1_5",
"atmosphere": "atmospheremusic_leveldemo_fcamer_1_5"
},
@ -148,7 +143,6 @@
"n": 1
}
],
"description": "Mission Successed",
"scenemusic": "scenemusic_leveldemo_fcamer_1_6",
"atmosphere": "atmospheremusic_leveldemo_fcamer_1_6"
},
@ -174,7 +168,6 @@
"n": 1
}
],
"description": "Mission Successed",
"scenemusic": "scenemusic_leveldemo_fcamer_1_7",
"atmosphere": "atmospheremusic_leveldemo_fcamer_1_7"
},
@ -199,7 +192,6 @@
"n": 1
}
],
"description": "Mission Successed",
"scenemusic": "scenemusic_leveldemo_fcamer_1_8",
"atmosphere": "atmospheremusic_leveldemo_fcamer_1_8"
},
@ -224,7 +216,6 @@
"n": 1
}
],
"description": "Mission Successed",
"scenemusic": "scenemusic_leveldemo_fcamer_1_9",
"atmosphere": "atmospheremusic_leveldemo_fcamer_1_9"
},
@ -249,7 +240,6 @@
"n": 1
}
],
"description": "Mission Successed",
"scenemusic": "scenemusic_leveldemo_fcamer_1_10",
"atmosphere": "atmospheremusic_leveldemo_fcamer_1_10"
}

View File

@ -2,7 +2,6 @@
{
"id": 101011,
"type": 1,
"monstername": "Guard NO.1",
"sencenstory": [
301,
301
@ -24,7 +23,6 @@
{
"id": 101012,
"type": 1,
"monstername": "Guard NO.2",
"sencenstory": [
302,
302
@ -46,7 +44,6 @@
{
"id": 101013,
"type": 1,
"monstername": "Guard NO.3",
"sencenstory": [
301,
301
@ -68,7 +65,6 @@
{
"id": 101021,
"type": 1,
"monstername": "Guard NO.4",
"sencenstory": [
302,
302
@ -90,7 +86,6 @@
{
"id": 110213,
"type": 1,
"monstername": "Guard NO.5",
"sencenstory": [
301,
301
@ -112,7 +107,6 @@
{
"id": 110214,
"type": 1,
"monstername": "Guard NO.6",
"sencenstory": [],
"time": 0,
"clickstory": 0,
@ -131,7 +125,6 @@
{
"id": 110215,
"type": 1,
"monstername": "Guard NO.7",
"sencenstory": [],
"time": 0,
"clickstory": 0,
@ -150,7 +143,6 @@
{
"id": 110216,
"type": 1,
"monstername": "Guard NO.8",
"sencenstory": [],
"time": 0,
"clickstory": 0,
@ -169,7 +161,6 @@
{
"id": 120031,
"type": 1,
"monstername": "Guard NO.9",
"sencenstory": [],
"time": 0,
"clickstory": 0,
@ -188,7 +179,6 @@
{
"id": 120032,
"type": 1,
"monstername": "Guard NO.10",
"sencenstory": [],
"time": 0,
"clickstory": 0,
@ -207,7 +197,6 @@
{
"id": 120033,
"type": 1,
"monstername": "Guard NO.11",
"sencenstory": [],
"time": 0,
"clickstory": 0,
@ -226,7 +215,6 @@
{
"id": 120034,
"type": 1,
"monstername": "Guard NO.12",
"sencenstory": [],
"time": 0,
"clickstory": 0,
@ -245,7 +233,6 @@
{
"id": 120035,
"type": 1,
"monstername": "Guard NO.13",
"sencenstory": [],
"time": 0,
"clickstory": 0,
@ -264,7 +251,6 @@
{
"id": 120036,
"type": 1,
"monstername": "Guard NO.14",
"sencenstory": [],
"time": 0,
"clickstory": 0,
@ -283,7 +269,6 @@
{
"id": 130011,
"type": 1,
"monstername": "Guard NO.15",
"sencenstory": [],
"time": 0,
"clickstory": 0,
@ -302,7 +287,6 @@
{
"id": 130012,
"type": 1,
"monstername": "Guard NO.16",
"sencenstory": [],
"time": 0,
"clickstory": 0,
@ -321,7 +305,6 @@
{
"id": 130013,
"type": 1,
"monstername": "Guard NO.17",
"sencenstory": [],
"time": 0,
"clickstory": 0,
@ -340,7 +323,6 @@
{
"id": 200001,
"type": 2,
"monstername": "Guard NO.18",
"sencenstory": [
301,
301
@ -354,7 +336,6 @@
{
"id": 200002,
"type": 2,
"monstername": "Guard NO.19",
"sencenstory": [
302,
302
@ -368,7 +349,6 @@
{
"id": 200003,
"type": 2,
"monstername": "Guard NO.20",
"sencenstory": [
301,
301
@ -382,7 +362,6 @@
{
"id": 720013,
"type": 1,
"monstername": "Guard Rhino ",
"sencenstory": [],
"time": 3,
"clickstory": 0,

View File

@ -8,11 +8,11 @@
"endstory": 0,
"battlename": {
"key": "story_80",
"text": "踢馆1号"
"text": "闹事之人"
},
"battletxt": {
"key": "story_80",
"text": "踢馆1号的文本"
"text": "有人前来闹事,快去解决掉他"
},
"BattleReadyID": 100,
"EventList": [],
@ -62,11 +62,11 @@
"endstory": 0,
"battlename": {
"key": "story_81",
"text": "踢馆2号"
"text": "闹事之人"
},
"battletxt": {
"key": "story_81",
"text": "踢馆2号的文本"
"text": "有人前来闹事,快去解决掉他"
},
"BattleReadyID": 100,
"EventList": [],

File diff suppressed because it is too large Load Diff

View File

@ -3,8 +3,8 @@
"id": 1,
"unlock_condition": 20010,
"unlock_conditiondes": {
"key": "通关主线1-1后解锁",
"text": "通关主线1-1后解锁"
"key": "完成任务“这是哪里”",
"text": "完成任务“这是哪里”"
}
},
{

View File

@ -4,7 +4,6 @@
"name": "右屏商人",
"information": "这是一位熊猫商人",
"ico": "action_11001",
"scene": "1",
"time": 300
},
{
@ -12,7 +11,6 @@
"name": "上屏商人",
"information": "这是一位波比商人再此",
"ico": "action_11003",
"scene": "2",
"time": 400
},
{
@ -20,7 +18,6 @@
"name": "左屏商人",
"information": "这是一位滑板鞋王子",
"ico": "ytx_js_14007",
"scene": "3",
"time": 500
}
]

View File

@ -753,7 +753,7 @@
"key": 30001,
"lock": 1,
"ontxe": 20010,
"id_after": 30002,
"id_after": 0,
"group": 3,
"des": 2,
"icon": "",
@ -769,11 +769,11 @@
"key": "story_80",
"text": "新手引导"
},
"npc": 27,
"npc": 29,
"completetask": [
301
],
"deliver_npc": 28,
"deliver_npc": 1,
"auto_accept": 0,
"reword": [],
"module": []

View File

@ -0,0 +1,42 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
type GameBreakingbad struct {
_dataMap map[string]*GameBreakingbadData
_dataList []*GameBreakingbadData
}
func NewGameBreakingbad(_buf []map[string]interface{}) (*GameBreakingbad, error) {
_dataList := make([]*GameBreakingbadData, 0, len(_buf))
dataMap := make(map[string]*GameBreakingbadData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameBreakingbadData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Delicacies] = _v
}
}
return &GameBreakingbad{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameBreakingbad) GetDataMap() map[string]*GameBreakingbadData {
return table._dataMap
}
func (table *GameBreakingbad) GetDataList() []*GameBreakingbadData {
return table._dataList
}
func (table *GameBreakingbad) Get(key string) *GameBreakingbadData {
return table._dataMap[key]
}

View File

@ -0,0 +1,56 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
import "errors"
type GameBreakingbadData struct {
Delicacies string
Recipe []*Gameatr
Type int32
Flame int32
Unlockreward *Gameatn
}
const TypeId_GameBreakingbadData = -702491792
func (*GameBreakingbadData) GetTypeId() int32 {
return -702491792
}
func (_v *GameBreakingbadData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; if _v.Delicacies, _ok_ = _buf["delicacies"].(string); !_ok_ { err = errors.New("delicacies error"); return } }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["recipe"].([]interface{}); !_ok_ { err = errors.New("recipe error"); return }
_v.Recipe = make([]*Gameatr, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ *Gameatr
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _e_.(map[string]interface{}); !_ok_ { err = errors.New("_list_v_ error"); return }; if _list_v_, err = DeserializeGameatr(_x_); err != nil { return } }
_v.Recipe = append(_v.Recipe, _list_v_)
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["Type"].(float64); !_ok_ { err = errors.New("Type error"); return }; _v.Type = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["flame"].(float64); !_ok_ { err = errors.New("flame error"); return }; _v.Flame = int32(_tempNum_) }
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["unlockreward"].(map[string]interface{}); !_ok_ { err = errors.New("unlockreward error"); return }; if _v.Unlockreward, err = DeserializeGameatn(_x_); err != nil { return } }
return
}
func DeserializeGameBreakingbadData(_buf map[string]interface{}) (*GameBreakingbadData, error) {
v := &GameBreakingbadData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -0,0 +1,42 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
type GameRdtaskNpc struct {
_dataMap map[int32]*GameRdtaskNpcData
_dataList []*GameRdtaskNpcData
}
func NewGameRdtaskNpc(_buf []map[string]interface{}) (*GameRdtaskNpc, error) {
_dataList := make([]*GameRdtaskNpcData, 0, len(_buf))
dataMap := make(map[int32]*GameRdtaskNpcData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameRdtaskNpcData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Id] = _v
}
}
return &GameRdtaskNpc{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameRdtaskNpc) GetDataMap() map[int32]*GameRdtaskNpcData {
return table._dataMap
}
func (table *GameRdtaskNpc) GetDataList() []*GameRdtaskNpcData {
return table._dataList
}
func (table *GameRdtaskNpc) Get(key int32) *GameRdtaskNpcData {
return table._dataMap[key]
}

View File

@ -0,0 +1,67 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
import "errors"
type GameRdtaskNpcData struct {
Id int32
Datas []string
Event []int32
Goto int32
}
const TypeId_GameRdtaskNpcData = -2132874632
func (*GameRdtaskNpcData) GetTypeId() int32 {
return -2132874632
}
func (_v *GameRdtaskNpcData)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 _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["datas"].([]interface{}); !_ok_ { err = errors.New("datas error"); return }
_v.Datas = make([]string, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ string
{ if _list_v_, _ok_ = _e_.(string); !_ok_ { err = errors.New("_list_v_ error"); return } }
_v.Datas = append(_v.Datas, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["event"].([]interface{}); !_ok_ { err = errors.New("event error"); return }
_v.Event = make([]int32, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ int32
{ var _ok_ bool; var _x_ float64; if _x_, _ok_ = _e_.(float64); !_ok_ { err = errors.New("_list_v_ error"); return }; _list_v_ = int32(_x_) }
_v.Event = append(_v.Event, _list_v_)
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["goto"].(float64); !_ok_ { err = errors.New("goto error"); return }; _v.Goto = int32(_tempNum_) }
return
}
func DeserializeGameRdtaskNpcData(_buf map[string]interface{}) (*GameRdtaskNpcData, error) {
v := &GameRdtaskNpcData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -63,6 +63,7 @@ type Tables struct {
SeasonLoop *GameSeasonLoop
PagodaSeasonReward *GamePagodaSeasonReward
RdtaskCondi *GameRdtaskCondi
RdtaskNpc *GameRdtaskNpc
Gourmet *GameGourmet
Drop *GameDrop
VikingBoss *GameVikingBoss
@ -176,6 +177,7 @@ type Tables struct {
PandamasTjjl *GamePandamasTjjl
PandamasYxjx *GamePandamasYxjx
BubbleGroup *GameBubbleGroup
Breakingbad *GameBreakingbad
}
func NewTables(loader JsonLoader) (*Tables, error) {
@ -495,6 +497,12 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.RdtaskCondi, err = NewGameRdtaskCondi(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_rdtasknpc") ; err != nil {
return nil, err
}
if tables.RdtaskNpc, err = NewGameRdtaskNpc(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_gourmet") ; err != nil {
return nil, err
}
@ -1173,5 +1181,11 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.BubbleGroup, err = NewGameBubbleGroup(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_breakingbad") ; err != nil {
return nil, err
}
if tables.Breakingbad, err = NewGameBreakingbad(buf) ; err != nil {
return nil, err
}
return tables, nil
}

View File

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