mirror of
https://github.com/ppy/osu.git
synced 2026-05-17 06:32:36 +08:00
24 lines
509 B
C#
24 lines
509 B
C#
using System;
|
|
|
|
namespace Symcol.Core.Networking
|
|
{
|
|
[Serializable]
|
|
public class Packet
|
|
{
|
|
/// <summary>
|
|
/// Just a Signature
|
|
/// </summary>
|
|
public readonly ClientInfo ClientInfo;
|
|
|
|
/// <summary>
|
|
/// Specify starting size of packet for efficiency
|
|
/// </summary>
|
|
public virtual int PacketSize => 1024;
|
|
|
|
public Packet(ClientInfo clientInfo)
|
|
{
|
|
ClientInfo = clientInfo;
|
|
}
|
|
}
|
|
}
|