MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / SetID

Method SetID

Source/Objects/object.h:195–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193
194 ObjectID GetID() const { return id; }
195 void SetID(const int _id) {
196 id = _id;
197 sp.SetObjectID(_id);
198 }
199 std::string GetName() const { return name; }
200 void SetName(const std::string& _name) { name = _name; }
201

Callers 3

AssignIDMethod · 0.80
LoadTerrainFunction · 0.80
DrawMethod · 0.80

Calls 1

SetObjectIDMethod · 0.80

Tested by

no test coverage detected