MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / ModifyArpScheme

Method ModifyArpScheme

Source/GraphEditorComponentImpl.cpp:747–753  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

745}
746
747void CArpSchemeSelector::ModifyArpScheme(int idx) {
748 if (auto pSeq = parent_.GetSequence()) {
749 auto ItemValue = static_cast<uint8_t>(pSeq->GetItem(idx) & 0x3F) | static_cast<uint8_t>(value_cast(next_scheme_));
750 pSeq->SetItem(idx, ItemValue);
751 parent_.ItemModified(); // // //
752 }
753}
754
755arp_scheme_mode_t CArpSchemeSelector::GetNextScheme(arp_scheme_mode_t scheme, bool fwd) {
756 switch (scheme) {

Callers

nothing calls this directly

Calls 5

value_castFunction · 0.85
GetItemMethod · 0.80
SetItemMethod · 0.80
ItemModifiedMethod · 0.80
GetSequenceMethod · 0.45

Tested by

no test coverage detected