diff --git a/bin/json/game_smithyatlas.json b/bin/json/game_smithyatlas.json index 74f48aaac..8e7bb61a0 100644 --- a/bin/json/game_smithyatlas.json +++ b/bin/json/game_smithyatlas.json @@ -12,8 +12,11 @@ "text": "神龙卷轴来历描述" }, "atlas_score": 0, - "atlas_giver": 0, - "quality": 0 + "quality": 0, + "atlas_favour": { + "key": "", + "text": "" + } }, { "id": "10111", @@ -28,8 +31,11 @@ "text": "神龙卷轴来历描述" }, "atlas_score": 0, - "atlas_giver": 0, - "quality": 0 + "quality": 0, + "atlas_favour": { + "key": "", + "text": "" + } }, { "id": "10112", @@ -44,8 +50,11 @@ "text": "神龙卷轴来历描述" }, "atlas_score": 0, - "atlas_giver": 0, - "quality": 0 + "quality": 0, + "atlas_favour": { + "key": "", + "text": "" + } }, { "id": "10113", @@ -60,8 +69,11 @@ "text": "神龙卷轴来历描述" }, "atlas_score": 0, - "atlas_giver": 0, - "quality": 0 + "quality": 0, + "atlas_favour": { + "key": "", + "text": "" + } }, { "id": "10210", @@ -76,8 +88,11 @@ "text": "魔法大师来历描述" }, "atlas_score": 0, - "atlas_giver": 0, - "quality": 0 + "quality": 0, + "atlas_favour": { + "key": "", + "text": "" + } }, { "id": "10211", @@ -92,8 +107,11 @@ "text": "魔法大师来历描述" }, "atlas_score": 0, - "atlas_giver": 0, - "quality": 0 + "quality": 0, + "atlas_favour": { + "key": "", + "text": "" + } }, { "id": "10212", @@ -108,8 +126,11 @@ "text": "魔法大师来历描述" }, "atlas_score": 0, - "atlas_giver": 0, - "quality": 0 + "quality": 0, + "atlas_favour": { + "key": "", + "text": "" + } }, { "id": "10213", @@ -124,8 +145,11 @@ "text": "魔法大师来历描述" }, "atlas_score": 0, - "atlas_giver": 0, - "quality": 0 + "quality": 0, + "atlas_favour": { + "key": "", + "text": "" + } }, { "id": "10310", @@ -140,8 +164,11 @@ "text": "" }, "atlas_score": 0, - "atlas_giver": 0, - "quality": 0 + "quality": 0, + "atlas_favour": { + "key": "", + "text": "" + } }, { "id": "10311", @@ -156,8 +183,11 @@ "text": "" }, "atlas_score": 0, - "atlas_giver": 0, - "quality": 0 + "quality": 0, + "atlas_favour": { + "key": "", + "text": "" + } }, { "id": "10312", @@ -172,8 +202,11 @@ "text": "" }, "atlas_score": 0, - "atlas_giver": 0, - "quality": 0 + "quality": 0, + "atlas_favour": { + "key": "", + "text": "" + } }, { "id": "10313", @@ -188,8 +221,11 @@ "text": "" }, "atlas_score": 0, - "atlas_giver": 0, - "quality": 0 + "quality": 0, + "atlas_favour": { + "key": "", + "text": "" + } }, { "id": "10013", @@ -204,8 +240,11 @@ "text": "" }, "atlas_score": 30, - "atlas_giver": 30, - "quality": 1 + "quality": 1, + "atlas_favour": { + "key": "atlas_favour_10013", + "text": "阿宝" + } }, { "id": "10014", @@ -220,8 +259,11 @@ "text": "" }, "atlas_score": 60, - "atlas_giver": 60, - "quality": 2 + "quality": 2, + "atlas_favour": { + "key": "atlas_favour_10014", + "text": "阿宝" + } }, { "id": "10015", @@ -236,8 +278,11 @@ "text": "" }, "atlas_score": 120, - "atlas_giver": 120, - "quality": 3 + "quality": 3, + "atlas_favour": { + "key": "atlas_favour_10015", + "text": "阿宝" + } }, { "id": "10016", @@ -252,7 +297,10 @@ "text": "" }, "atlas_score": 240, - "atlas_giver": 240, - "quality": 4 + "quality": 4, + "atlas_favour": { + "key": "atlas_favour_10016", + "text": "阿宝" + } } ] \ No newline at end of file diff --git a/sys/configure/structs/Game.SmithyAtlasData.go b/sys/configure/structs/Game.SmithyAtlasData.go index e6294f498..ece2269d4 100644 --- a/sys/configure/structs/Game.SmithyAtlasData.go +++ b/sys/configure/structs/Game.SmithyAtlasData.go @@ -17,8 +17,8 @@ type GameSmithyAtlasData struct { NameText string ContentText string AtlasScore int32 - AtlasGiver int32 Quality int32 + AtlasFavour string } const TypeId_GameSmithyAtlasData = 2126233763 @@ -34,8 +34,8 @@ func (_v *GameSmithyAtlasData)Deserialize(_buf map[string]interface{}) (err erro {var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["name_text"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.NameText error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.NameText, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } } {var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["content_text"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.ContentText error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.ContentText, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["atlas_score"].(float64); !_ok_ { err = errors.New("atlas_score error"); return }; _v.AtlasScore = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["atlas_giver"].(float64); !_ok_ { err = errors.New("atlas_giver error"); return }; _v.AtlasGiver = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["quality"].(float64); !_ok_ { err = errors.New("quality error"); return }; _v.Quality = int32(_tempNum_) } + {var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["atlas_favour"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.AtlasFavour error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.AtlasFavour, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } } return }