上传配置表
This commit is contained in:
parent
34df2dfa77
commit
ecd0f58e81
50
bin/json/game_restore.json
Normal file
50
bin/json/game_restore.json
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"key": 1,
|
||||||
|
"tpye": 1,
|
||||||
|
"cycle": 1,
|
||||||
|
"maximums": [
|
||||||
|
{
|
||||||
|
"a": "item",
|
||||||
|
"t": "24022003",
|
||||||
|
"n": 3
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 2,
|
||||||
|
"tpye": 1,
|
||||||
|
"cycle": 1,
|
||||||
|
"maximums": [
|
||||||
|
{
|
||||||
|
"a": "item",
|
||||||
|
"t": "24013003",
|
||||||
|
"n": 8
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 3,
|
||||||
|
"tpye": 1,
|
||||||
|
"cycle": 1,
|
||||||
|
"maximums": [
|
||||||
|
{
|
||||||
|
"a": "item",
|
||||||
|
"t": "18000004",
|
||||||
|
"n": 10
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 4,
|
||||||
|
"tpye": 2,
|
||||||
|
"cycle": 30,
|
||||||
|
"maximums": [
|
||||||
|
{
|
||||||
|
"a": "attr",
|
||||||
|
"t": "consumeexp",
|
||||||
|
"n": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
@ -327,6 +327,7 @@ type Tables struct {
|
|||||||
IntegralReward *GameIntegralReward
|
IntegralReward *GameIntegralReward
|
||||||
IntegralCondition *GameIntegralCondition
|
IntegralCondition *GameIntegralCondition
|
||||||
IntegralTime *GameIntegralTime
|
IntegralTime *GameIntegralTime
|
||||||
|
Restore *GameRestore
|
||||||
CatchbugSetstage *GameCatchbugSetstage
|
CatchbugSetstage *GameCatchbugSetstage
|
||||||
BuzkashiCombo *GameBuzkashiCombo
|
BuzkashiCombo *GameBuzkashiCombo
|
||||||
}
|
}
|
||||||
@ -2232,6 +2233,12 @@ func NewTables(loader JsonLoader) (*Tables, error) {
|
|||||||
if tables.IntegralTime, err = NewGameIntegralTime(buf) ; err != nil {
|
if tables.IntegralTime, err = NewGameIntegralTime(buf) ; err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
if buf, err = loader("game_restore") ; err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if tables.Restore, err = NewGameRestore(buf) ; err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
if buf, err = loader("game_catchbugsetstage") ; err != nil {
|
if buf, err = loader("game_catchbugsetstage") ; err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user