Ejemplo n.º 1
0
 public void ChangeCustomPlayerStatus(ChangeCustomPlayerStatusPara para, Action <ResponseEvent> callback)
 {
     Sdk.ChangeCustomPlayerStatus(para, (eve) => {
         if (eve.Data != null)
         {
             var rsp  = (ChangeCustomPlayerStatusRsp)eve.Data;
             eve.Data = rsp.RoomInfo?.ToByteString();
             this.RoomUtil.SaveRoomInfo(eve);
             eve.Data = rsp;
         }
         callback?.Invoke(eve);
     });
 }