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

Method SetBool

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

Source from the content-addressed store, hash-verified

604 }
605
606 virtual bool SetBool(size_t index, bool value)
607 {
608 if (index >= mnDataUsed)
609 {
610 return false;
611 }
612
613 if (mpData[index].nType != ArkDataType::DT_BOOLEAN)
614 {
615 return false;
616 }
617 else
618 {
619 mpData[index].mbValue = value;
620 return true;
621 }
622 }
623
624 virtual bool SetInt(size_t index, int value)
625 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected