Back to TPG

TPG.Net.SyncLimits

S🏷️ Net

Part of TPG namespace

TPG.Net.SyncLimits()
View on GitHub|gamemode/core/sv_networking.lua:71-90
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

Broadcast both teams' current prop/weight/point usage and the max limits. Weight is sent in 500-unit steps (math.ceil(weight / 500)), not raw, to fit the 13-bit field; the client is expected to multiply back out. Points get 20 bits on the max-limits field specifically to cover up to 1,048,575, per the inline comment on that line.

Parameters

No parameters.

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.