|
Zhamao Framework 3.2.4
A high-performance chatbot + web framework
|
静态 Public 成员函数 | |
| static | fromSegment (string|array|MessageSegment $message_segment, bool $encode_text=false) |
| static | encode (\Stringable|int|string $msg, bool $is_param=false) |
| static | decode (\Stringable|int|string $msg, bool $is_param=false) |
|
static |
反转义字符串中的CatCode敏感符号
| int | string | \Stringable | $msg | 字符串 |
| bool | $is_param | 如果是解码CatCode本体内容,则为false(默认),如果是参数内的字符串,则为true |
|
static |
转义CatCode的特殊字符
| int | string | \Stringable | $msg | 字符串 |
| bool | $is_param | 如果是转义CatCode本体内容,则为false(默认),如果是参数内的字符串,则为true |
|
static |