package old // ---------------------------------------- rig ---------------------------------------- // Rig 钻机 type Rig struct { Head uint32 `json:"Head,omitempty"` //头部部件 HeadStar uint32 `json:"HeadStar,omitempty"` //头部部件 Body uint32 `json:"Body,omitempty"` //机身部件 BodyStar uint32 `json:"BodyStar,omitempty"` //机身部件 Tail uint32 `json:"Tail,omitempty"` //尾部部件 TailStar uint32 `json:"TailStar,omitempty"` //尾部部件 Equips Equips `json:"Equips,omitempty"` //钻机装备 Pendants Pendants `json:"Pendants,omitempty"` //钻机挂件 Attrs Attrs `json:"Attrs,omitempty"` //钻机属性 } // MsgRigInfoAck 钻机列表 type MsgRigInfoAck struct { *Rig } type RigComponent struct { ItemId uint32 `json:"ItemId"` Id uint32 `json:"Id"` StarId uint32 `json:"StarId"` Type uint32 `json:"Type"` Setup bool `json:"Setup,omitempty"` } //------------------------------------ rig component ---------------------------------- type MsgRigComponentListAck struct { List []*RigComponent `json:"List,omitempty"` //部件列表 } type RigComponentChange struct { *RigComponent ChangeType uint32 `json:"ChangeType"` } type MsgRigComponentChangeListAck struct { List []*RigComponentChange `json:"List"` //部件变更列表 } type MsgRigComponentSetReq struct { Type uint32 `json:"Type"` Id uint32 `json:"Id,omitempty"` //钻机装备ID(传0为取下装备) } type MsgRigComponentUpgradeReq struct { ItemId uint32 `json:"ItemId"` } type MsgRigComponentStarUpgradeReq struct { ItemId uint32 `json:"ItemId"` } //-------------------------------------- rig equip ------------------------------------ type RigEquip struct { ItemId uint32 `json:"ItemId"` Id uint32 `json:"Id"` Setup bool `json:"Setup,omitempty"` } type MsgRigEquipListAck struct { List []*RigEquip `json:"List,omitempty"` //装备列表 } type RigEquipChange struct { *RigEquip ChangeType uint32 `json:"ChangeType"` } type MsgRigEquipChangeListAck struct { List []*RigEquipChange `json:"List"` //装备变更列表 } type MsgRigEquipSetReq struct { Index uint32 `json:"Index"` //钻机栏下标(0开始,如果栏位已有装备会被替换) Id uint32 `json:"Id"` //钻机装备ID(传0为取下装备) } type MsgRigEquipUpgradeReq struct { ItemId uint32 `json:"ItemId"` } type MsgRigEquipUpgradeAllReq struct { List []uint32 `json:"List"` //钻机装备ID列表l } //------------------------------------- rig pendant ----------------------------------- type RigPendant struct { ItemId uint32 `json:"ItemId"` Id uint32 `json:"Id"` Setup bool `json:"Setup,omitempty"` } type MsgRigPendantListAck struct { List []*RigPendant `json:"List,omitempty"` //装备列表 } type RigPendantChange struct { *RigPendant ChangeType uint32 `json:"ChangeType"` } type MsgRigPendantChangeListAck struct { List []*RigPendantChange `json:"List"` //装备变更列表 } type MsgRigPendantSetReq struct { Index uint32 `json:"Index"` //钻机栏下标(0开始,如果栏位已有装备会被替换) Id uint32 `json:"Id"` //钻机装备ID(传0为取下装备) } type MsgRigPendantUpgradeReq struct { ItemId uint32 `json:"ItemId"` } type MsgRigPendantUpgradeAllReq struct { List []uint32 `json:"List"` //钻机装备ID列表l } //------------------------------------ rig remains ------------------------------------ type RigRemains struct { ItemId uint32 `json:"ItemId"` Id uint32 `json:"Id"` //钻机遗物ID } type MsgRigRemainsListAck struct { List []*RigRemains `json:"List,omitempty"` } type RigRemainsChange struct { *RigRemains ChangeType uint32 `json:"ChangeType"` } type MsgRigRemainsChangeListAck struct { List []*RigRemainsChange `json:"List,omitempty"` } type MsgRigRemainsUpgradeReq struct { ItemId uint32 `json:"ItemId"` } //-------------------------------------- rig core ------------------------------------ type RigCore struct { ItemId uint32 `json:"ItemId"` Id uint32 `json:"Id"` Socket uint32 `json:"Socket,omitempty"` } type MsgRigCoreListAck struct { List []*RigCore `json:"List,omitempty"` //核心列表 } type RigCoreChange struct { *RigCore ChangeType uint32 `json:"ChangeType"` } type MsgRigCoreChangeListAck struct { List []*RigCoreChange `json:"List"` //核心变更列表 } type MsgRigCoreSetReq struct { Id uint32 `json:"Id"` //钻机核心ID Socket uint32 `json:"Socket"` //钻机核心插孔(1-19, 0从插孔取下) } type MsgRigCoreSetAllReq struct { } type MsgRigCoreUpgradeReq struct { ItemId uint32 `json:"ItemId"` } //type MsgRigCoreUpgradeAllReq struct { //} //------------------------------------ rig smelter ------------------------------------ type Smelter struct { Type uint32 `json:"Type"` Id uint32 `json:"Id"` Exp uint32 `json:"Exp"` } type MsgRigSmelterListAck struct { List []*Smelter `json:"List"` } type MsgRigSmelterChangeAck struct { *Smelter } type MsgRigSmelterSmeltReq struct { Type uint32 `json:"Type"` Times uint32 `json:"Times"` } type MsgRigSmelterSmeltAck struct { *MsgRewardListAck } //----------------------------------- rig character ----------------------------------- type RigCharacter struct { ItemId uint32 `json:"ItemId"` //物品ID Id uint32 `json:"Id"` //人物ID StarId uint32 `json:"StarId"` //星级ID } type MsgRigCharacterListAck struct { List []*RigCharacter `json:"List"` } type RigCharacterChange struct { *RigCharacter ChangeType uint32 `json:"ChangeType"` } type MsgRigCharacterChangeListAck struct { List []*RigCharacterChange `json:"List"` } type MsgRigCharacterUpgradeReq struct { ItemId uint32 `json:"ItemId"` } type MsgRigCharacterStarUpgradeReq struct { ItemId uint32 `json:"ItemId"` } type RigTeam struct { Members Team `json:"Members"` } type MsgRigTeamListAck struct { Team uint32 `json:"Team,omitempty"` //当前编队(下标) List []*RigTeam `json:"List,omitempty"` //编队列表 } type MsgRigTeamSaveReq struct { Team uint32 `json:"Team,omitempty"` //当前编队(下标) List []*RigTeam `json:"List,omitempty"` //编队列表 } type MsgRigTeamSaveAck struct { Team uint32 `json:"Team,omitempty"` //当前编队(下标) List []*RigTeam `json:"List,omitempty"` //编队列表 } type RigTrammelsProcess struct { Level uint32 `json:"Level"` //羁绊等级 ItemId uint32 `json:"ItemId"` //羁绊对象 Process uint32 `json:"Process"` //羁绊进度 } type RigTrammelsStatus struct { Level uint32 `json:"Level"` //羁绊等级 Status uint32 `json:"Status"` //羁绊状态(0.不可激活, 1.可激活, 2.已激活) } type RigTrammels struct { Group uint32 `json:"Group"` //羁绊 ProcessList []*RigTrammelsProcess `json:"ProcessList"` //进度列表 StatusList []*RigTrammelsStatus `json:"StatusList"` //状态列表 } type MsgRigTrammelsListAck struct { List []*RigTrammels `json:"List,omitempty"` } type MsgRigTrammelsActivateReq struct { Group uint32 `json:"Group"` Level uint32 `json:"Level"` } type MsgRigTrammelsActivateAck struct { *RigTrammelsStatus Group uint32 `json:"Group"` } type RigWarship struct { Uid uint32 `json:"Uid"` Id uint32 `json:"Id"` StarId uint32 `json:"StarId"` LevelId uint32 `json:"LevelId"` Skills []uint32 `json:"Skills"` Setup bool `json:"Setup"` } type MsgRigWarshipListAck struct { List []*RigWarship `json:"List"` } type RigWarshipChange struct { *RigWarship ChangeType uint32 `json:"ChangeType"` } type MsgRigWarshipChangeAck struct { List []*RigWarshipChange `json:"List"` } type MsgRigWarshipSetReq struct { Uid uint32 `json:"Uid"` } type MsgRigWarshipUpgradeReq struct { Uid uint32 `json:"Uid"` } type MsgRigWarshipFuseReq struct { Uid uint32 `json:"Uid"` TargetUid uint32 `json:"TargetUid"` } type MsgRigWarshipReformReq struct { Uid uint32 `json:"Uid"` LockedSkills []uint32 `json:"LockedSkills"` } type MsgFunctionOpen1UnlockReq struct { Id uint32 `json:"Id"` }