Search Results for

    Show / Hide Table of Contents

    Class SetRestartRequest

    重启酷 Q,并以当前登录号自动登录(需勾选快速登录)

    Inheritance
    System.Object
    ApiRequest
    SetRestartRequest
    Inherited Members
    ApiRequest.api_path
    ApiRequest.response
    ApiRequest.content
    Namespace: cqhttp.Cyan.ApiCall.Requests
    Assembly: cqhttp.Cyan.dll
    Syntax
    public class SetRestartRequest : ApiRequest

    Constructors

    | Improve this Doc View Source

    SetRestartRequest(Boolean, Boolean, Boolean)

    Declaration
    public SetRestartRequest(bool clean_log, bool clean_cache, bool clean_event)
    Parameters
    Type Name Description
    System.Boolean clean_log

    是否在重启时清空酷 Q 的日志数据库(logv1.db)

    System.Boolean clean_cache

    是否在重启时清空酷 Q 的缓存数据库(cache.db)

    System.Boolean clean_event

    是否在重启时清空酷 Q 的事件数据库(eventv2.db)

    • Improve this Doc
    • View Source
    ☀
    ☾