16 lines
433 B
Go
16 lines
433 B
Go
package model
|
|
|
|
type VehicleInfo struct {
|
|
InVehicleEntityId uint32 // 玩家所在载具的实体Id
|
|
LastCreateTime int64 // 最后一次创建载具的时间
|
|
CreateEntityIdMap map[uint32]uint32 // 创建载具的实体Id map[vehicleId]EntityId
|
|
}
|
|
|
|
func NewVehicleInfo() *VehicleInfo {
|
|
return &VehicleInfo{
|
|
InVehicleEntityId: 0,
|
|
LastCreateTime: 0,
|
|
CreateEntityIdMap: make(map[uint32]uint32),
|
|
}
|
|
}
|