Ejemplo n.º 1
0
 public void SendReqInvitationChallengeParticipate(Action <string, string> response, Action <string> timeout, List <string> to)
 {
     PK.InviteChallengeParticipate.SendData data = new PK.InviteChallengeParticipate.SendData();
     data.challenge_id = USER.I._PKInvitChallengeCheck.data.id;
     data.item_id      = USER.I._PKInvitChallengeCheck.data.item[USER.I._PKInvitChallengeStatus.data.index].id;
     data.request_id   = "";
     data.count        = to.Count;
     data.to           = to.ToArray();
     PK.InviteChallengeParticipate.SEND command = new PK.InviteChallengeParticipate.SEND(PKID.InvitationChallengeParticipate, data);
     _NetSocket.SendData(xLitJson.JsonMapper.ToJson(command), PKID.InvitationChallengeParticipate, response, timeout);
 }
Ejemplo n.º 2
0
 public SEND(string cmd, SendData data)
 {
     this.cmd  = cmd;
     this.data = data;
 }