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

Method SetFloat

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

Source from the content-addressed store, hash-verified

694 }
695
696 virtual bool SetFloat(size_t index, float value)
697 {
698 if (index >= mnDataUsed)
699 {
700 return false;
701 }
702
703 if (mpData[index].nType != ArkDataType::DT_FLOAT)
704 {
705 return false;
706 }
707 else
708 {
709 mpData[index].mfValue = value;
710 return true;
711 }
712 }
713
714 virtual bool SetDouble(size_t index, double value)
715 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected