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

Method ClearAll

engine/Poseidon/Input/InputProfile.cpp:75–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void InputProfile::ClearAll()
76{
77 for (int i = 0; i < UAN; ++i)
78 {
79 auto& binds = bindings_[i];
80 binds.clear();
81 codeCache_[i].clear();
82 codeCacheDirty_[i] = false;
83 }
84}
85
86const std::vector<InputCode>& InputProfile::GetBindings(UserAction action) const
87{

Callers 11

StartAutoTestFunction · 0.45
StartCampaignFunction · 0.45
OnChildDestroyedMethod · 0.45
OnButtonClickedMethod · 0.45
LoadMethod · 0.45
GStats_ClearAllFunction · 0.45
ResetStateFunction · 0.45
ClearAllBindingsFunction · 0.45

Calls 1

clearMethod · 0.80

Tested by 2

ResetStateFunction · 0.36
ClearAllBindingsFunction · 0.36