Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/UnrealEngine.h |
| Include | #include "UnrealEngine.h" |
Syntax
class FLocalPlayerIterator
Remarks
FLocalPlayerIterator - Iterates over local players in the game. There are no advantages to using this over GEngine->GetLocalPlayerIterator(GetWorld());
Example: for (FLocalPlayerIterator It(GEngine, GetWorld()); It; ++It) { // Do Stuff }
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< class ULocalPlayer * >::TConstIterator | Iter |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FLocalPlayerIterator
(
UEngine* InEngine, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GetCurrent () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| ULocalPlayer * | operator* () |
||
| void | operator++ () |
||
| ULocalPlayer * | operator-> () |