MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / SetUInt

Method SetUInt

src/plugin/kernel/include/AFCDataList.hpp:660–676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

658 }
659
660 virtual bool SetUInt(size_t index, uint32_t value)
661 {
662 if (index >= mnDataUsed)
663 {
664 return false;
665 }
666
667 if (mpData[index].nType != ArkDataType::DT_UINT32)
668 {
669 return false;
670 }
671 else
672 {
673 mpData[index].mnUValue = value;
674 return true;
675 }
676 }
677
678 virtual bool SetUInt64(size_t index, uint64_t value)
679 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected