using System; using System.Reflection; using KKSG; using XMainClient.UI; using XUtliPoolLib; namespace XMainClient { internal class Process_RpcC2G_BuyJadeSlot { public static void OnReply(BuyJadeSlotArg oArg, BuyJadeSlotRes oRes) { bool flag = oRes.ErrorCode == ErrorCode.ERR_INVALID_REQUEST; if (flag) { string fullName = MethodBase.GetCurrentMethod().ReflectedType.FullName; XSingleton.singleton.OnGetInvalidRequest(fullName); } else { XJadeDocument specificDocument = XDocuments.GetSpecificDocument(XJadeDocument.uuID); specificDocument.OnBuySlot(oRes); } } public static void OnTimeout(BuyJadeSlotArg oArg) { } } }