2024-05-20 23:40:34 +00:00
|
|
|
|
namespace SharpChat.SockChat.PacketsS2C {
|
2024-05-20 02:16:38 +00:00
|
|
|
|
public abstract class SockChatS2CPacket {
|
|
|
|
|
protected readonly long MessageId;
|
|
|
|
|
|
|
|
|
|
public SockChatS2CPacket() {
|
|
|
|
|
MessageId = SharpId.Next();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public SockChatS2CPacket(long messageId) {
|
|
|
|
|
MessageId = messageId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public abstract string Pack();
|
|
|
|
|
}
|
|
|
|
|
}
|