Navigation
API > API/Runtime > API/Runtime/Engine
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 }
| Name | FLocalPlayerIterator |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/UnrealEngine.h |
| Include Path | #include "UnrealEngine.h" |
Syntax
class FLocalPlayerIterator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| UnrealEngine.h |
Functions
Public
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetCurrent() |
UnrealEngine.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator bool() |
UnrealEngine.h | ||
ULocalPlayer * operator*() |
UnrealEngine.h | ||
void operator++() |
UnrealEngine.h | ||
ULocalPlayer * operator->() |
UnrealEngine.h |