Exemple #1
0
        public static void GetMyGroups(Action <ResponseEvent> callback)
        {
            GetMyGroupsReq getMyGroupsReq = new GetMyGroupsReq
            {
            };

            Core.Group.GetMyGroups(getMyGroupsReq, eve => callback?.Invoke(eve));
        }
Exemple #2
0
        public string GetMyGroups(GetMyGroupsReq para, Action <ResponseEvent> callback)
        {
            const int subcmd   = (int)ProtoCmd.ECmdGetGroupListReq;
            var       response = new NetResponseCallback(GetMyGroupsResponse);
            var       seq      = this.Send(para, subcmd, response, callback);

            Debugger.Log("GetMyGroups_Para {0} {1}", para, seq);
            return(seq);
        }