MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / getPlayerEntity

Method getPlayerEntity

src/logic/ScriptEngine.h:122–122  ·  view source on GitHub ↗

* @return The entity of the NPC the player is currently playing as */

Source from the content-addressed store, hash-verified

120 * @return The entity of the NPC the player is currently playing as
121 */
122 Handle::EntityHandle getPlayerEntity() { return m_PlayerEntity; }
123 /**
124 * Sets the entity of the NPC the player is currently playing as
125 */

Callers 15

Wld_RemoveNpcMethod · 0.80
switchToWorldMethod · 0.80
setupKeyBindingsMethod · 0.80
onFrameUpdateMethod · 0.80
debugDrawMethod · 0.80
isPlayerControlledMethod · 0.80
AniEvent_SFXMethod · 0.80
onActionMethod · 0.80
checkInfoMethod · 0.80
assessTalkMethod · 0.80
saveToSlotMethod · 0.80
setupKeybindsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected