using System; using KKSG; using XMainClient.UI; using XUtliPoolLib; namespace XMainClient { internal class Process_RpcC2M_AddBlackListNew { public static void OnReply(AddBlackListArg oArg, AddBlackListRes oRes) { bool flag = oRes == null; if (flag) { XSingleton.singleton.ShowErrorCode(ErrorCode.ERR_FAILED); } else { bool flag2 = oRes.errorcode == ErrorCode.ERR_SUCCESS; if (flag2) { XFriendsDocument specificDocument = XDocuments.GetSpecificDocument(XFriendsDocument.uuID); specificDocument.AddBlockFriendRes(oRes.black); } else { XSingleton.singleton.ShowSystemTip(oRes.errorcode, "fece00"); } } } public static void OnTimeout(AddBlackListArg oArg) { } } }