public string add(SingleMessage message, Target target) { if (seqId >= 5000) { throw new Exception("Can not add over 5000 message once! Please call submit() first."); } innerMsgList.Add(SingleBatchItem.CreateBuilder().SetSeqId(seqId).SetData(createPostParams(message, target)) .Build()); ++seqId; return(string.Concat(seqId)); }
// Token: 0x060004A6 RID: 1190 RVA: 0x00009978 File Offset: 0x00007B78 public string add(SingleMessage message, igetui.Target target) { if (seqId >= 5000) { throw new Exception("Can not add over 5000 message once! Please call submit() first."); } string data = createPostParams(message, target); SingleBatchItem item = SingleBatchItem.CreateBuilder().SetSeqId(seqId).SetData(data).Build(); innerMsgList.Add(item); seqId++; return(string.Concat(seqId) ?? ""); }