MCPcopy Create free account
hub / github.com/MergHQ/CRYENGINE / SaveArraySetValueTable

Function SaveArraySetValueTable

Code/CryEngine/CrySystem/XML/WriteXMLSource.cpp:95–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95bool SaveArraySetValueTable(const IdTable& idTable, XmlNodeRef& definition, XmlNodeRef& data, IWriteXMLSource* pSource, int elem)
96{
97 IWriteXMLSourcePtr pChildSource = pSource->BeginTableAt(elem);
98 if (!pChildSource)
99 {
100 CryLog("Failed to find source table at %d", elem);
101 return false;
102 }
103
104 if (!SaveTableInner(idTable, definition, data, &*pChildSource))
105 return false;
106
107 if (!pChildSource->EndTableAt(elem))
108 {
109 CryLog("Failed to finish table at element %d", elem);
110 return false;
111 }
112
113 return true;
114}
115
116bool SaveArray(const IdTable& idTable, XmlNodeRef& definition, XmlNodeRef& data, IWriteXMLSource* pSource)
117{

Callers

nothing calls this directly

Calls 4

CryLogFunction · 0.85
SaveTableInnerFunction · 0.85
BeginTableAtMethod · 0.80
EndTableAtMethod · 0.80

Tested by

no test coverage detected