25 lines
800 B
Go
25 lines
800 B
Go
|
|
package info
|
||
|
|
|
||
|
|
import (
|
||
|
|
configm "blazing/modules/config/model"
|
||
|
|
"blazing/modules/player/model"
|
||
|
|
)
|
||
|
|
|
||
|
|
type MapModelBroadcastInfo struct {
|
||
|
|
Wer int32 `struc:"uint32"`
|
||
|
|
InfoLen uint32 `struc:"sizeof=INFO" json:"info_len"`
|
||
|
|
|
||
|
|
INFO []MapModelBroadcastEntry
|
||
|
|
}
|
||
|
|
|
||
|
|
type MapModelBroadcastEntry struct {
|
||
|
|
ModelID uint32 `json:"model_id" protobuf:"1,req,name=model_id"`
|
||
|
|
Region uint32 `json:"region" protobuf:"2,req,name=region"`
|
||
|
|
Hp int32 `struc:"uint32" json:"hp" protobuf:"3,req,name=hp"`
|
||
|
|
PosIndex uint32 `struc:"uint32" json:"pos_index" protobuf:"4,req,name=pos_index"`
|
||
|
|
IsShow int32 `struc:"uint32" json:"is_show"`
|
||
|
|
PosInfo []model.Pos `struc:"skip"`
|
||
|
|
Config configm.MapNode `struc:"skip"`
|
||
|
|
Model configm.MapModel `struc:"skip"`
|
||
|
|
}
|