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

Method WriteInt

Source/Game/EntityDescription.cpp:1340–1342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1338}
1339
1340void EntityDescriptionField::WriteInt(int id) {
1341 memwrite(&id, sizeof(int), 1, data);
1342}
1343
1344void EntityDescriptionField::ReadBool(bool* value) const {
1345 char id;

Callers 4

SetDescIDFunction · 0.45
LocalizeIDsFunction · 0.45
AddIntMethod · 0.45

Calls 1

memwriteFunction · 0.85

Tested by

no test coverage detected