天气、随机气象功能初步完成
This commit is contained in:
1 parent
0cab0d95c2
commit
ed3ec3710f
11 files changed
+398
-132
No files matched your search
@@ -106,7 +106,13 @@ func (c *CmdProtoMap) registerMessage() {
|
||||
c.regMsg(PlayerGameTimeNotify, func() any { return new(proto.PlayerGameTimeNotify) }) // 玩家游戏内时间通知
|
||||
c.regMsg(SceneEntityAppearNotify, func() any { return new(proto.SceneEntityAppearNotify) }) // 场景实体出现通知
|
||||
c.regMsg(SceneEntityDisappearNotify, func() any { return new(proto.SceneEntityDisappearNotify) }) // 场景实体消失通知
|
||||
c.regMsg(SceneAreaWeatherNotify, func() any { return new(proto.SceneAreaWeatherNotify) }) // 场景区域天气通知
|
||||
c.regMsg(SceneAreaWeatherNotify, func() any { return new(proto.SceneAreaWeatherNotify) }) // 场景地区天气通知
|
||||
c.regMsg(EnterSceneWeatherAreaNotify, func() any { return new(proto.EnterSceneWeatherAreaNotify) }) // 进入场景天气地区通知
|
||||
c.regMsg(ExitSceneWeatherAreaNotify, func() any { return new(proto.ExitSceneWeatherAreaNotify) }) // 离开场景天气地区通知
|
||||
c.regMsg(SetSceneWeatherAreaReq, func() any { return new(proto.SetSceneWeatherAreaReq) }) // 设置场景天气地区请求
|
||||
c.regMsg(SetSceneWeatherAreaRsp, func() any { return new(proto.SetSceneWeatherAreaRsp) }) // 设置场景天气地区响应
|
||||
c.regMsg(SceneWeatherForecastReq, func() any { return new(proto.SceneWeatherForecastReq) }) // 场景天气预测请求
|
||||
c.regMsg(SceneWeatherForecastRsp, func() any { return new(proto.SceneWeatherForecastRsp) }) // 场景天气预测响应
|
||||
c.regMsg(WorldPlayerLocationNotify, func() any { return new(proto.WorldPlayerLocationNotify) }) // 世界玩家位置通知
|
||||
c.regMsg(ScenePlayerLocationNotify, func() any { return new(proto.ScenePlayerLocationNotify) }) // 场景玩家位置通知
|
||||
c.regMsg(SceneForceUnlockNotify, func() any { return new(proto.SceneForceUnlockNotify) }) // 场景强制解锁通知
|
||||
|
||||
Reference in new issue
Block a user