MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / SetEntityLumpWritable

Function SetEntityLumpWritable

core/logic/common_logic.cpp:120–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120static void SetEntityLumpWritable(bool writable)
121{
122 g_bLumpAvailableForWriting = writable;
123
124 // write-lock causes the map entities to be serialized out to string
125 if (!writable)
126 {
127 g_strMapEntities = lumpmanager->Dump();
128 }
129}
130
131static bool ParseEntityLumpString(const char *pMapEntities, int &status, size_t &position)
132{

Callers

nothing calls this directly

Calls 1

DumpMethod · 0.45

Tested by

no test coverage detected