123456789101112131415 |
- using Cysharp.Threading.Tasks;
- using KYFramework.Network;
- namespace SimulationServer;
- [MessageHandler]
- public class C2S_StmulationTimeScaleMessageHandler: AMHandler<C2S_StmulationTimeScale>
- {
- protected override UniTask Run(Session session, C2S_StmulationTimeScale message)
- {
- SessionComponent.Instance.Session = session;
- Init.SimulationSpeed = message.TimeScale;
- return UniTask.CompletedTask;
- }
- }
|