MCPcopy Create free account
hub / github.com/OpenMW/openmw / addControl

Method addControl

extern/oics/ICSChannel.cpp:104–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 }
103
104 void Channel::addControl(Control* control, Channel::ChannelDirection dir, float percentage)
105 {
106 ControlChannelBinderItem ccBinderItem;
107 ccBinderItem.control = control;
108 ccBinderItem.direction = dir;
109 ccBinderItem.percentage = percentage;
110
111 mAttachedControls.push_back(ccBinderItem);
112 }
113
114 Channel::ControlChannelBinderItem Channel::getAttachedControlBinding(Control* control)
115 {

Callers 3

attachChannelMethod · 0.80
loadKeyDefaultsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected