Tz2/Assets/Plugins/SGUnitySDK.xml

1647 lines
65 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0"?>
<doc>
<assembly>
<name>SGUnitySDK</name>
</assembly>
<members>
<member name="T:SGUnitySDK.Configs.SGUSysConfig">
<summary>
SGU sdk的配置类
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfig.DebugEnvHostProtocal">
<summary>
debug模式下的服务器协议
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfig.DebugEnvHostIP">
<summary>
debug模式下的服务器ip
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfig.DebugEnvHostPort">
<summary>
debug模式下的服务器端口
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfig.ProdEnvHostProtocal">
<summary>
生产模式下的服务器协议
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfig.ProdEnvHostIP">
<summary>
生产模式下的服务器ip
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfig.ProdEnvHostPort">
<summary>
生产模式下的服务器端口
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfig.FileHostProtocal">
<summary>
文件服务器的协议
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfig.FileHostIP">
<summary>
文件服务器的IP
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfig.FileHostPort">
<summary>
文件服务器的端口
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfig.AccessKeyId">
<summary>
文件服务上传的accessKeyId
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfig.SecretAccessKey">
<summary>
文件服务上传的secretAccessKey
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfig.BucketName">
<summary>
文件服务上传的bucketName
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfig.DefaultFolder">
<summary>
文件服务上传的defaultFolder
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfig.DefaultConfig">
<summary>
默认配置对象
</summary>
</member>
<member name="T:SGUnitySDK.Configs.SGUSysConfigDevelopment">
<summary>
开发服务器的配置类
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigDevelopment.DebugEnvHostProtocal">
<summary>
debug模式下的服务器协议
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigDevelopment.DebugEnvHostIP">
<summary>
debug模式下的服务器IP
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigDevelopment.DebugEnvHostPort">
<summary>
debug模式下的服务器端口
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigDevelopment.ProdEnvHostProtocal">
<summary>
prod模式下的服务器协议
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigDevelopment.ProdEnvHostIP">
<summary>
prod模式下的服务器IP
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigDevelopment.ProdEnvHostPort">
<summary>
prod模式下的服务器端口
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigDevelopment.FileHostProtocal">
<summary>
文件服务器的协议
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigDevelopment.FileHostIP">
<summary>
文件服务器的IP
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigDevelopment.FileHostPort">
<summary>
文件服务器的端口
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigDevelopment.AccessKeyId">
<summary>
文件服务上传的accessKeyId
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigDevelopment.SecretAccessKey">
<summary>
文件服务上传的secretAccessKey
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigDevelopment.BucketName">
<summary>
文件服务上传的bucketName
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigDevelopment.DefaultFolder">
<summary>
文件服务上传的defaultFolder
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigDevelopment.DefaultConfig">
<summary>
默认配置
</summary>
</member>
<member name="M:SGUnitySDK.Configs.SGUSysConfigDevelopment.#ctor">
<summary>
构造函数
</summary>
</member>
<member name="T:SGUnitySDK.Configs.SGUSysConfigManager">
<summary>
配置管理类
</summary>
</member>
<member name="M:SGUnitySDK.Configs.SGUSysConfigManager.#ctor">
<summary>
构造函数
</summary>
</member>
<member name="M:SGUnitySDK.Configs.SGUSysConfigManager.GetInstance">
<summary>
单例方法
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Configs.SGUSysConfigManager.GetDefaultSysConfig">
<summary>
获取默认的配置对象
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Configs.SGUSysConfigManager.ExtendUserConfig(SGUnitySDK.Etys.SGUConfig)">
<summary>
扩展用户配置
</summary>
<param name="_userConfig"></param>
</member>
<member name="M:SGUnitySDK.Configs.SGUSysConfigManager.GetServerProtocal">
<summary>
获取服务器协议
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Configs.SGUSysConfigManager.GetServerIp">
<summary>
获取服务器IP
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Configs.SGUSysConfigManager.GetFileServerIp">
<summary>
获取文件服务器IP
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Configs.SGUSysConfigManager.GetFileServerProtocal">
<summary>
获取文件服务器协议
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Configs.SGUSysConfigManager.GetFileServerPort">
<summary>
获取文件服务器端口
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Configs.SGUSysConfigManager.GetFileServerAccessKeyId">
<summary>
文件服务上传的accessKeyId
</summary>
</member>
<member name="M:SGUnitySDK.Configs.SGUSysConfigManager.GetFileServerSecretAccessKey">
<summary>
文件服务上传的secretAccessKey
</summary>
</member>
<member name="M:SGUnitySDK.Configs.SGUSysConfigManager.GetFileServerBucketName">
<summary>
文件服务上传的bucketName
</summary>
</member>
<member name="M:SGUnitySDK.Configs.SGUSysConfigManager.GetFileServerDefaultFolder">
<summary>
文件服务上传的defaultFolder
</summary>
</member>
<member name="M:SGUnitySDK.Configs.SGUSysConfigManager.GetServerPort">
<summary>
获取服务器端口
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Configs.SGUSysConfigManager.GetServerHost">
<summary>
获取服务器对象
</summary>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Configs.SGUSysConfigProduction">
<summary>
生产环境的系统配置
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigProduction.DebugEnvHostProtocal">
<summary>
debug模式下的服务器协议
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigProduction.DebugEnvHostIP">
<summary>
debug模式下的服务器ip
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigProduction.DebugEnvHostPort">
<summary>
debug模式下的服务器端口
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigProduction.ProdEnvHostProtocal">
<summary>
生产模式下的服务器协议
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigProduction.ProdEnvHostIP">
<summary>
生产模式下的服务器IP
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigProduction.ProdEnvHostPort">
<summary>
生产模式下的服务器端口
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigProduction.FileHostProtocal">
<summary>
文件服务器的协议
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigProduction.FileHostIP">
<summary>
文件服务器的IP
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigProduction.FileHostPort">
<summary>
文件服务器的端口
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigProduction.AccessKeyId">
<summary>
文件服务上传的accessKeyId
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigProduction.SecretAccessKey">
<summary>
文件服务上传的secretAccessKey
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigProduction.BucketName">
<summary>
文件服务上传的bucketName
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigProduction.DefaultFolder">
<summary>
文件服务上传的defaultFolder
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigProduction.DefaultConfig">
<summary>
默认配置
</summary>
</member>
<member name="M:SGUnitySDK.Configs.SGUSysConfigProduction.#ctor">
<summary>
构造函数
</summary>
</member>
<member name="T:SGUnitySDK.Configs.SGUSysConfigTesting">
<summary>
测试服务器的配置类
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigTesting.DebugEnvHostProtocal">
<summary>
debug模式下的服务器协议
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigTesting.DebugEnvHostIP">
<summary>
debug模式下的服务器IP
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigTesting.DebugEnvHostPort">
<summary>
debug模式下的服务器端口
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigTesting.ProdEnvHostProtocal">
<summary>
prod模式下的服务器协议
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigTesting.ProdEnvHostIP">
<summary>
prod模式下的服务器IP
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigTesting.ProdEnvHostPort">
<summary>
prod模式下的服务器端口
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigTesting.FileHostProtocal">
<summary>
文件服务器的协议
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigTesting.FileHostIP">
<summary>
文件服务器的IP
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigTesting.FileHostPort">
<summary>
文件服务器的端口
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigTesting.AccessKeyId">
<summary>
文件服务上传的accessKeyId
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigTesting.SecretAccessKey">
<summary>
文件服务上传的secretAccessKey
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigTesting.BucketName">
<summary>
文件服务上传的bucketName
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigTesting.DefaultFolder">
<summary>
文件服务上传的defaultFolder
</summary>
</member>
<member name="P:SGUnitySDK.Configs.SGUSysConfigTesting.DefaultConfig">
<summary>
默认配置
</summary>
</member>
<member name="M:SGUnitySDK.Configs.SGUSysConfigTesting.#ctor">
<summary>
构造函数
</summary>
</member>
<member name="T:SGUnitySDK.Etys.ServerHost">
<summary>
服务器对象
</summary>
</member>
<member name="F:SGUnitySDK.Etys.ServerHost.Protocal">
<summary>
协议http or https
</summary>
</member>
<member name="F:SGUnitySDK.Etys.ServerHost.IP">
<summary>
IP
</summary>
</member>
<member name="F:SGUnitySDK.Etys.ServerHost.Port">
<summary>
端口
</summary>
</member>
<member name="M:SGUnitySDK.Etys.ServerHost.#ctor(System.String,System.String,System.String)">
<summary>
构造函数
</summary>
<param name="_protocal">协议</param>
<param name="_ip">IP</param>
<param name="_port">端口</param>
</member>
<member name="M:SGUnitySDK.Etys.ServerHost.GetBaseUrl">
<summary>
获取基准的URL
</summary>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Etys.SGAnswer">
<summary>
考生的考题答案实体类
</summary>
</member>
<member name="P:SGUnitySDK.Etys.SGAnswer.LessonPlanId">
<summary>
教案ID
</summary>
</member>
<member name="P:SGUnitySDK.Etys.SGAnswer.AnswerInfo">
<summary>
考生答案信息。需第三方应用自行组装答案结果。
</summary>
</member>
<member name="M:SGUnitySDK.Etys.SGAnswer.#ctor(System.Int32,System.Collections.Generic.List{SGUnitySDK.Etys.SGAnswerInfo})">
<summary>
构造函数
</summary>
<param name="planId">教案ID</param>
<param name="score">评分的分数</param>
<param name="answerInfo">考生答案信息。需第三方应用自行组装答案结果。</param>
</member>
<member name="T:SGUnitySDK.Etys.SGStep">
<summary>
答题详情实体类
</summary>
</member>
<member name="M:SGUnitySDK.Etys.SGStep.#ctor(System.String,System.Double,System.Double)">
<summary>
构造函数
</summary>
<param name="questionTitle"></param>
<param name="examineAnswer"></param>
<param name="rightAnswer"></param>
<param name="extraInfo"></param>
</member>
<member name="M:SGUnitySDK.Etys.SGStep.ToJSON">
<summary>
转换成JSON字符串
</summary>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Etys.SGAnswerInfo">
<summary>
答题详情实体类
</summary>
</member>
<member name="M:SGUnitySDK.Etys.SGAnswerInfo.#ctor(System.String,System.String,System.Double,System.Double,System.Int32,System.String,System.Collections.Generic.List{SGUnitySDK.Etys.SGStep})">
<summary>
构造函数
</summary>
<param name="questionTitle"></param>
<param name="examineAnswer"></param>
<param name="rightAnswer"></param>
<param name="extraInfo"></param>
</member>
<member name="M:SGUnitySDK.Etys.SGAnswerInfo.ToJSON">
<summary>
转换成JSON字符串
</summary>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Etys.SGUConfig">
<summary>
SGU SDK的配置类。由外部用户传入
</summary>
</member>
<member name="P:SGUnitySDK.Etys.SGUConfig.PRODUCT_MODE">
<summary>
是否生产模式。生产模式下会连接到生产环境并行为为生产模式。默认为false即调试模式debug。
应用上线前需要改为true
</summary>
</member>
<member name="M:SGUnitySDK.Etys.SGUConfig.ExtendConfig(SGUnitySDK.Etys.SGUConfig,SGUnitySDK.Etys.SGUConfig)">
<summary>
根据输入修改/扩展默认配置
</summary>
<param name="defaultConfig">默认配置</param>
<param name="inputConfig">外部输入的配置</param>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Services.FileStorage.SGFileStorageService">
<summary>
文件存储service类
</summary>
</member>
<member name="M:SGUnitySDK.Services.FileStorage.SGFileStorageService.GetInstance">
<summary>
单例方法
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.FileStorage.SGFileStorageService.InitS3Client">
<summary>
初始化S3客户端
</summary>
</member>
<member name="M:SGUnitySDK.Services.FileStorage.SGFileStorageService.UploadFile(System.String)">
<summary>
上传文件。
</summary>
<param name="localFilePath">本地的文件路径。</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.FileStorage.SGFileStorageService.DownloadFile(System.String,System.String)">
<summary>
下载文件。sourceUrl必须符合规则
</summary>
<param name="sourceUrl">来源文件URL</param>
<param name="localFilePath">本地文件路径</param>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Services.FileStorage.SGUploadResponse">
<summary>
上传操作的返回响应对象
</summary>
</member>
<member name="F:SGUnitySDK.Services.FileStorage.SGUploadResponse.ResponseCode">
<summary>
响应编码
</summary>
</member>
<member name="F:SGUnitySDK.Services.FileStorage.SGUploadResponse.ResponseMsg">
<summary>
响应消息
</summary>
</member>
<member name="F:SGUnitySDK.Services.FileStorage.SGUploadResponse.FileUrl">
<summary>
上传后的文件URL
</summary>
</member>
<member name="M:SGUnitySDK.Services.FileStorage.SGUploadResponse.#ctor(System.Int32,System.String,System.String)">
<summary>
构造函数
</summary>
<param name="_code"></param>
<param name="_msg"></param>
<param name="_url"></param>
</member>
<member name="T:SGUnitySDK.Services.HTTP.Error">
<summary>
HTTP请求错误对象
</summary>
</member>
<member name="F:SGUnitySDK.Services.HTTP.Error.code">
<summary>
编码
</summary>
</member>
<member name="F:SGUnitySDK.Services.HTTP.Error.msg">
<summary>
提示消息
</summary>
</member>
<member name="F:SGUnitySDK.Services.HTTP.Error.data">
<summary>
数据。统一规约为字符串
</summary>
</member>
<member name="M:SGUnitySDK.Services.HTTP.Error.#ctor(System.String,System.String,System.String)">
<summary>
构造函数
</summary>
<param name="_code">编码</param>
<param name="_msg">提示消息</param>
<param name="_data">数据</param>
</member>
<member name="M:SGUnitySDK.Services.HTTP.Error.TokenInvalidErr">
<summary>
token失效
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.Error.DefaultNetworkError(System.String)">
<summary>
默认网络错误
</summary>
<param name="expStr"></param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.Error.DefaultNetworkErrJObj(System.String)">
<summary>
默认网络错误返回JObject
</summary>
<param name="expStr"></param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.Error.CreateErrorJObject(System.String,System.String,System.String)">
<summary>
生成JObject
</summary>
<param name="_code"></param>
<param name="_msg"></param>
<param name="_data"></param>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Services.HTTP.HttpAuthService">
<summary>
权限service
</summary>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpAuthService.GetInstance">
<summary>
单例方法
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpAuthService.GetUserInfo">
<summary>
获取用户信息
</summary>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Services.HTTP.HttpCourseService">
<summary>
课程service
</summary>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpCourseService.GetInstance">
<summary>
单例方法
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpCourseService.GetCourseInfo(System.Int32)">
<summary>
获取课程基本信息
</summary>
<param name="courseId">课程ID</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpCourseService.GetCourseLesson(System.Int32,System.Int32,System.Int32)">
<summary>
获取课程案例列表-分页
</summary>
<param name="courseId">课程ID</param>
<param name="page">分页</param>
<param name="limit">页面数量</param>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Services.HTTP.HttpEventService">
<summary>
Event事件上报的httpservice
</summary>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpEventService.GetInstance">
<summary>
单例方法
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpEventService.UploadExamEventInfo(System.Int32,System.Int64,System.Int64,System.String,System.Int32,System.String)">
<summary>
提交一个考试事件记录
</summary>
<param name="examInfoId">考试ID</param>
<param name="userId">用户ID</param>
<param name="timestamp">时间戳。单位为秒。</param>
<param name="eventName">事件名</param>
<param name="appId">APP ID</param>
<param name="sceneName">考试场景名称</param>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Services.HTTP.HttpExamService">
<summary>
考试相关的http接口Service
</summary>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpExamService.GetInstance">
<summary>
单例方法
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpExamService.GetExamInfo(System.Int32)">
<summary>
获取考试信息详情
</summary>
<param name="examInfoId">考试ID</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpExamService.GetExamQuestionList(System.Int32)">
<summary>
获取考试所有考题。
但所有考题不一定是考生的考题,考生的考题是在考试全部题目中抽取的子集,可能存在混序的题目。
考生的考题请用GetExamQuestionStuList
</summary>
<param name="examInfoId">考试ID</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpExamService.PrepareExam(System.Int32,System.Int64)">
<summary>
考试准备。
</summary>
<param name="examInfoId">考试ID</param>
<param name="userId">考生的用户ID</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpExamService.StartExam(System.Int32,System.Int64)">
<summary>
考生开始考试
</summary>
<param name="examInfoId">考试ID</param>
<param name="userId">考生的用户ID</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpExamService.EndExam(System.Int32,System.Int64)">
<summary>
考生结束考试
</summary>
<param name="examInfoId">考试ID</param>
<param name="userId">考生的用户ID</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpExamService.UploadAnswer(System.Int32,System.Int64,System.Collections.Generic.List{SGUnitySDK.Etys.SGAnswer})">
<summary>
提交考生答题结果。该接口支持同步把自动评分的结果提交。
说明:
1该接口仅能在考试期间调用不在考试时间范围将会调用失败。
2该接口可以重复调用但后面调用的分数值将会覆盖前面已经提交过的分数所以如果需要更新分数请先获取一次已有分数避免意外覆盖。
</summary>
<param name="examInfoId"></param>
<param name="userId"></param>
<param name="answerList"></param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpExamService.CheckAnswer(System.Int32,System.Int64,System.Collections.Generic.List{SGUnitySDK.Etys.SGAnswer})">
<summary>
教师阅卷提交分数。
本接口中SGAnswer只对LessonPlanIdScoreRemark有效不需要提交AnswerInfo。
</summary>
<param name="examInfoId"></param>
<param name="userId"></param>
<param name="answerList"></param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpExamService.GetUserExamAnswerList(System.Int32,System.Int64)">
<summary>
获取某个考生答题结果
</summary>
<param name="examInfoId"></param>
<param name="userId"></param>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Services.HTTP.HttpLessonPlanService">
<summary>
教案相关的http接口Service
</summary>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpLessonPlanService.GetInstance">
<summary>
单例方法
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpLessonPlanService.GetLessonPublishedPlanList(System.Int32,System.Int32,System.Int32,System.Int32)">
<summary>
获取发布的教案列表
</summary>
<param name="appId">应用ID</param>
<param name="useWay">教案用途 1练习 2考试</param>
<param name="page">分页编号</param>
<param name="limit">页面数据数量</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpLessonPlanService.GetLessonApprovingPlanList(System.Int32,System.Int32,System.Int32,System.Int32)">
<summary>
获取待审核的教案列表。后台管理系统用。暂不开放
</summary>
<param name="appId">应用ID</param>
<param name="useWay">教案用途 1练习 2考试</param>
<param name="page">分页编号</param>
<param name="limit">页面数据数量</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpLessonPlanService.GetLessonPlanApproveList(System.Int32,System.Int32)">
<summary>
获取审核大厅教案列表,即待审核列表。
</summary>
<param name="page">分页编号</param>
<param name="limit">页面数据数量</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpLessonPlanService.GetLessonPlanDetail(System.Int32)">
<summary>
获取教案详情
</summary>
<param name="planId">教案ID</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpLessonPlanService.GetLessonPlanTypeList(System.Int32,System.Int32)">
<summary>
获取教案类型列表
</summary>
<param name="page">分页编号</param>
<param name="limit">分页大小</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpLessonPlanService.CreateLessonPlan(System.String,System.String,System.Int32,System.Int32,System.String,System.Collections.Generic.List{System.String},System.String,System.Int32,System.String)">
<summary>
创建一份教案
</summary>
<param name="name">教案名称</param>
<param name="url">教案文件的URL。需要先上传教案文件获取URL</param>
<param name="planType">教案类型ID</param>
<param name="appId">教案所属应用ID</param>
<param name="desc">教案描述</param>
<param name="useWay">教案用途 "P":"练习", "E":"考试","C":"课程"。如:["P"]</param>
<param name="icon">教案封面</param>
<param name="openType">开放方式 1全省公开2定向公开3仅自己可见</param>
<param name="saveType">操作方式 save:保存approve提交审核 push发布</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpLessonPlanService.UpdateLessonPlan(System.Int32,System.String,System.String,System.Int32,System.String,System.Int32)">
<summary>
更新一份教案的基础信息
</summary>
<param name="planId">需要被更新的教案ID</param>
<param name="name">教案名称</param>
<param name="url">教案文件URL</param>
<param name="planType">教案类型ID</param>
<param name="desc">教案描述</param>
<param name="useWay">教案用途 1练习 2考试</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpLessonPlanService.DeleteLessonPlan(System.Int32)">
<summary>
删除一份教案
</summary>
<param name="planId">教案ID</param>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Services.HTTP.HttpLogService">
<summary>
用于上传日志的http service类
</summary>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpLogService.GetInstance">
<summary>
单例方法
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpLogService.CreateLog(System.Int64,System.Int32,System.String,System.String,System.Int32,System.String,System.String)">
<summary>
创建一条工况记录。要事先上传一个工况文件,然后再提交一条工况记录。
</summary>
<param name="userId">用户ID</param>
<param name="appId">APP ID</param>
<param name="deviceId">设备ID</param>
<param name="ip">产生工况的设备ip</param>
<param name="timestamp">工况产生时间的时间戳</param>
<param name="prodTime">工况产生时间时间标准格式字符串形如“2020-04-05 11:12:13”</param>
<param name="fileUrl">工况文件URL</param>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Services.HTTP.HttpPractiseService">
<summary>
练习service
</summary>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpPractiseService.GetInstance">
<summary>
单例方法
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpPractiseService.GetPractiseInfo(System.Int32)">
<summary>
获取练习详情
</summary>
<param name="practiseId">练习ID</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpPractiseService.StartPractise(System.Int32,System.Int64)">
<summary>
开始练习。用于标记开始练习的时间。
</summary>
<param name="practiseId">练习ID</param>
<param name="userId">用户ID</param>
<param name="startTime">开始时间</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpPractiseService.PreparePractice(System.Int32,System.Int64)">
<summary>
获取某个考生的练习的考题。
</summary>
<param name="practiseId">考试ID</param>
<param name="userId">用户ID</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpPractiseService.EndPractise(System.Int32,System.Int64)">
<summary>
结束练习。用于标记结束练习的时间。
</summary>
<param name="practiseId">练习ID</param>
<param name="userId">用户ID</param>
<param name="endTime">开始时间</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpPractiseService.UploadAnswer(System.Int32,System.Int64,System.Collections.Generic.List{SGUnitySDK.Etys.SGAnswer})">
<summary>
学生答题
</summary>
<param name="practiseId">练习ID</param>
<param name="userId">用户ID</param>
<param name="answerList">答案列表</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpPractiseService.GetUserPractiseAnswerList(System.Int32,System.Int64)">
<summary>
获取某个学生答题结果
</summary>
<param name="practiseId">练习ID</param>
<param name="userId">用户ID</param>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Services.HTTP.HttpService">
<summary>
具体的接口层。请求服务的基类
这里要负责具体的一些数据结构转换,参数设定等
</summary>
</member>
<member name="F:SGUnitySDK.Services.HTTP.HttpService.SuccessCode">
<summary>
请求成功的code
</summary>
</member>
<member name="F:SGUnitySDK.Services.HTTP.HttpService.TokenInvalidCode">
<summary>
TOKEN失效的code
</summary>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpService.UpdateToken(System.String)">
<summary>
更新token方法
</summary>
<param name="_token"></param>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpService.UniversalPostReq(System.String,System.String)">
<summary>
通用的请求方法。这里对返回结果做统一的处理。相当于一个截面操作
</summary>
<param name="url">请求地址</param>
<param name="param">请求参数</param>
<returns>请求的返回值</returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpService.HttpPost(System.String,System.String,System.String)">
<summary>
通用POST方法
</summary>
<param name="Url">请求url</param>
<param name="postDataStr">请求参数</param>
<param name="token">权限tokenjwt</param>
<returns>返回请求数据流字符串</returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpService.HttpGet(System.String,System.String)">
<summary>
GET方法
</summary>
<param name="Url">请求url</param>
<param name="postDataStr">请求数据</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpService.SortJson(System.String)">
<summary>
对json进行排序
</summary>
<param name="json"></param>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Services.HTTP.HttpSysService">
<summary>
系统相关的http service类
</summary>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpSysService.GetInstance">
<summary>
单例方法
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpSysService.CheckSameName(System.String,System.String,System.Int32)">
<summary>
重名判断。
</summary>
<param name="type">判断重名的模块应用app 教案lesson_plan 考试exam 课程course。在SDK里面仅有创建教案的场景需要用到</param>
<param name="name">新名字</param>
<param name="filterId">用于排除检查是否相同的对象ID。如果填上该id则不会检查该id的名字是否跟name相同。不检查则传-1</param>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Services.HTTP.HttpWorkingConditionService">
<summary>
用于上传、查询工况的http service类
</summary>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpWorkingConditionService.GetInstance">
<summary>
单例方法
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpWorkingConditionService.CreateWorkingCondition(System.Int64,System.Int32,System.String,System.String,System.Int32,System.String,System.String)">
<summary>
创建一条工况记录。要事先上传一个工况文件,然后再提交一条工况记录。
</summary>
<param name="userId">用户ID</param>
<param name="appId">APP ID</param>
<param name="deviceId">设备ID</param>
<param name="ip">产生工况的设备ip</param>
<param name="timestamp">工况产生时间的时间戳</param>
<param name="prodTime">工况产生时间时间标准格式字符串形如“2020-04-05 11:12:13”</param>
<param name="fileUrl">工况文件URL</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.HTTP.HttpWorkingConditionService.SearchWorkingCondition(System.Int64,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.Int32,System.Int32)">
<summary>
工况模糊查询
</summary>
<param name="userId">用户ID。传-1表示不查询。</param>
<param name="appId">App的ID。传-1表示不查询。</param>
<param name="appName">App的名称。传null表示不查询</param>
<param name="deviceId">设备ID。传null表示不查询</param>
<param name="userName">用户名称。传null表示不查询。</param>
<param name="ip">IP。传null表示不查询</param>
<param name="startTime">开始时间。时间标准格式字符串形如“2020-04-05 11:12:13”。传null表示不查询</param>
<param name="endTime">结束时间。时间标准格式字符串形如“2020-04-05 11:12:13”。传null表示不查询</param>
<param name="page">分页编号。传-1表示不查询。</param>
<param name="limit">分页大小。传-1表示不查询。</param>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Services.HTTP.ResponObject">
<summary>
HTTP请求的返回值对象
</summary>
</member>
<member name="F:SGUnitySDK.Services.HTTP.ResponObject.code">
<summary>
编码
</summary>
</member>
<member name="F:SGUnitySDK.Services.HTTP.ResponObject.msg">
<summary>
消息
</summary>
</member>
<member name="F:SGUnitySDK.Services.HTTP.ResponObject.data">
<summary>
数据对象
</summary>
</member>
<member name="M:SGUnitySDK.Services.HTTP.ResponObject.#ctor(System.String,System.String,System.Object)">
<summary>
构造函数
</summary>
<param name="_code">编码</param>
<param name="_msg">消息</param>
<param name="_data">数据对象</param>
</member>
<member name="T:SGUnitySDK.Services.SGLog.SGLogService">
<summary>
日志工具类。会写到本地log.txt
</summary>
</member>
<member name="M:SGUnitySDK.Services.SGLog.SGLogService.Log(System.String)">
<summary>
记录log
</summary>
<param name="content"></param>
</member>
<member name="T:SGUnitySDK.Services.SGSocket.SGSocketClientManager">
<summary>
socket客户端类
</summary>
</member>
<member name="M:SGUnitySDK.Services.SGSocket.SGSocketClientManager.GetInstance">
<summary>
单例方法
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.SGSocket.SGSocketClientManager.ConnectServer">
<summary>
连接服务器
</summary>
</member>
<member name="M:SGUnitySDK.Services.SGSocket.SGSocketClientManager.SendMsg(System.String)">
<summary>
发送消息
</summary>
<param name="msg"></param>
</member>
<member name="T:SGUnitySDK.Services.SGStartParams.StartMode">
<summary>
启动类型枚举
</summary>
</member>
<member name="F:SGUnitySDK.Services.SGStartParams.StartMode.StartModeDefault">
<summary>
默认模式
</summary>
</member>
<member name="F:SGUnitySDK.Services.SGStartParams.StartMode.StartModeFreePractise">
<summary>
自由练习模式。等同于默认模式
</summary>
</member>
<member name="F:SGUnitySDK.Services.SGStartParams.StartMode.StartModePlanPractise">
<summary>
教案练习模式。此时会指定teachplanId
</summary>
</member>
<member name="F:SGUnitySDK.Services.SGStartParams.StartMode.StartModeExamTesting">
<summary>
考试模式。此时会指定考试ID
</summary>
</member>
<member name="F:SGUnitySDK.Services.SGStartParams.StartMode.StartModeExamEvaluating">
<summary>
阅卷模式。此时会指定考试ID和学生的用户ID
</summary>
</member>
<member name="F:SGUnitySDK.Services.SGStartParams.StartMode.StartModePractise">
<summary>
练习模式。此时会指定练习ID、案例ID列表、案例文件本地路径列表
</summary>
</member>
<member name="F:SGUnitySDK.Services.SGStartParams.StartMode.StartModeCourse">
<summary>
课程模式。此时会指定课程ID、案例ID列表、案例文件本地路径列表
</summary>
</member>
<member name="T:SGUnitySDK.Services.SGStartParams.SGAppStartMode">
<summary>
APP启动类型
</summary>
</member>
<member name="F:SGUnitySDK.Services.SGStartParams.SGAppStartMode.mode">
<summary>
启动类型
</summary>
</member>
<member name="F:SGUnitySDK.Services.SGStartParams.SGAppStartMode.appId">
<summary>
启动的APP ID。避免某些应用它内部不带APP ID的地方。而且APP ID也是提交后才生成的。所以就会有个悖论了。
</summary>
</member>
<member name="F:SGUnitySDK.Services.SGStartParams.SGAppStartMode.teachplanId">
<summary>
教案ID。当mode等于StartModePlanPractise有效
</summary>
</member>
<member name="F:SGUnitySDK.Services.SGStartParams.SGAppStartMode.planLocalPath">
<summary>
教案文件在本地存储的绝对路径。仅在考试模式下会预先下载教案文件至本地。
</summary>
</member>
<member name="F:SGUnitySDK.Services.SGStartParams.SGAppStartMode.examId">
<summary>
考试ID。当mode等于StartModeExamTesting或者StartModeExamEvaluating有效
</summary>
</member>
<member name="F:SGUnitySDK.Services.SGStartParams.SGAppStartMode.stuUserId">
<summary>
学生的用户ID。当mode等于StartModeExamEvaluating有效。要通过学生的用户id去获取考生答案
</summary>
</member>
<member name="F:SGUnitySDK.Services.SGStartParams.SGAppStartMode.practiseId">
<summary>
练习ID。仅mode等于StartModePractise有效
</summary>
</member>
<member name="F:SGUnitySDK.Services.SGStartParams.SGAppStartMode.courseId">
<summary>
课程ID。仅mode等于StartModeCourse有效
</summary>
</member>
<member name="M:SGUnitySDK.Services.SGStartParams.SGAppStartMode.#ctor(SGUnitySDK.Services.SGStartParams.StartMode,System.Int32,System.Int32,System.String,System.Int32,System.Int64)">
<summary>
构造函数
</summary>
<param name="_mode">启动模式</param>
<param name="_appId">APP ID</param>
<param name="_planId">教案ID</param>
<param name="_planLocalPath">教案本地路径</param>
<param name="_examId">考试ID</param>
<param name="_stuUserId">学生的用户ID</param>
</member>
<member name="M:SGUnitySDK.Services.SGStartParams.SGAppStartMode.#ctor(SGUnitySDK.Services.SGStartParams.StartMode,System.Int32,System.Int32,System.Int32,System.Int32,System.String)">
<summary>
构造函数
</summary>
<param name="_mode">启动模式</param>
<param name="_appId">APP ID</param>
<param name="_practiseId">练习ID</param>
<param name="_courseId">课程ID</param>
<param name="_planId">案例ID</param>
<param name="_planLocalPath">案例文件本地路径</param>
</member>
<member name="T:SGUnitySDK.Services.SGStartParams.SGStartParamsService">
<summary>
启动参数服务类
</summary>
</member>
<member name="M:SGUnitySDK.Services.SGStartParams.SGStartParamsService.GetInstance">
<summary>
获取当前类的实例
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.SGStartParams.SGStartParamsService.Init">
<summary>
初始化并解析
</summary>
</member>
<member name="M:SGUnitySDK.Services.SGStartParams.SGStartParamsService.Init(System.String,System.String)">
<summary>
初始化并解析
</summary>
</member>
<member name="M:SGUnitySDK.Services.SGStartParams.SGStartParamsService.GetToken">
<summary>
获取大厅传过来的token
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Services.SGStartParams.SGStartParamsService.GetStartMode">
<summary>
获得第三方应用的启动模式
</summary>
<returns></returns>
</member>
<member name="T:SGUnitySDK.SGUSdk">
<summary>
SDK对象
</summary>
</member>
<member name="M:SGUnitySDK.SGUSdk.GetInstance">
<summary>
单例方法
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.SGUSdk.InitSDK(SGUnitySDK.Etys.SGUConfig)">
<summary>
SDK的初始化操作
</summary>
</member>
<member name="M:SGUnitySDK.SGUSdk.InitSDKWeb(System.String,System.String,System.String)">
<summary>
SDK的初始化操作
</summary>
</member>
<member name="M:SGUnitySDK.SGUSdk.GetAppStartMode">
<summary>
获取第三方应用的启动模式
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.SGUSdk.TestMethod(System.String)">
<summary>
测试方法不要随便调用
</summary>
<param name="inputParams"></param>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Utils.AesHelper">
<summary>
</summary>
</member>
<member name="F:SGUnitySDK.Utils.AesHelper.PublicKey">
<summary>
默认密钥-密钥的长度必须是32
</summary>
</member>
<member name="F:SGUnitySDK.Utils.AesHelper.Iv">
<summary>
默认向量
</summary>
</member>
<member name="M:SGUnitySDK.Utils.AesHelper.Encrypt(System.String)">
<summary>
AES加密
</summary>
<param name="str">需要加密字符串</param>
<returns>加密后字符串</returns>
</member>
<member name="M:SGUnitySDK.Utils.AesHelper.Decrypt(System.String)">
<summary>
AES解密
</summary>
<param name="str">需要解密字符串</param>
<returns>解密后字符串</returns>
</member>
<member name="M:SGUnitySDK.Utils.AesHelper.Encrypt(System.String,System.String)">
<summary>
AES加密
</summary>
<param name="str">需要加密的字符串</param>
<param name="key">32位密钥</param>
<returns>加密后的字符串</returns>
</member>
<member name="M:SGUnitySDK.Utils.AesHelper.Decrypt(System.String,System.String)">
<summary>
AES解密
</summary>
<param name="str">需要解密的字符串</param>
<param name="key">32位密钥</param>
<returns>解密后的字符串</returns>
</member>
<member name="M:SGUnitySDK.Utils.Base64Helper.Base64Encode(System.String)">
<summary>
Base64加密采用utf8编码方式加密
</summary>
<param name="source">待加密的明文</param>
<returns>加密后的字符串</returns>
</member>
<member name="M:SGUnitySDK.Utils.Base64Helper.Base64Encode(System.Text.Encoding,System.String)">
<summary>
Base64加密
</summary>
<param name="encodeType">加密采用的编码方式</param>
<param name="source">待加密的明文</param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Utils.Base64Helper.Base64Decode(System.String)">
<summary>
Base64解密采用utf8编码方式解密
</summary>
<param name="result">待解密的密文</param>
<returns>解密后的字符串</returns>
</member>
<member name="M:SGUnitySDK.Utils.Base64Helper.Base64Decode(System.Text.Encoding,System.String)">
<summary>
Base64解密
</summary>
<param name="encodeType">解密采用的编码方式,注意和加密时采用的方式一致</param>
<param name="result">待解密的密文</param>
<returns>解密后的字符串</returns>
</member>
<member name="T:SGUnitySDK.Utils.BaseUtils">
<summary>
基础类Utils
</summary>
</member>
<member name="M:SGUnitySDK.Utils.BaseUtils.ConvertUTCDateTimeToUTCTimestamp(System.DateTime)">
<summary>
datetime时间转1970年以来的时间戳。单位毫秒
</summary>
<param name="dt"></param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Utils.BaseUtils.ConvertUTCTimestampToBeijingDateTime(System.Int64)">
<summary>
时间戳long转Datetime。单位毫秒。
</summary>
<param name="d">时间戳单位毫秒。UTC的时间戳。</param>
<returns>北京时间的时间戳</returns>
</member>
<member name="M:SGUnitySDK.Utils.BaseUtils.GetLocalMachineBeijingTime">
<summary>
获取当前机器的北京时间。要考虑当前时区因素
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Utils.BaseUtils.ConvertSecondToTimestring(System.Int32)">
<summary>
秒转时间字符串。精确到分钟
</summary>
<param name="seconds"></param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Utils.BaseUtils.IsHttpUrl(System.String)">
<summary>
C#正则表达式判断URL是否正确
</summary>
<param name="url"></param>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Utils.FileUtils">
<summary>
文件操作类
</summary>
</member>
<member name="M:SGUnitySDK.Utils.FileUtils.ReadAllStr(System.String)">
<summary>
读取所有文本
</summary>
<param name="filePath"></param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Utils.FileUtils.ReadAllLines(System.String)">
<summary>
读取所有行
</summary>
<param name="filePath"></param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Utils.FileUtils.WriteAllString(System.String,System.String)">
<summary>
写入所有行
</summary>
<param name="filePath"></param>
<param name="allContent"></param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Utils.FileUtils.WriteAllLines(System.String,System.Collections.Generic.List{System.String})">
<summary>
把所有行写入文本
</summary>
<param name="filePath"></param>
<param name="allLines"></param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Utils.FileUtils.AppendAllLines(System.String,System.Collections.Generic.List{System.String})">
<summary>
添加所有行
</summary>
<param name="filePath"></param>
<param name="allLines"></param>
<returns></returns>
</member>
<!-- Badly formed XML comment ignored for member "T:SGUnitySDK.Utils.JsonHelper" -->
<member name="M:SGUnitySDK.Utils.JsonHelper.DeserializeJsonToObject``1(System.String)">
<summary>
将json字符串转为对象
</summary>
<typeparam name="T"></typeparam>
<param name="json"></param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Utils.JsonHelper.SerializeObjectToJson``1(``0)">
<summary>
将对象转换为JSON字符串
</summary>
<typeparam name="T"></typeparam>
<param name="obj"></param>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Utils.JsonHelper.DeserializeJsonToList``1(System.String)">
<summary>
解析JSON数组生成对象实体集合
</summary>
<typeparam name="T">对象类型</typeparam>
<param name="json">json数组字符串(eg.[{"ID":"112","Name":"石子儿"}])</param>
<returns>对象实体集合</returns>
</member>
<member name="T:SGUnitySDK.Utils.MD5">
<summary>
</summary>
</member>
<member name="M:SGUnitySDK.Utils.MD5.GetMD5Hash(System.String)">
<summary>
</summary>
<param name="str"></param>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Utils.SGSocket.BaseUtils">
<summary>
通用utils类
</summary>
</member>
<member name="M:SGUnitySDK.Utils.SGSocket.BaseUtils.GetRandomFilename">
<summary>
生成随机文件名
</summary>
<returns></returns>
</member>
<member name="T:SGUnitySDK.Utils.SGSocket.SGResponse">
<summary>
响应结果的操作类
</summary>
</member>
<member name="F:SGUnitySDK.Utils.SGSocket.SGResponse.success">
<summary>
是否成功
</summary>
</member>
<member name="F:SGUnitySDK.Utils.SGSocket.SGResponse.code">
<summary>
编码
</summary>
</member>
<member name="F:SGUnitySDK.Utils.SGSocket.SGResponse.msg">
<summary>
消息
</summary>
</member>
<member name="M:SGUnitySDK.Utils.SGSocket.SGResponse.#ctor(System.Boolean,System.String,System.String)">
<summary>
构造函数
</summary>
<param name="_success"></param>
<param name="_code"></param>
<param name="_msg"></param>
</member>
<member name="F:SGUnitySDK.Utils.SGSocket.SGResponsePool.ErrorConnectFail">
<summary>
连接服务器失败对象
</summary>
</member>
<member name="F:SGUnitySDK.Utils.SGSocket.SGResponsePool.ErrorDisconnectToServer">
<summary>
客户端尚未连接到服务器
</summary>
</member>
<member name="F:SGUnitySDK.Utils.SGSocket.SGResponsePool.ErrorParam">
<summary>
参数错误
</summary>
</member>
<member name="F:SGUnitySDK.Utils.SGSocket.SGResponsePool.ErrorSendDataException">
<summary>
客户端发送数据发生异常
</summary>
</member>
<member name="T:SGUnitySDK.Utils.SGSocket.SocketDisconncetHandler">
<summary>
socket与服务器断开连接事件
</summary>
</member>
<member name="T:SGUnitySDK.Utils.SGSocket.MsgReceivedHandler">
<summary>
收到文本消息事件
</summary>
<param name="msg"></param>
</member>
<member name="T:SGUnitySDK.Utils.SGSocket.FileReceivedHandler">
<summary>
文件接收事件
</summary>
<param name="filePath"></param>
</member>
<member name="T:SGUnitySDK.Utils.SGSocket.SGSocketClient">
<summary>
socket客户端
</summary>
</member>
<member name="F:SGUnitySDK.Utils.SGSocket.SGSocketClient.ServerIP">
<summary>
服务器IP
</summary>
</member>
<member name="F:SGUnitySDK.Utils.SGSocket.SGSocketClient.ServerPort">
<summary>
服务器端口
</summary>
</member>
<member name="F:SGUnitySDK.Utils.SGSocket.SGSocketClient.socketDisconncetHandler">
<summary>
断开事件
</summary>
</member>
<member name="F:SGUnitySDK.Utils.SGSocket.SGSocketClient.msgReceivedHandler">
<summary>
收到消息事件
</summary>
</member>
<member name="F:SGUnitySDK.Utils.SGSocket.SGSocketClient.fileReceivedHandler">
<summary>
收到文件事件
</summary>
</member>
<member name="M:SGUnitySDK.Utils.SGSocket.SGSocketClient.#ctor(System.String,System.Int32)">
<summary>
构造函数
</summary>
<param name="_serverIP"></param>
<param name="_serverPort"></param>
</member>
<member name="M:SGUnitySDK.Utils.SGSocket.SGSocketClient.ConnectServer">
<summary>
连接服务器
</summary>
<returns></returns>
</member>
<member name="M:SGUnitySDK.Utils.SGSocket.SGSocketClient.AcceptMsgs">
<summary>
收数据。
</summary>
</member>
<member name="M:SGUnitySDK.Utils.SGSocket.SGSocketClient.SubmitMsgToServer(System.String)">
<summary>
发送文本消息
</summary>
<param name="msg"></param>
</member>
<member name="M:SGUnitySDK.Utils.SGSocket.SGSocketClient.SubmitFileToServer(System.String)">
<summary>
提交文件到服务器。目前文件大小有限制。
</summary>
<param name="filePath"></param>
<returns></returns>
</member>
</members>
</doc>