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

Method SetContext

engine/Poseidon/Input/InputSubsystem.cpp:590–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

588
589void InputSubsystem::SetContext(InputContext ctx)
590{
591 context_ = ctx;
592}
593
594float InputSubsystem::GetAction(UserAction action, bool checkFocus) const
595{
596 return GetAction(context_, action, checkFocus);

Callers 10

UpdateInputContextMethod · 0.45
~FullStateSnapshotMethod · 0.45
ResetStateFunction · 0.45
~UserKeysSnapshotMethod · 0.45
ClearAllBindingsFunction · 0.45
~UserKeysSnapshotMethod · 0.45
BindMenuProfileFunction · 0.45
~UserKeysSnapshotMethod · 0.45

Calls

no outgoing calls

Tested by 7

~FullStateSnapshotMethod · 0.36
ResetStateFunction · 0.36
~UserKeysSnapshotMethod · 0.36
ClearAllBindingsFunction · 0.36
~UserKeysSnapshotMethod · 0.36
BindMenuProfileFunction · 0.36
~UserKeysSnapshotMethod · 0.36