MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / setFromIndex

Method setFromIndex

Engine/source/sim/netStringTable.h:130–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 }
129
130 void setFromIndex(U32 newIndex)
131 {
132 if(index)
133 gNetStringTable->removeString(index);
134 index = newIndex;
135 }
136
137 bool operator==(const NetStringHandle &s) const { return index == s.index; }
138 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