KCP gameserver with packet dispatch, scene streaming, combat, gacha and the shop, plus a small HTTP server for the login flow and the wish history page. Game data under assets is pulled out of the client instead of being typed by hand. The excel tables come from the packed bin container and the spawn points from the compiled scene scripts.
20 lines
517 B
C#
20 lines
517 B
C#
namespace Yuanshen.Kcp
|
|
{
|
|
internal readonly struct KcpSendSegmentStats
|
|
{
|
|
public KcpSendSegmentStats(uint resendTimestamp, uint rto, uint fastAck, uint transmitCount)
|
|
{
|
|
ResendTimestamp = resendTimestamp;
|
|
Rto = rto;
|
|
FastAck = fastAck;
|
|
TransmitCount = transmitCount;
|
|
}
|
|
|
|
public uint ResendTimestamp { get; }
|
|
public uint Rto { get; }
|
|
public uint FastAck { get; }
|
|
public uint TransmitCount { get; }
|
|
|
|
|
|
}
|
|
}
|