C2S_LoginHandler.cs 337 B

1234567891011121314151617
  1. using System;
  2. using Base;
  3. using Model;
  4. namespace Controller
  5. {
  6. [MessageHandler(AppType.Realm)]
  7. public class C2S_LoginHandler: AMRpcEvent<C2S_Login, S2C_Login>
  8. {
  9. protected override void Run(Entity scene, C2S_Login message, Action<S2C_Login> reply)
  10. {
  11. Log.Info(MongoHelper.ToJson(message));
  12. reply(new S2C_Login());
  13. }
  14. }
  15. }