public static void BGameFrame(int fId = 0, List <CliOperate> operList = null, Result result = Result.Success, string errStr = "") { BGameFrame bGameFrame = new BGameFrame(); bGameFrame.FId = fId; bGameFrame.OperList.AddRange(operList); SrvRes res = CreateSrvRes(SrvMsgType.BGameFrame, result, errStr); res.BGameFrame = bGameFrame; UdpSocket.Send(Serialize(res)); }
protected override void BGameFrame(BGameFrame msg, Result result, string errStr) { Console.WriteLine("BGameFrame"); }
protected virtual void BGameFrame(BGameFrame msg, Result result, string errStr) { Console.WriteLine("-----------------------no implements BGameFrame-----------------------"); }