MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / bindHeld

Method bindHeld

source/game/StarInput.cpp:586–591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584}
585
586bool Input::bindHeld(String const& categoryId, String const& bindId) {
587 if (auto state = bindStatePtr(categoryId, bindId))
588 return state->held;
589 else
590 return false;
591}
592
593Maybe<unsigned> Input::bindUp(String const& categoryId, String const& bindId) {
594 if (auto state = bindStatePtr(categoryId, bindId)) {

Callers 1

updateRunningMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected