public class BaseUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
AT_ALL |
static Pattern |
AT_CHANNEL |
static Pattern |
AT_PATTERN |
static io.github.kloping.arr.ArrDeSerializer<SendAble> |
DE_SERIALIZER |
static Pattern |
EMOJI |
| Constructor and Description |
|---|
BaseUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
packet2pre(MessagePacket packet,
RawPreMessage msg)
类型转换
|
static MessageChain |
parseToMessageChain(RawMessage rawMessage) |
static MessageChain |
parseToMessageChain(RawMessage rawMessage,
Class<?>[] filter) |
static <T,K1,K2> T |
tryGet(Map<K1,Map<K2,T>> tmap,
K1 k1,
K2 k2) |
public static final Pattern AT_PATTERN
public static final Pattern AT_ALL
public static final Pattern AT_CHANNEL
public static final Pattern EMOJI
public static final io.github.kloping.arr.ArrDeSerializer<SendAble> DE_SERIALIZER
public static void packet2pre(MessagePacket packet, RawPreMessage msg)
packet - msg - public static MessageChain parseToMessageChain(RawMessage rawMessage)
public static MessageChain parseToMessageChain(RawMessage rawMessage, Class<?>[] filter)
Copyright © 2024. All rights reserved.