MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / RemoveKey

Method RemoveKey

engine/Poseidon/UI/DisplayUI.cpp:632–652  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

630 {
631 CheckCollisions(key);
632 }
633
634 return;
635 }
636 }
637
638 // check collisions
639 bool collision = false;
640 for (int i = 0; i < UAN; i++)
641 {
642 for (int j = 0; j < _keys[i].Size(); j++)
643 {
644 if (_keys[i][j] == key)
645 {
646 collision = true;
647 _collisions[i][j] = true;
648 }
649 }
650 }
651
652 _keys[action].Add(key);
653 _collisions[action].Add(collision);
654}
655

Callers 1

OnSimulateMethod · 0.80

Calls 2

SizeMethod · 0.45
ResizeMethod · 0.45

Tested by

no test coverage detected