sharp-chat/SharpChat/PacketsS2C/SockChatS2CPacket.cs

15 lines
358 B
C#

namespace SharpChat.PacketsS2C {
public abstract class SockChatS2CPacket {
protected readonly long MessageId;
public SockChatS2CPacket() {
MessageId = SharpId.Next();
}
public SockChatS2CPacket(long messageId) {
MessageId = messageId;
}
public abstract string Pack();
}
}