1.MongoDB、Redis兼容集群模式

2.离线数据接口化访问
This commit is contained in:
flswld
2023-02-26 23:03:13 +08:00
parent 01cb17d4a9
commit 0395dc0bc2
60 changed files with 1298 additions and 464 deletions
+8
View File
@@ -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),
}
}