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

Method ClearBindings

engine/Poseidon/Input/InputProfile.cpp:66–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void InputProfile::ClearBindings(UserAction action)
67{
68 int idx = static_cast<int>(action);
69 if (idx < 0 || idx >= UAN)
70 return;
71 bindings_[idx].clear();
72 MarkDirty(action);
73}
74
75void InputProfile::ClearAll()
76{

Callers 12

ResetCategoryDefaultsMethod · 0.80
RebindProfileFunction · 0.80
ReplaceGamepadBindingsFunction · 0.80
BindComboFunction · 0.80
SetSingleBindingFunction · 0.80
BindMenuProfileFunction · 0.80
test_kbm_page.cppFile · 0.80

Calls 1

clearMethod · 0.80

Tested by 3

BindComboFunction · 0.64
SetSingleBindingFunction · 0.64
BindMenuProfileFunction · 0.64