16 lines
347 B
C#
16 lines
347 B
C#
|
namespace SharpChat {
|
|||
|
public abstract class SockChatS2CPacket {
|
|||
|
protected readonly long MessageId;
|
|||
|
|
|||
|
public SockChatS2CPacket() {
|
|||
|
MessageId = SharpId.Next();
|
|||
|
}
|
|||
|
|
|||
|
public SockChatS2CPacket(long messageId) {
|
|||
|
MessageId = messageId;
|
|||
|
}
|
|||
|
|
|||
|
public abstract string Pack();
|
|||
|
}
|
|||
|
}
|