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

Method ReadInt

Source/Game/EntityDescription.cpp:1336–1338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1334}
1335
1336void EntityDescriptionField::ReadInt(int* id) const {
1337 memread(id, sizeof(int), 1, data);
1338}
1339
1340void EntityDescriptionField::WriteInt(int id) {
1341 memwrite(&id, sizeof(int), 1, data);

Callers 5

ExtractFlatListFunction · 0.45
SetFromDescMethod · 0.45
SetFromDescMethod · 0.45
ReturnPathsMethod · 0.45
SaveToXMLMethod · 0.45

Calls 1

memreadFunction · 0.85

Tested by

no test coverage detected