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

Method SetInt

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

Source from the content-addressed store, hash-verified

622 }
623
624 virtual bool SetInt(size_t index, int value)
625 {
626 if (index >= mnDataUsed)
627 {
628 return false;
629 }
630
631 if (mpData[index].nType != ArkDataType::DT_INT32)
632 {
633 return false;
634 }
635 else
636 {
637 mpData[index].mnValue = value;
638 return true;
639 }
640 }
641
642 virtual bool SetInt64(size_t index, int64_t value)
643 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected