using System.Threading.Tasks; using Model; namespace Controller { public class CMsgLogin { public byte[] Account { get; set; } public byte[] PassMd5 { get; set; } } [Message(ServerType.Gate)] internal class CMsgLoginEvent : MEvent> { public override async Task Run(CMsgLogin msg) { return true; } } }