public SetGroupBanCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, long groupId, long qqId, long time) : base(simulator, app, isAuth) { this.GroupId = groupId; this.QqId = qqId; this.DurationTime = TimeSpan.FromSeconds(time); }
public GetGroupMemberInfoV2Command(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, long groupId, long qqId, bool isCache) : base(simulator, app, isAuth) { this.GroupId = groupId; this.QqId = qqId; this.IsCache = isCache; }
public SetGroupAnonymousBanCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, long groupId, IntPtr anonymous, long banTime) : base(simulator, app, isAuth) { this.GroupId = groupId; //this.Anonymous = this.DurationTime = TimeSpan.FromSeconds(banTime); }
public SetGroupKickCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, long groupId, long qqId, bool refuses) : base(simulator, app, isAuth) { this.GroupId = groupId; this.QqId = qqId; this.Refuses = refuses; }
public SetGroupAdminCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, long groupId, long qqId, bool isSet) : base(simulator, app, isAuth) { this.GroupId = groupId; this.QqId = qqId; this.IsSet = isSet; }
public AddLogCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, int level, string type, string contents) : base(simulator, app, isAuth) { this.Level = level; this.Type = type; this.Contents = contents; }
public SetGroupCardCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, long groupId, long qqId, string newCard) : base(simulator, app, isAuth) { this.GroupId = groupId; this.QqId = qqId; this.NewCard = newCard; }
public SetFriendAddRequestCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, string identifying, int requestType, string appendMsg) : base(simulator, app, isAuth) { this.Identifying = identifying; this.RequestType = requestType; this.AppendMsg = appendMsg; }
public SetGroupSpecialTitleCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, long groupId, long qqId, string title, long durationTime) : base(simulator, app, isAuth) { this.GroupId = groupId; this.QqId = qqId; this.Title = title; this.DurationTime = TimeSpan.FromSeconds(durationTime); }
public SendPrivateMsgCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, long qqId, string msg) : base(simulator, app, isAuth) { this.FromQQ = qqId; this.Message = msg; }
public GetImageCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, string file) : base(simulator, app, isAuth) { this.File = file; }
/// <summary> /// 初始化 <see cref="AbstractCommand"/> 类的新实例 /// </summary> /// <param name="app">相关联的应用 <see cref="CQPSimulatorApp"/></param> /// <param name="isAuth">指示当前命令是否得到授权</param> public AbstractCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth) { this.Simulator = simulator ?? throw new ArgumentNullException(nameof(simulator)); this.App = app ?? throw new ArgumentNullException(nameof(app)); this.IsAuth = isAuth; }
public GetAppDirectoryCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth) : base(simulator, app, isAuth) { }
public GetRecordV2Command(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, string file, string format) : base(simulator, app, isAuth) { this.File = file; this.Format = format; }
public GetStrangerInfoCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, long qqId, bool notCache) : base(simulator, app, isAuth) { this.QqId = QqId; this.NoCache = notCache; }
public CanSendImageCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth) : base(simulator, app, isAuth) { }
public GetGroupListCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth) : base(simulator, app, isAuth) { }
public GetCookiesV2Command(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, string domain) : base(simulator, app, isAuth) { this.Domain = domain; }
public SetGroupLeaveCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, long groupId, bool isDisband) : base(simulator, app, isAuth) { this.GroupId = groupId; this.IsDisband = isDisband; }
public SetFatalCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, string errorMsg) : base(simulator, app, isAuth) { this.ErrorMsg = errorMsg; }
public SendLinkV2Command(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, long qqId, int count) : base(simulator, app, isAuth) { FromQQ = qqId; Count = count; }
public GetLoginQQCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth) : base(simulator, app, isAuth) { }
public SendDiscussMsgCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, long discussId, string msg) : base(simulator, app, isAuth) { FromDiscuss = discussId; Message = msg ?? throw new ArgumentNullException(nameof(msg)); }
/// <summary> /// 初始化 <see cref="CommandRouteInvoker"/> 类的新实例 /// </summary> /// <param name="simulator">相关联的 <see cref="CQPSimulator"/></param> /// <param name="app">相关联的 <see cref="CQPSimulatorApp"/></param> /// <param name="isAuth">表示验证授权是否通过</param> public CommandRouteInvoker(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth) { Simulator = simulator; this.App = app; this.IsAuth = isAuth; }
public GetCsrfTokenCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth) : base(simulator, app, isAuth) { }
/// <summary> /// 初始化 <see cref="GroupMessageExpression"/> 类的新实例 /// </summary> /// <param name="simulator">任务表达式关联的模拟器</param> public GroupMessageExpression(CQPSimulator simulator) : base(simulator) { }
public SetDiscussLeaveCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, long discussId) : base(simulator, app, isAuth) { this.DiscussId = discussId; }
public SendGroupMsgCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, long groupId, string msg) : base(simulator, app, isAuth) { FromGroup = groupId; Message = msg; }
public DeleteMsgCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, long msgId) : base(simulator, app, isAuth) { MsgId = msgId; }
public GetGroupMemberListCommand(CQPSimulator simulator, CQPSimulatorApp app, bool isAuth, long groupId) : base(simulator, app, isAuth) { this.GroupId = groupId; }