| 1234567891011121314151617 |
- using System;
- using Base;
- using Model;
- namespace Controller
- {
- [MessageHandler(AppType.Gate)]
- public class R2G_GetLoginKeyHandler : AMRpcHandler<R2G_GetLoginKey, G2R_GetLoginKey>
- {
- protected override void Run(Session session, R2G_GetLoginKey message, Action<G2R_GetLoginKey> reply)
- {
- long key = Game.Scene.GetComponent<GateSessionKeyComponent>().Get();
- G2R_GetLoginKey g2RGetLoginKey = new G2R_GetLoginKey(key);
- reply(g2RGetLoginKey);
- }
- }
- }
|