Class Convert
一些常用的转换
Inheritance
System.Object
Convert
Namespace: cqhttp.Cyan.Utils
Assembly: cqhttp.Cyan.dll
Syntax
public class Convert : object
Methods
| Improve this Doc View SourceToEmoji(ElementFace)
Declaration
public static string ToEmoji(ElementFace i)
Parameters
Type | Name | Description |
---|---|---|
ElementFace | i |
Returns
Type | Description |
---|---|
System.String |
ToEmoji(Int32)
将QQ表情转换为emoji
Declaration
public static string ToEmoji(int faceId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | faceId | 表情编号(1-170) |
Returns
Type | Description |
---|---|
System.String |