MCPcopy Create free account
hub / github.com/ddnet/ddnet / SetStaticsize

Method SetStaticsize

src/engine/shared/snapshot.cpp:278–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278void CSnapshotDelta::SetStaticsize(int ItemType, size_t Size)
279{
280 dbg_assert(ItemType >= 0 && ItemType < MAX_NETOBJSIZES, "ItemType invalid");
281 dbg_assert(Size <= (size_t)std::numeric_limits<int16_t>::max(), "Size invalid");
282 m_aItemSizes[ItemType] = Size;
283}
284
285void CSnapshotDelta::SetStaticsize7(int ItemType, size_t Size)
286{

Callers 4

SnapSetStaticsizeMethod · 0.80
RecordSnapshotMethod · 0.80
DoSnapshotMethod · 0.80
SnapSetStaticsizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected