mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
1.MongoDB、Redis兼容集群模式
2.离线数据接口化访问
This commit is contained in:
@@ -6,3 +6,11 @@ type VehicleInfo struct {
|
||||
// TODO 玩家可以在其他世界创建载具 需要额外处理
|
||||
LastCreateEntityIdMap map[uint32]uint32 // 最后一次创建载具的实体Id map[vehicleId]EntityId
|
||||
}
|
||||
|
||||
func NewVehicleInfo() *VehicleInfo {
|
||||
return &VehicleInfo{
|
||||
InVehicleEntityId: 0,
|
||||
LastCreateTime: 0,
|
||||
LastCreateEntityIdMap: make(map[uint32]uint32),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user