数据库相关
/// <summary>
/// SQl执行
/// </summary>
/// <param name="sql"> SQl 语句 </param>
/// <param name="callback"> 执行完sql的回调</param>
void ClientDbExecute(String sql, Action callback<JsonObject>);
/// <summary>
/// SQl查询(后期考虑加入查询结果缓存)
/// </summary>
/// <param name="sql"> 执行的SQl 语句 </param>
/// <param name="callback"> 执行完sql的回调</param>
void ClientDbQuery(String sql, Action callback<JsonObject>);
配置相关
/// <summary>
/// 获取插件配置项
/// </summary>
/// <param name="key"> 配置项 </param>
/// <param name="callback"> </param>
void ClientGetConfigs(String key, Action callback<JsonObject>);
/// <summary>
/// 保存插件配置
/// </summary>
/// <param name="key">配置名</param>
/// <param name="configs"></param>
/// <param name="callback"></param>
void ClientSetConfigs(String key, JsonObject configs, Action<JsonObject> callback = null)
积分相关
/// <summary>
/// 增减积分
/// </summary>
/// <param name="robot">要操作的机器人</param>
/// <param name="qun">要添加积分的群</param>
/// <param name="uin">要添加积分的群成员</param>
/// <param name="score">添加/减少积分</param>
/// <param name="op">操作类型,插件自定义</param>
/// <param name="desc">描述(可存json对象进行扩展)</param>
/// <param name="callback"></param>
void CoreModifyScores(uint robot, uint qun, uint uin, int score, String op, String desc, Action<JsonObject> callback);
/// <summary>
/// 群积分日志汇总查询
/// </summary>
/// <param name="robot">要查询的机器人</param>
/// <param name="qun">要查询的的群</param>
/// <param name="op">操作类型,插件自定义</param>
/// <param name="startTime">查询开始时间</param>
/// <param name="endTime">查询结束时间</param>
/// <param name="page">页码(0代码不分页)</param>
/// <param name="size">每页展示数</param>
/// <param name="callback"></param>
void QueryScoreChange(uint robot, uint qun, String op, Int64 startTime, Int64 endTime, uint page, uint size, Action<JsonObject> callback)
/// <summary>
/// 获取群成员积分
/// </summary>
/// <param name="robot"></param>
/// <param name="qun"></param>
/// <param name="callback"></param>
void CoreGetQunScores(uint robot, uint qun, Action<JsonObject> callback)