struct
FLocalPlayer
- Module
- Game
- Header
#include "Game/LocalPlayer.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
int32_t | playerIndex | Default 0. |
int32_t | gamepadIndex | Gamepad slot (0-3) that owns this player, or -1 for the keyboard/mouse player (player 0 by default). One slot maps to at most one player. Default -1. |
APlayerController* | controller | Default nullptr. |
EntityID | cameraEntity | Default INVALID_ENTITY. |
FViewportRect | rect | |
std::shared_ptr<InputActionSystem> | input | This player's own input (context stack, triggers, rebinds), routed to its gamepad. Null for player 0, who uses the global instance with the keyboard and mouse — and for every player of a single-player game. |
Public functions
| Returns | Name | Description |
|---|---|---|
InputActionSystem& | GetInput |
Function details
GetInput
C++
InputActionSystem& GetInput() constGenerated from Game/LocalPlayer.h via game.json · Nov 5, 2026Version 1.0.0