MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / setFromIndex

Method setFromIndex

engine/source/network/netStringTable.h:125–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123 }
124
125 void setFromIndex(U32 newIndex)
126 {
127 if(index)
128 gNetStringTable->removeString(index);
129 index = newIndex;
130 }
131
132 bool operator==(const NetStringHandle &s) const { return index == s.index; }
133 bool operator!=(const NetStringHandle &s) const { return index != s.index; }

Callers

nothing calls this directly

Calls 1

removeStringMethod · 0.80

Tested by

no test coverage detected