Sora assembly
Sora namespace
public type | description |
---|---|
static class SoraServiceFactory | Sora 实例工厂 |
static class VersionCode | 版本代号 |
Sora.Attributes namespace
public type | description |
---|---|
class NeedReview | 需要审查特性类 |
class Reviewed | 代码审核特性类 |
Sora.Attributes.Command namespace
public type | description |
---|---|
class CommandSeries | 指令组 |
class SoraCommand | 指令 |
Sora.Command namespace
public type | description |
---|---|
class CommandManager | 特性指令管理器 |
Sora.Entities namespace
public type | description |
---|---|
class Anonymous | 匿名用户类 |
struct ApiStatus | API执行状态 |
class Group | 群组类 |
class MessageBody | 消息段 |
class MessageContext | 消息类 |
struct TextDetection | OCR识别结果 |
class User | 用户类 |
struct Vector2 | 二维向量 |
Sora.Entities.Base namespace
public type | description |
---|---|
abstract class BaseModel | 数据模型基类 |
class SoraApi | Sora API类 |
Sora.Entities.Info namespace
public type | description |
---|---|
struct ClientInfo | 设备信息 |
struct EssenceInfo | 精华消息信息 |
record FriendInfo | 好友信息 |
struct GroupFileInfo | 群文件信息 |
struct GroupFileSysInfo | 群文件系统信息 |
struct GroupFolderInfo | 群文件夹信息 |
struct GroupInfo | 群信息 |
record GroupMemberInfo | 群成员信息 |
struct GroupNoticeInfo | 群公告 |
struct GroupRequestInfo | 群组请求信息 |
struct GroupSenderInfo | 群组消息发送者 |
struct ModelInfo | 型号信息 |
struct NoticeImage | 公告图片 |
struct NoticeMessage | 公告消息 |
struct OfflineFileInfo | 离线文件信息 |
struct PrivateSenderInfo | 私聊消息发送者 |
struct ProfileDetail | 个人资料 |
struct QidianAccountInfo | 企点账号信息 |
struct UnidirectionalFriendInfo | 单向好友信息 |
struct UploadFileInfo | 上传文件的信息 |
struct UserInfo | 用户信息 |
Sora.Entities.Segment namespace
public type | description |
---|---|
static class SegmentHelper | 消息段扩展 |
class SoraSegment | 消息段结构体 |
Sora.Entities.Segment.DataModel namespace
public type | description |
---|---|
record AtSegment | At某人 |
record BaseSegment | 空数据消息段 |
record CardImageSegment | 装逼大图 仅支持GoCQ |
record CodeSegment | Xml与Json集合 |
record CustomMusicSegment | 自定义音乐分享 |
record CustomNode | 自定义转发节点 |
record CustomReplySegment | 自定义回复 |
record FaceSegment | QQ 表情 |
record ForwardSegment | 合并转发/合并转发节点 |
record ImageSegment | 图片 |
record MusicSegment | 音乐分享 仅发送 |
record Node | 自定义合并转发节点 |
record PokeSegment | 群成员戳一戳 |
record RecordSegment | 语音消息 |
record RedbagSegment | 接收红包 仅支持GoCQ |
record ReplySegment | 回复 |
record ShareSegment | 链接分享 |
record TextSegment | 纯文本 |
record TtsSegment | 语音转文字(TTS) |
record UnknownSegment | 未知消息段 |
record VideoSegment | 短视频 |
Sora.Enumeration namespace
public type | description |
---|---|
enum MatchType | 匹配类型 |
enum MessageSourceMatchFlag | 指令匹配的消息来源 |
enum SegmentType | 消息段类型 |
enum Sex | 性别 |
enum SourceFlag | 事件来源类型 |
Sora.Enumeration.ApiType namespace
public type | description |
---|---|
enum ApiStatusType | API返回值 |
enum SecurityLevelType | 链接安全性 |
Sora.Enumeration.EventParamsType namespace
public type | description |
---|---|
enum AdminChangeType | 管理员变动类型 |
enum EssenceChangeType | 精华信息变动类型 |
enum GroupRequestType | 群申请类型 |
enum HonorType | 荣誉类型 |
enum MemberChangeType | 群成员变动类型 |
enum MemberRoleType | 成员权限等级 |
enum MessageType | 消息类型 |
enum MusicShareType | 音乐分享类型 |
enum MuteActionType | 禁言操作类型 |
enum RequestType | 请求类型 |
Sora.EventArgs.SoraEvent namespace
public type | description |
---|---|
class AddGroupRequestEventArgs | 入群申请 |
abstract class BaseMessageEventArgs | 用于存储消息和发送者的基类 |
abstract class BaseSoraEventArgs | 框架事件基类 |
class ClientStatusChangeEventArgs | 其他客户端在线状态变更事件参数 |
class ConnectEventArgs | 客户端连接事件参数 |
class EssenceChangeEventArgs | 精华消息变动事件参数 |
class FileUploadEventArgs | 群文件上传事件参数 |
class FriendAddEventArgs | 好友添加事件参数 |
class FriendRecallEventArgs | 好友消息撤回事件 |
class FriendRequestEventArgs | 好友请求事件参数 |
class GroupAdminChangeEventArgs | 管理员变动事件参数 |
class GroupCardUpdateEventArgs | 成员名片变更事件参数 |
class GroupMemberChangeEventArgs | 群成员数量变更事件参数 |
class GroupMessageEventArgs | 群消息事件参数 |
class GroupMuteEventArgs | 群禁言事件参数 |
class GroupPokeEventArgs | 群戳一戳事件参数 |
class GroupRecallEventArgs | 群消息撤回事件参数 |
class HonorEventArgs | 授予荣誉事件参数 |
class LuckyKingEventArgs | 红包运气王事件参数 |
class OfflineFileEventArgs | 接收到离线文件事件参数 |
class PrivateMessageEventArgs | 私聊消息事件参数 |
class TitleUpdateEventArgs | 群成员头衔更新事件 |
Sora.EventArgs.WebsocketEvent namespace
public type | description |
---|---|
class ConnectionEventArgs | 服务器连接事件 |
Sora.Exceptions namespace
public type | description |
---|---|
class WebSocketClientException | WebSocket客户端错误 |
Sora.Interfaces namespace
public type | description |
---|---|
interface ISoraConfig | Sora 配置文件 |
interface ISoraService | Sora 连接服务 |
Sora.Net namespace
public type | description |
---|---|
class ConnectionManager | 服务器连接管理器 管理服务器链接和心跳包 |
class SoraWebsocketClient | Sora正向WS链接客户端 |
class SoraWebsocketServer | Sora服务器实例 |
Sora.Net.Config namespace
public type | description |
---|---|
class ClientConfig | 客户端配置类 |
class ServerConfig | 服务器配置类 |
Sora.OnebotAdapter namespace
public type | description |
---|---|
class EventAdapter | Onebot事件接口 判断和分发基类事件 |
Sora.Serializer namespace
public type | description |
---|---|
static class CqCodeSerializer | 消息段CQ码序列化 该方法由ExerciseBook(https://github.com/ExerciseBook)提供 |
static class JsonSerializer | 消息段Json序列化 |
static class ProtoSerializer | 消息段ProtoBuf序列化 |
Sora.Util namespace
public type | description |
---|---|
static class Extensions | 扩展方法 |
static class Helper | 通用帮助类 |
static class TimeConvert | DateTime和时间戳的转换 |