H7PlayerController¶
Class in MMH7Game · MMH7Game.H7PlayerController · native, config
Object › Actor › Controller › PlayerController › GamePlayerController › SaveGameStatePlayerController › H7PlayerController
Subclasses: H7CombatPlayerController, H7CouncilPlayerController
Using it from Lua
Constants¶
| Name | Value |
|---|---|
MAX_PRIVILEGES_COUNT | 20 |
Properties¶
| Name | Type | Notes |
|---|---|---|
GeneralPanningSensitivity | float | config |
IsInverted | bool | config, protected |
IsPanningDown | byte | protected |
IsPanningLeft | byte | protected |
IsPanningMouse | bool | protected |
IsPanningRight | byte | protected |
IsPanningUp | byte | protected |
KeyboardPanningSensitivity | float | config |
KeyboardRotatingSensitivity | float | config |
mActiveProfile | string | config |
mAllowInput | bool | protected |
mAllowInputFromKismet | bool | protected |
mAlwaysQuickCombat | bool | config |
mBeforeSaveResolution | IntPoint | protected |
mBeforeSaveWindowMode | H7StructsAndEnumsNative.EWindowMode | protected |
mBorderPan | bool | config |
mBufferedCommandResolution | bool | protected |
mBufferedCommandResolution_Params | IntPoint | protected |
mBufferedCommandWindowMode | bool | protected |
mBufferedCommandWindowMode_Params | H7StructsAndEnumsNative.EWindowMode | protected |
mCacheGameSpeed | float | protected |
mCameraActionIsRunning | bool | protected |
mCinematicTime | float | protected |
mCinematicWasSkipped | bool | protected |
mCuesThisFrame | array<AkBaseSoundObject> | protected |
mCurrMoveDir | Vector | protected |
mCursorDirection | Rotator | protected |
mCursorWasInit | bool | protected |
mDidToggle | bool | protected |
mEnableCouncilAnimations | bool | config |
mGameStarted | bool | protected |
mHideCursor | bool | protected |
mHUDMouseOver | bool | protected |
mHUDMouseOverCounter | int | protected |
mIsAutoSkilling | bool | config |
mIsCaravanTurn | bool | protected |
mIsCommandRequested | bool | protected |
mIsFlythroughRunning | bool | protected |
mIsInCinematicView | bool | protected |
mIsInLoadingScreen | bool | protected |
mIsMouseMoving | bool | |
mIsPlayInEditor | bool | protected |
mKeybindManager | H7KeybindManager | protected |
mLastMousePosition | Vector2D | protected |
mMessageSystem | H7MessageSystem | protected |
mMouseWheelCapturedByFlash | bool | protected |
mMovieSkippedLastFrame | int | protected |
mOptionManager | H7OptionsManager | protected |
MousePanningCache | int | config, protected |
MouseRotatingSensitivity | float | config |
MouseRotationAllowed | bool | protected |
MouseWheelBackward | bool | protected |
MouseWheelForward | bool | protected |
MouseWheelHoldTimer | float | protected |
MouseX | float | protected |
MouseY | float | protected |
mPatchingController | H7PatchingController | protected |
mPopupIsOpen | bool | protected |
mResolutionRevertSeconds | int | transient, protected |
mRetroFilter | bool | config |
mShiftDown | bool | protected |
mShowUnreachableServers | bool | config |
mSkipNextCursorChange | bool | protected |
mTownAssetLoader | H7TownAssetLoader | protected |
mUserClicked | bool | protected |
mUserClickedPrevious | bool | protected |
mWasCinematicRunning | bool | protected |
PanningMouseSensitivity | float | config |
StartPanPosition | Vector2D | protected |
Functions¶
| Name | Declaration |
|---|---|
ApplyBufferedCommands | function ApplyBufferedCommands(optional bool offerRevert = true) |
ApplyGameModeGfxSettings | function ApplyGameModeGfxSettings(bool bCombat) |
BorkSampuls | native function BorkSampuls() |
BugIt | exec event BugIt(optional string ScreenShotDescription) |
CaptureMouseWheel | function CaptureMouseWheel(bool val) |
CheckEnableMouse | function CheckEnableMouse() |
CleanMovie | exec function CleanMovie() |
ClearCommandQueue | exec function ClearCommandQueue() |
ClientLobbyChat | simulated reliable client function ClientLobbyChat(string playerNameHTML, string chatText, H7StructsAndEnumsNative.EChatChannel Channel) |
ClientLobbyStartGame | simulated reliable client function ClientLobbyStartGame(int Positions[8], int randomFactions[8], int sharedPrivileges[20], string UserId, string gameStartTimeStamp) |
ClientLobbySystemChat | simulated reliable client function ClientLobbySystemChat(string PlayerName, string locaKey) |
ClientMessage | simulated reliable client event ClientMessage(coerce string S, optional name Type, optional float MsgLifeTime) |
ClientWasKicked | simulated reliable client event ClientWasKicked() |
CreateKeybindManager | event CreateKeybindManager() |
CurrentContextBlocksKeybind | function bool CurrentContextBlocksKeybind(string commandFunctionName) |
DebugChangeFPS | exec function DebugChangeFPS(float newFPS) |
DeleteKeyBindByKey | exec function bool DeleteKeyBindByKey(name Key) |
DeleteSession | function DeleteSession(name SessionName) |
Destroyed | simulated event Destroyed() |
DoQuickBarAction | private final exec function DoQuickBarAction(int SlotIndex) |
DumpTweens | exec function DumpTweens() |
EgoCam | exec function EgoCam() |
EnableMouse | native function EnableMouse() |
FindAllInterpActors | native function FindAllInterpActors(out array<InterpActor> searchResult) |
FlushKeys | native function FlushKeys() |
ForceUpdateUPlay | exec function ForceUpdateUPlay() |
FOV | exec function FOV(float F) |
FreeCam | exec function FreeCam(optional bool bReset) |
GetAdventureHud | event H7AdventureHud GetAdventureHud() |
GetAlwaysQuickCombat | function bool GetAlwaysQuickCombat() |
GetAutoSkilling | function bool GetAutoSkilling() |
GetBindByCommand | function KeyBind GetBindByCommand(string Command, optional bool recursiveCall) |
GetBindByKey | function KeyBind GetBindByKey(name Key) |
GetBindOrAliasByCommand | native function KeyBind GetBindOrAliasByCommand(string Command, optional bool recursiveCall) |
GetBloom | function bool GetBloom() |
GetBorderPan | function bool GetBorderPan() |
GetCombatMapHud | function H7CombatHud GetCombatMapHud() |
GetCursorDirection | function Rotator GetCursorDirection() |
GetDistortion | function bool GetDistortion() |
GetDolly | function float GetDolly() |
GetDynamicShadows | function bool GetDynamicShadows() |
GetGeneralPanningSensitivity | function float GetGeneralPanningSensitivity() |
GetH7Player | function H7Player GetH7Player(string PlayerName) |
GetHTMLWithKeyBind | function string GetHTMLWithKeyBind(string localizedString, string alias) |
GetHUD | function H7Hud GetHUD() |
GetIsMousePanning | function bool GetIsMousePanning() |
GetKeybindManager | native function H7KeybindManager GetKeybindManager() |
GetKeyboardPanningSensitivity | function float GetKeyboardPanningSensitivity() |
GetKeyboardRotatingSensitivity | function float GetKeyboardRotatingSensitivity() |
GetLandscapeQuality | function int GetLandscapeQuality() |
GetLandscapeQualityList | function array |
GetLocalizedKeyCaption | function string GetLocalizedKeyCaption(name unrealKeyName) |
GetLocalPlayer | static function LocalPlayer GetLocalPlayer() |
GetMainHUD | function H7Hud GetMainHUD() |
GetMainMenuHud | function H7MainMenuHud GetMainMenuHud() |
GetMessageSystem | function H7MessageSystem GetMessageSystem() |
GetMousePanDiff | function Vector2D GetMousePanDiff() |
GetMousePanInvertion | function bool GetMousePanInvertion() |
GetMousePosition | function Vector2D GetMousePosition() |
GetMouseRotatingSensitivity | function float GetMouseRotatingSensitivity() |
GetMouseWheel | function float GetMouseWheel(float DeltaTime) |
GetOptionManager | function H7OptionsManager GetOptionManager() |
GetPanningHorizontal | function float GetPanningHorizontal() |
GetPanningVertical | function float GetPanningVertical() |
GetParticleQuality | function int GetParticleQuality() |
GetParticleQualityList | function array |
GetPatchingController | function H7PatchingController GetPatchingController() |
GetPlayerController | static function H7PlayerController GetPlayerController() |
GetPlayerInput | function PlayerInput GetPlayerInput() |
GetPlayerNameHTMLColored | function string GetPlayerNameHTMLColored(string PlayerName) |
GetPlayerReplicationInfo | function H7PlayerReplicationInfo GetPlayerReplicationInfo() |
GetRotation | function float GetRotation() |
GetScreenResolution | function Vector2D GetScreenResolution() |
GetSecondaryHUD | function H7Hud GetSecondaryHUD() |
GetShaderQuality | native function int GetShaderQuality() |
GetShaderQualityList | function array |
GetSkelMeshQuality | function int GetSkelMeshQuality() |
GetSkelMeshQualityList | function array |
GetStaticMeshQuality | function int GetStaticMeshQuality() |
GetStaticMeshQualityList | function array |
GetTownAssetLoader | function H7TownAssetLoader GetTownAssetLoader() |
GetVSync | function bool GetVSync() |
GetWindowMode | function int GetWindowMode() |
GetWindowModeList | function array |
H7UpdateAllComponents | native exec function H7UpdateAllComponents() |
H7UpdateLandscapeComponents | native exec function H7UpdateLandscapeComponents() |
HandleCinematicEnd | function HandleCinematicEnd(float DeltaTime) |
HandleCinematics | function HandleCinematics(float DeltaTime) |
HideCursor | exec function HideCursor(bool val) |
HUDMouseOut | function HUDMouseOut() |
HUDMouseOver | function HUDMouseOver() |
HUDSubElementMouseOverBeforeHudMouseOver | function HUDSubElementMouseOverBeforeHudMouseOver() |
InitLoadingScreen | function InitLoadingScreen(optional MaterialInterface newBackground, optional bool IsCombat) |
IsCameraActionRunning | function bool IsCameraActionRunning() |
IsCaravanTurn | function bool IsCaravanTurn() |
IsCommandRequested | function bool IsCommandRequested() |
IsFlythroughRunning | function bool IsFlythroughRunning() |
IsInCinematicView | function bool IsInCinematicView() |
IsInLoadingScreen | function bool IsInLoadingScreen() |
IsInputAllowed | function bool IsInputAllowed(optional bool allowInputWhenMouseOverHud = false) |
IsKeyInputAllowed | function bool IsKeyInputAllowed() |
IsKismetAllowsInput | function bool IsKismetAllowsInput() |
IsLookInputIgnored | event bool IsLookInputIgnored() |
IsMouseLockedToWindow | function bool IsMouseLockedToWindow() |
IsMouseMoving | function bool IsMouseMoving() |
IsMouseOverHUD | function bool IsMouseOverHUD() |
IsMouseWheelCapturedByFlash | function bool IsMouseWheelCapturedByFlash() |
IsPopupOpen | function bool IsPopupOpen() |
IsServer | function bool IsServer() |
IsShiftDown | function bool IsShiftDown() |
IsUnrealAllowsInput | function bool IsUnrealAllowsInput() |
MakeSampuls | exec function MakeSampuls() |
MouseEnabledTick | event MouseEnabledTick() |
MoveArmy | protected function MoveArmy() |
MoveArmyByNumpadInput | protected function MoveArmyByNumpadInput(Vector Direction) |
MoveEast | exec function MoveEast() |
MoveNorth | exec function MoveNorth() |
MoveNorthEast | exec function MoveNorthEast() |
MoveNorthWest | exec function MoveNorthWest() |
MoveSouth | exec function MoveSouth() |
MoveSouthEast | exec function MoveSouthEast() |
MoveSouthWest | exec function MoveSouthWest() |
MoveStop | exec function MoveStop() |
MoveWest | exec function MoveWest() |
Nouplay | exec function Nouplay() |
OnDestroySessionComplete | delegate OnDestroySessionComplete(name SessionName, bool bWasSuccessful) |
OpenedSpellbook | native function OpenedSpellbook() |
PanningCameraMovement | function Vector PanningCameraMovement() |
PauseMenuOpened | native function PauseMenuOpened() |
PlayerTick | event PlayerTick(float DeltaTime) |
PostBeginPlay | simulated event PostBeginPlay() |
PrepareQuickBarAction | private final exec function PrepareQuickBarAction(int SlotIndex) |
PrintProfile | exec function PrintProfile() |
ReleaseRightMouse | exec function ReleaseRightMouse() |
ResetAllSteamworksStatsAndAchievements | exec function ResetAllSteamworksStatsAndAchievements() |
ResetCamera | private final exec function ResetCamera() |
ResetCutsceneFlags | function ResetCutsceneFlags() |
ResetHUDOverCounter | function ResetHUDOverCounter() |
ResetInputMappings | exec function ResetInputMappings() |
ResetOptions | function ResetOptions() |
RestartCombatHud | exec function RestartCombatHud() |
RetroFilter | exec function RetroFilter(optional bool bSetVal, optional bool bActivate) |
RevertResolution | function RevertResolution() |
RightMouseDown | exec function RightMouseDown() |
SayMyName | function string SayMyName() |
SendLobbyChat | function SendLobbyChat(string chatText, optional H7StructsAndEnumsNative.EChatChannel Channel = 0) |
SendLobbyStartGame | function SendLobbyStartGame(int mapMaxPlayers) |
SendLobbySystemChat | function SendLobbySystemChat(string PlayerName, string locaKey, optional H7StructsAndEnumsNative.EChatChannel Channel = 0) |
SendPlayerReady | function SendPlayerReady(int PlayerIndex, bool IsReady) |
ServerLobbyChat | reliable server function ServerLobbyChat(string PlayerName, string chatText, H7StructsAndEnumsNative.EChatChannel Channel) |
ServerLobbySetPlayerArmy | reliable server function ServerLobbySetPlayerArmy(int PlayerIndex, int armyIndex) |
ServerLobbySetPlayerColor | reliable server function ServerLobbySetPlayerColor(int PlayerIndex, int selectedColorEnum) |
ServerLobbySetPlayerFaction | reliable server function ServerLobbySetPlayerFaction(int PlayerIndex, string factionArchetypeID) |
ServerLobbySetPlayerHero | reliable server function ServerLobbySetPlayerHero(int PlayerIndex, string heroArchetypeID) |
ServerLobbySetPlayerPosition | reliable server function ServerLobbySetPlayerPosition(int PlayerIndex, int Position) |
ServerLobbySetPlayerReady | reliable server function ServerLobbySetPlayerReady(int PlayerIndex, bool IsReady, int privileges[20]) |
ServerLobbySetPlayerStartBonus | reliable server function ServerLobbySetPlayerStartBonus(int PlayerIndex, int bonusIndex) |
ServerLobbySetPlayerTeam | reliable server function ServerLobbySetPlayerTeam(int PlayerIndex, int teamEnum) |
SetAlwaysQuickCombat | function SetAlwaysQuickCombat(bool val) |
SetAutoSkilling | function SetAutoSkilling(bool val) |
SetBigHead | function SetBigHead(bool newBigHead) |
SetBloom | function SetBloom(bool val) |
SetBorderPan | function SetBorderPan(bool Value) |
SetBufferedCommand_Resolution | function SetBufferedCommand_Resolution(int X, int Y) |
SetBufferedCommand_WindowMode | function SetBufferedCommand_WindowMode(H7StructsAndEnumsNative.EWindowMode windowMode) |
SetCameraActionRunning | function SetCameraActionRunning(bool val) |
SetCaravanTurn | function SetCaravanTurn(bool caravanTurn) |
SetChristmasMode | exec function SetChristmasMode(bool Value) |
SetCinematicControls | function SetCinematicControls(bool newCinematicView) |
SetCinematicVisibilities | function SetCinematicVisibilities(bool newCinematicView) |
SetCommandRequested | function SetCommandRequested(bool commandRequested) |
SetCursor | function SetCursor(H7StructsAndEnums.ECursorType cursorType, optional Rotator cursorRotation) |
SetCursorTexture | function SetCursorTexture(Texture2D cursorTexture, optional Texture2D objectTexture, optional int objectOffsetX, optional int objectOffsetY, optional int SizeX, optional int SizeY) |
SetDistortion | function SetDistortion(bool val) |
SetDynamicShadows | native function SetDynamicShadows(bool val) |
SetDynamicShadowsDeffered | native exec function SetDynamicShadowsDeffered(bool val) |
SetFlagVisibility | exec function SetFlagVisibility(bool Hidden) |
SetFlythroughRunning | function SetFlythroughRunning(bool val, optional bool ToggleHUD = true, optional bool toggleCinematic = true, optional bool toggleFog = false) |
SetGeneralPanningSensitivity | function SetGeneralPanningSensitivity(float Value) |
SetInLoadingScreen | function SetInLoadingScreen(bool val) |
SetInputAllowedFromKismet | function SetInputAllowedFromKismet(bool isAllowed) |
SetIsPopupOpen | function SetIsPopupOpen(bool val) |
SetIsUnrealInputAllowed | function SetIsUnrealInputAllowed(bool isAllowed) |
SetKeyboardPanningSensitivity | function SetKeyboardPanningSensitivity(float Value) |
SetKeyboardRotatingSensitivity | function SetKeyboardRotatingSensitivity(float Value) |
SetLandscapeQuality | native function SetLandscapeQuality(int val) |
SetLightShafts | function SetLightShafts(bool val) |
SetMainHUD | function SetMainHUD(H7Hud newHUD) |
SetMouseLockedToWindow | function SetMouseLockedToWindow(bool IsLocked) |
SetMousePanInvertion | function SetMousePanInvertion(bool Value) |
SetMouseRotatingSensitivity | function SetMouseRotatingSensitivity(float Value) |
SetMouseWheelBackward | private final exec function SetMouseWheelBackward() |
SetMouseWheelForward | private final exec function SetMouseWheelForward() |
SetParticleQuality | function SetParticleQuality(int val) |
SetPause | function bool SetPause(bool bPause) |
SetPixellated | event SetPixellated(bool newPixellated) |
SetRMGSettings | native exec function SetRMGSettings(int MapSize, int playerAmount, string tileCode, optional int Seed = 0) |
SetSecondaryHUD | function SetSecondaryHUD(H7Hud newHUD) |
SetShaderQuality | native function SetShaderQuality(int val) |
SetShiftFalse | exec function SetShiftFalse() |
SetShiftTrue | exec function SetShiftTrue() |
SetSkelMeshQuality | function SetSkelMeshQuality(int val) |
SetStaticMeshQuality | native function SetStaticMeshQuality(int val) |
SetTempBind | exec function SetTempBind(name BindName, string Command) |
SetVSync | function SetVSync(bool val) |
SetWindowMode | function SetWindowMode(int windowModeInt) |
SkipMovie | function SkipMovie() |
StartPanMouse | private final exec function StartPanMouse() |
StopPanMouse | private final exec function StopPanMouse() |
TestRounding | exec function TestRounding() |
TickResolution | function TickResolution() |
toggleCinematicView | exec function toggleCinematicView(bool newCinematicView) |
ToggleEventLog | exec function ToggleEventLog() |
ToggleFlythrough | function ToggleFlythrough(bool val, optional bool ToggleHUD = true, optional bool toggleCinematicView = true, optional bool toggleFog = false) |
ToggleGrid | exec function ToggleGrid() |
ToggleMenu | exec function ToggleMenu() |
TogglePopup | function TogglePopup(H7FlashMoviePopupCntl PopUp) |
ToggleSRGB | exec function ToggleSRGB(bool Value) |
TraceAllButLandscape | native function TraceAllButLandscape(out ImpactInfo finalHitInfo, Vector StartPosition, Vector endPosition) |
UnLoadCursorObject | function UnLoadCursorObject() |
UnlockAllRewards | exec function UnlockAllRewards() |
UpdateRMGString | simulated reliable client function UpdateRMGString(string rmgString, int numPulibcConnections) |
UpdateRotation | function UpdateRotation(float DeltaTime) |
Default values¶
IsInverted=true
mBorderPan=true
mAllowInput=true
mAllowInputFromKismet=true
mUserClickedPrevious=true
mShowUnreachableServers=true
mEnableCouncilAnimations=true
mActiveProfile="Ivan_1"
PanningMouseSensitivity=1.5000000
GeneralPanningSensitivity=1.5000000
MouseRotatingSensitivity=1.0000000
KeyboardRotatingSensitivity=1.0000000
KeyboardPanningSensitivity=3.0000000
MousePanningCache=10
CameraClass=Class'H7Camera'