创角之前默认皮肤

This commit is contained in:
meixiongfeng 2023-11-14 09:59:26 +08:00
parent 47a9c97c23
commit 9c87a69872
16 changed files with 6740 additions and 949 deletions

File diff suppressed because it is too large Load Diff

26
bin/json/game_effect.json Normal file
View File

@ -0,0 +1,26 @@
[
{
"key": "character_move_fast_1",
"path": "Effect/Character/effect_character_move_fast_1.prefab"
},
{
"key": "character_move_fast_2",
"path": "Effect/Character/effect_character_move_fast_2.prefab"
},
{
"key": "character_move_arrow",
"path": "Effect/Character/effect_character_move_arrow.prefab"
},
{
"key": "character_move_runningOnWater",
"path": "Effect/Character/effect_character_move_runningOnWater.prefab"
},
{
"key": "character_move_walkOnWater",
"path": "Effect/Character/effect_character_move_walkOnWater.prefab"
},
{
"key": "character_move_brakeOnRunning",
"path": "Effect/Character/effect_character_move_brakeOnRunning.prefab"
}
]

View File

@ -884,6 +884,11 @@
},
"td_Hp": 100,
"td_division_angle": 3,
"playerexname": "achieve_achieve_all_achieve_group_id_06"
"playerexname": "achieve_achieve_all_achieve_group_id_06",
"initper": {
"a": "per",
"t": "16010000",
"n": 1
}
}
]

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,27 @@
[
{
"id": "16010000",
"sex": 0,
"type": 1,
"icon": "sbkp_js_nz",
"playerhead": "tx_js_nz",
"tujing": [
107
],
"url": "100001",
"tips": 10000,
"resources": "Person/10000/25001M.prefab",
"pvpAnimator": "",
"mainq": "",
"name": {
"key": "playerinfor_playerinfor_overview_name_1",
"text": "陈旧服饰"
},
"txt": {
"key": "playerinfor_playerinfor_overview_txt_1",
"text": ""
}
},
{
"id": "16010101",
"sex": 1,
@ -11,10 +34,8 @@
"url": "100001",
"tips": 10000,
"resources": "Person/10000/10000M.prefab",
"vague": "Person/10000/10000MT.prefab",
"pvpAnimator": "Person/10000/10000_MPvp.controller",
"mainq": "Person/10000/10000M_q.prefab",
"vagueq": "Person/10000/10000MT_q.prefab",
"name": {
"key": "playerinfor_playerinfor_overview_name_1",
"text": "陈旧服饰"
@ -36,10 +57,8 @@
"url": "200001",
"tips": 10000,
"resources": "Person/10000/10000W.prefab",
"vague": "Person/10000/10000WT.prefab",
"pvpAnimator": "Person/10000/10000_WPvp.controller",
"mainq": "Person/10000/10000W_q.prefab",
"vagueq": "Person/10000/10000WT_q.prefab",
"name": {
"key": "playerinfor_playerinfor_overview_name_2",
"text": "陈旧服饰"
@ -61,10 +80,8 @@
"url": "explore",
"tips": 10000,
"resources": "",
"vague": "",
"pvpAnimator": "",
"mainq": "",
"vagueq": "",
"name": {
"key": "playerinfor_playerinfor_overview_name_3",
"text": "陈述观念"
@ -86,10 +103,8 @@
"url": "explore",
"tips": 10000,
"resources": "",
"vague": "",
"pvpAnimator": "",
"mainq": "",
"vagueq": "",
"name": {
"key": "playerinfor_playerinfor_overview_name_4",
"text": "讲解原理"
@ -111,10 +126,8 @@
"url": "character_cardshow",
"tips": 10000,
"resources": "",
"vague": "",
"pvpAnimator": "",
"mainq": "",
"vagueq": "",
"name": {
"key": "playerinfor_playerinfor_overview_name_5",
"text": "虚无星空"
@ -136,10 +149,8 @@
"url": "character_cardshow",
"tips": 10000,
"resources": "",
"vague": "",
"pvpAnimator": "",
"mainq": "",
"vagueq": "",
"name": {
"key": "playerinfor_playerinfor_overview_name_6",
"text": "虚无星空"
@ -161,10 +172,8 @@
"url": "",
"tips": 10000,
"resources": "",
"vague": "",
"pvpAnimator": "",
"mainq": "",
"vagueq": "",
"name": {
"key": "playerinfor_playerinfor_overview_name_7",
"text": "头像框1"
@ -186,10 +195,8 @@
"url": "",
"tips": 10000,
"resources": "",
"vague": "",
"pvpAnimator": "",
"mainq": "",
"vagueq": "",
"name": {
"key": "playerinfor_playerinfor_overview_name_8",
"text": "头像框2"
@ -211,10 +218,8 @@
"url": "",
"tips": 10000,
"resources": "",
"vague": "",
"pvpAnimator": "",
"mainq": "",
"vagueq": "",
"name": {
"key": "playerinfor_playerinfor_overview_name_9",
"text": "头像框3"
@ -236,10 +241,8 @@
"url": "",
"tips": 10000,
"resources": "",
"vague": "",
"pvpAnimator": "",
"mainq": "",
"vagueq": "",
"name": {
"key": "playerinfor_playerinfor_overview_name_10",
"text": "头像框4"

View File

@ -320,7 +320,7 @@
"Levelid": 0,
"datas": [
"CommandScene",
"主线入口_原石",
"20010_骇客蛛_1",
"905"
],
"event": [
@ -329,13 +329,28 @@
],
"goto": 0
},
{
"id": 10015,
"heroid": 45002,
"Levelid": 0,
"datas": [
"CommandScene",
"20010_梅林",
"905"
],
"event": [
2,
10021
],
"goto": 0
},
{
"id": 10018,
"heroid": 25001,
"Levelid": 0,
"datas": [
"CommandScene",
"20010_熊猫_1",
"主线入口_原石",
"905"
],
"event": [
@ -350,7 +365,7 @@
"Levelid": 0,
"datas": [
"GameMain",
"20020_熊猫_船甲板",
"梅林",
"901"
],
"event": [
@ -365,7 +380,7 @@
"Levelid": 0,
"datas": [
"GameMain",
"20020_小怪_船甲板",
"20020_小怪_船甲板1",
"901"
],
"event": [
@ -375,17 +390,17 @@
"goto": 0
},
{
"id": 100108,
"id": 100105,
"heroid": 25001,
"Levelid": 0,
"datas": [
"GameMain",
"20020_熊猫_船甲板",
"20020_小怪_船甲板2",
"901"
],
"event": [
2,
10050
1,
102
],
"goto": 0
},
@ -395,12 +410,12 @@
"Levelid": 0,
"datas": [
"GameMain",
"熊猫_圣桃树_常驻",
"20060-乌龟大师",
"901"
],
"event": [
2,
10060
10041
],
"goto": 0
},
@ -410,42 +425,12 @@
"Levelid": 0,
"datas": [
"GameMain",
"恐惧碎片调查点1",
"功能入口-招募",
"901"
],
"event": [
2,
10070
],
"goto": 0
},
{
"id": 10025,
"heroid": 44004,
"Levelid": 0,
"datas": [
"GameMain",
"恐惧碎片调查点2",
"901"
],
"event": [
2,
10080
],
"goto": 0
},
{
"id": 10026,
"heroid": 25001,
"Levelid": 0,
"datas": [
"GameMain",
"恐惧碎片调查点3",
"901"
],
"event": [
2,
10090
100411
],
"goto": 0
},
@ -470,12 +455,12 @@
"Levelid": 0,
"datas": [
"GameMain",
"邦尼兔_圣桃树_常驻",
"功能入口-招募",
"901"
],
"event": [
2,
10100
10042
],
"goto": 0
},
@ -485,70 +470,27 @@
"Levelid": 0,
"datas": [
"GameMain",
"邦尼兔_圣桃树_常驻",
"901"
],
"event": [
1,
102
],
"goto": 0
},
{
"id": 10038,
"heroid": 24004,
"Levelid": 0,
"datas": [
"GameMain",
"熊猫_圣桃树_常驻",
"20030_扫地点1号",
"901"
],
"event": [
2,
10130
10043
],
"goto": 0
},
{
"id": 10040,
"heroid": 25001,
"Levelid": 0,
"datas": [
"GameMain",
"熊猫_圣桃树_常驻",
"901"
],
"event": [
2,
10130
],
"goto": 0
},
{
"id": 10044,
"id": 10035,
"heroid": 24004,
"Levelid": 0,
"datas": [
"GameMain",
"邦尼兔_圣桃树_常驻",
"20030_扫地点2号",
"901"
],
"event": [
1,
103
],
"goto": 0
},
{
"id": 10048,
"heroid": 25001,
"Levelid": 0,
"datas": [
"GameMain",
"901"
],
"event": [
0
2,
10044
],
"goto": 0
},
@ -558,12 +500,12 @@
"Levelid": 0,
"datas": [
"GameMain",
"熊猫_圣桃树_常驻",
"20020_阿宝_常驻",
"901"
],
"event": [
2,
10130
10060
],
"goto": 0
},
@ -597,6 +539,96 @@
],
"goto": 0
},
{
"id": 100321,
"heroid": 45001,
"Levelid": 0,
"datas": [
"GameMain",
"20020_阿宝_常驻",
"901"
],
"event": [
2,
10070
],
"goto": 0
},
{
"id": 100322,
"heroid": 45001,
"Levelid": 0,
"datas": [
"GameMain",
"功能入口-招募",
"901"
],
"event": [
2,
10080
],
"goto": 0
},
{
"id": 100328,
"heroid": 45001,
"Levelid": 0,
"datas": [
"GameMain",
"功能入口-招募",
"901"
],
"event": [
2,
10142
],
"goto": 0
},
{
"id": 200331,
"heroid": 45001,
"Levelid": 0,
"datas": [
"GameMain",
"功能入口-招募",
"901"
],
"event": [
2,
10090
],
"goto": 0
},
{
"id": 200332,
"heroid": 45001,
"Levelid": 0,
"datas": [
"GameMain",
"功能入口-烹饪",
"901"
],
"event": [
2,
10100
],
"goto": 0
},
{
"id": 200338,
"heroid": 45001,
"Levelid": 0,
"datas": [
"GameMain",
"功能入口-烹饪",
"901"
],
"event": [
2,
10110
],
"goto": 0
},
{
"id": 100421,
"heroid": 35002,

File diff suppressed because it is too large Load Diff

View File

@ -71,6 +71,8 @@ func (this *apiComp) Login(session comm.IUserSession, req *pb.UserLoginReq) (err
}
firstLogin = true
expand = &pb.DBUserExpand{}
user.CurSkin = this.module.ModuleTools.GetGlobalConf().Initper.T
}
// 玩家是否封号
if user.Ban {

View File

@ -22,6 +22,7 @@ type GameBuriedCondiData struct {
Head *Gameatn
NpcEventType int32
NPC int32
Tipstxt string
Value int32
Filter []int32
Filter2 []string
@ -58,6 +59,7 @@ func (_v *GameBuriedCondiData)Deserialize(_buf map[string]interface{}) (err erro
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["head"].(map[string]interface{}); !_ok_ { err = errors.New("head error"); return }; if _v.Head, err = DeserializeGameatn(_x_); err != nil { return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["Npc_event_type"].(float64); !_ok_ { err = errors.New("Npc_event_type error"); return }; _v.NpcEventType = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["NPC"].(float64); !_ok_ { err = errors.New("NPC error"); return }; _v.NPC = int32(_tempNum_) }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["tipstxt"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Tipstxt error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Tipstxt, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["value"].(float64); !_ok_ { err = errors.New("value error"); return }; _v.Value = int32(_tempNum_) }
{
var _arr_ []interface{}

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 GameEffect struct {
_dataMap map[string]*GameEffectData
_dataList []*GameEffectData
}
func NewGameEffect(_buf []map[string]interface{}) (*GameEffect, error) {
_dataList := make([]*GameEffectData, 0, len(_buf))
dataMap := make(map[string]*GameEffectData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameEffectData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Key] = _v
}
}
return &GameEffect{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameEffect) GetDataMap() map[string]*GameEffectData {
return table._dataMap
}
func (table *GameEffect) GetDataList() []*GameEffectData {
return table._dataList
}
func (table *GameEffect) Get(key string) *GameEffectData {
return table._dataMap[key]
}

View File

@ -0,0 +1,37 @@
//------------------------------------------------------------------------------
// <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 GameEffectData struct {
Key string
Path string
}
const TypeId_GameEffectData = -1242838953
func (*GameEffectData) GetTypeId() int32 {
return -1242838953
}
func (_v *GameEffectData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; if _v.Key, _ok_ = _buf["key"].(string); !_ok_ { err = errors.New("key error"); return } }
{ var _ok_ bool; if _v.Path, _ok_ = _buf["path"].(string); !_ok_ { err = errors.New("path error"); return } }
return
}
func DeserializeGameEffectData(_buf map[string]interface{}) (*GameEffectData, error) {
v := &GameEffectData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -20,10 +20,8 @@ type GamePlayerInfor_overviewData struct {
Url string
Tips int32
Resources string
Vague string
PvpAnimator string
Mainq string
Vagueq string
Name string
Txt string
}
@ -57,10 +55,8 @@ func (_v *GamePlayerInfor_overviewData)Deserialize(_buf map[string]interface{})
{ var _ok_ bool; if _v.Url, _ok_ = _buf["url"].(string); !_ok_ { err = errors.New("url error"); return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["tips"].(float64); !_ok_ { err = errors.New("tips error"); return }; _v.Tips = int32(_tempNum_) }
{ var _ok_ bool; if _v.Resources, _ok_ = _buf["resources"].(string); !_ok_ { err = errors.New("resources error"); return } }
{ var _ok_ bool; if _v.Vague, _ok_ = _buf["vague"].(string); !_ok_ { err = errors.New("vague error"); return } }
{ var _ok_ bool; if _v.PvpAnimator, _ok_ = _buf["pvpAnimator"].(string); !_ok_ { err = errors.New("pvpAnimator error"); return } }
{ var _ok_ bool; if _v.Mainq, _ok_ = _buf["mainq"].(string); !_ok_ { err = errors.New("mainq error"); return } }
{ var _ok_ bool; if _v.Vagueq, _ok_ = _buf["vagueq"].(string); !_ok_ { err = errors.New("vagueq error"); return } }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["name"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Name error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Name, _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["txt"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Txt error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Txt, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
return

View File

@ -33,6 +33,8 @@ type GameWorldTaskData struct {
AutoAccept int32
Tasktips int32
LockAdd int32
Finish []int32
Fnishipoint []string
Reword []*Gameatn
Module []string
}
@ -105,6 +107,34 @@ func (_v *GameWorldTaskData)Deserialize(_buf map[string]interface{}) (err error)
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["auto_accept"].(float64); !_ok_ { err = errors.New("auto_accept error"); return }; _v.AutoAccept = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["tasktips"].(float64); !_ok_ { err = errors.New("tasktips error"); return }; _v.Tasktips = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["lock_add"].(float64); !_ok_ { err = errors.New("lock_add error"); return }; _v.LockAdd = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["finish"].([]interface{}); !_ok_ { err = errors.New("finish error"); return }
_v.Finish = 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.Finish = append(_v.Finish, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["fnishipoint"].([]interface{}); !_ok_ { err = errors.New("fnishipoint error"); return }
_v.Fnishipoint = 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.Fnishipoint = append(_v.Fnishipoint, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool

View File

@ -300,6 +300,7 @@ type Tables struct {
CatchbugReward *GameCatchbugReward
CatchbugLllustrated *GameCatchbugLllustrated
CatchbugSkill *GameCatchbugSkill
Effect *GameEffect
}
func NewTables(loader JsonLoader) (*Tables, error) {
@ -2041,5 +2042,11 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.CatchbugSkill, err = NewGameCatchbugSkill(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_effect") ; err != nil {
return nil, err
}
if tables.Effect, err = NewGameEffect(buf) ; err != nil {
return nil, err
}
return tables, nil
}

View File

@ -304,6 +304,7 @@ type GameGlobalData struct {
TdHp int32
TdDivisionAngle int32
Playerexname string
Initper *Gameatn
}
const TypeId_GameGlobalData = 477542761
@ -1191,6 +1192,7 @@ func (_v *GameGlobalData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["td_Hp"].(float64); !_ok_ { err = errors.New("td_Hp error"); return }; _v.TdHp = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["td_division_angle"].(float64); !_ok_ { err = errors.New("td_division_angle error"); return }; _v.TdDivisionAngle = int32(_tempNum_) }
{ var _ok_ bool; if _v.Playerexname, _ok_ = _buf["playerexname"].(string); !_ok_ { err = errors.New("playerexname error"); return } }
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["initper"].(map[string]interface{}); !_ok_ { err = errors.New("initper error"); return }; if _v.Initper, err = DeserializeGameatn(_x_); err != nil { return } }
return
}

View File

@ -15,12 +15,13 @@ type GameOpencondData struct {
Name string
Main []*GameOpenedCond
Wkqbx int32
Kqbx int32
Img string
Prompt string
Uiid int32
ActivateType int32
Notify []string
Kqbx int32
KqbxText string
}
const TypeId_GameOpencondData = -1990600014
@ -47,7 +48,6 @@ func (_v *GameOpencondData)Deserialize(_buf map[string]interface{}) (err error)
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["wkqbx"].(float64); !_ok_ { err = errors.New("wkqbx error"); return }; _v.Wkqbx = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["kqbx"].(float64); !_ok_ { err = errors.New("kqbx error"); return }; _v.Kqbx = int32(_tempNum_) }
{ var _ok_ bool; if _v.Img, _ok_ = _buf["img"].(string); !_ok_ { err = errors.New("img error"); return } }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["prompt"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Prompt error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Prompt, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["uiid"].(float64); !_ok_ { err = errors.New("uiid error"); return }; _v.Uiid = int32(_tempNum_) }
@ -66,6 +66,8 @@ func (_v *GameOpencondData)Deserialize(_buf map[string]interface{}) (err error)
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["kqbx"].(float64); !_ok_ { err = errors.New("kqbx error"); return }; _v.Kqbx = int32(_tempNum_) }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["kqbx_text"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.KqbxText error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.KqbxText, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
return
}