Skip to content
nyfrk edited this page Aug 30, 2020 · 1 revision

ISettlers4Api::GetLocalPlayer method

Get the local player identifier. That is the player that is being controlled by the user.

Syntax

DWORD ISettlers4Api::GetLocalPlayer();

Parameters

none

Return value

If this method could execute successfully it will return the player identifier. If an error occurred it will return 0 (zero).

Remarks

none

Requirements

Minimum API Level 1
Target Edition HistoryEdition
MD5: C13883CBD796C614365AB2D670EAD561
Header S4ModApi.h
Library S4ModApi.lib
DLL S4ModApi.dll

See also

ISettlers4Api

Game.LocalPlayer (s4.muffinmar.io)

Clone this wiki locally