YOM Replicator SDK 0.8.0.0
A metaverse SDK created by YOM
|
The main player of the metaspaces, it is a PlayerController as the PlayerController should never change.
Public Member Functions | |
Blueprint Functions | |
void | SetManualSpawn (const FTransform &pSpawn) |
Sets the spawn position for manual spawning. More... | |
void | OnSpawn () |
A spawn function that can be overriden by blueprints to define their own spawning behavior. More... | |
void | SpawnPlayerInstance () |
Spawns the player into the game and posses the player Should ONLY be called when AutoSpawn is set to false. More... | |
UYomModule * | GetModuleByName (const FString &pName) |
Tries to find a module with a given name. More... | |
AYomManager * | GetManagerByName (const FString &pName) |
Tries to find a manager with a given name. More... | |
TArray< UYomModule * > & | GetLoadedModules () |
Returns all loaded modules on this player. More... | |
const FWallet & | GetWallet () const |
Returns the current wallet data from the player. More... | |
const FString & | GetWalletID () const |
Returns the current walletID from the player. More... | |
const FString & | GetPlayerName () const |
Get the current walletID from the player. More... | |
UPixelStreamingInput * | GetInputComponent () const |
Returns the current pixelstream input component from this player. More... | |
bool | HasSpawned () const |
Returns true if the player has a pawn that spawned in the game. More... | |
Public Attributes | |
Blueprint Members | |
TArray< TSubclassOf< APawn > > | PlayerAssets |
The player asset of the player that needs to be spawned. More... | |
TArray< TSubclassOf< AYomManager > > | YomManagers |
List of YomManagers that should be spawned when player connnects. More... | |
bool | ManualSpawnLocation = false |
Determines where to spawn the player If true, it spawns the player at a random player start If false, the player will be spawned at the ManualSpawnTransform which can be set by the user. More... | |
FTransform | ManualSpawnTransform |
The transform that can be set to spawn a player in a specific position. More... | |
ULevelSequence * | MovieSceneSequence |
The class of the camera sequence that plays when the player does not have a wallet. More... | |
FMovieSceneSequencePlaybackSettings | MovieSceneSettings |
The camera settings of the camera sequence that plays when the player does not have a wallet. More... | |
FLevelSequenceCameraSettings | CameraSettings |
UPixelStreamingInput * AYomPlayer::GetInputComponent | ( | ) | const |
Returns the current pixelstream input component from this player.
TArray< UYomModule * > & AYomPlayer::GetLoadedModules | ( | ) |
Returns all loaded modules on this player.
AYomManager * AYomPlayer::GetManagerByName | ( | const FString & | pName | ) |
Tries to find a manager with a given name.
pName | The name of the manager |
UYomModule * AYomPlayer::GetModuleByName | ( | const FString & | pName | ) |
Tries to find a module with a given name.
pName | The name of the module |
const FString & AYomPlayer::GetPlayerName | ( | ) | const |
Get the current walletID from the player.
const FWallet & AYomPlayer::GetWallet | ( | ) | const |
Returns the current wallet data from the player.
const FString & AYomPlayer::GetWalletID | ( | ) | const |
Returns the current walletID from the player.
bool AYomPlayer::HasSpawned | ( | ) | const |
Returns true if the player has a pawn that spawned in the game.
void AYomPlayer::OnSpawn | ( | ) |
A spawn function that can be overriden by blueprints to define their own spawning behavior.
void AYomPlayer::SetManualSpawn | ( | const FTransform & | pSpawn | ) |
Sets the spawn position for manual spawning.
pSpawn | The spawn position |
void AYomPlayer::SpawnPlayerInstance | ( | ) |
Spawns the player into the game and posses the player Should ONLY be called when AutoSpawn is set to false.
FLevelSequenceCameraSettings AYomPlayer::CameraSettings |
bool AYomPlayer::ManualSpawnLocation = false |
Determines where to spawn the player If true, it spawns the player at a random player start If false, the player will be spawned at the ManualSpawnTransform which can be set by the user.
FTransform AYomPlayer::ManualSpawnTransform |
The transform that can be set to spawn a player in a specific position.
ULevelSequence* AYomPlayer::MovieSceneSequence |
The class of the camera sequence that plays when the player does not have a wallet.
FMovieSceneSequencePlaybackSettings AYomPlayer::MovieSceneSettings |
The camera settings of the camera sequence that plays when the player does not have a wallet.
TArray<TSubclassOf<APawn> > AYomPlayer::PlayerAssets |
The player asset of the player that needs to be spawned.
TArray<TSubclassOf<AYomManager> > AYomPlayer::YomManagers |
List of YomManagers that should be spawned when player connnects.