yuanshen/Yuanshen.Kcp/KcpGlobalVars.cs
wisedev fc2ac1050f First working version of the server
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.
2026-09-04 02:10:50 +03:00

14 lines
402 B
C#

namespace Yuanshen.Kcp
{
internal static class KcpGlobalVars
{
#if !CONVID32
public const ushort CONVID_LENGTH = 8;
public const ushort HEADER_LENGTH_WITH_CONVID = 28;
public const ushort HEADER_LENGTH_WITHOUT_CONVID = 20;
#else
public const ushort HEADER_LENGTH_WITH_CONVID = 24;
public const ushort HEADER_LENGTH_WITHOUT_CONVID = 20;
#endif
}
}