![]() |
LEAP Documentation 40220
Documentation for the LEAP project
|
#include <ProjectXGameMode.h>
Public Member Functions | |
FORCEINLINE TSubclassOf< AHUD > | GetHUDClass () const |
FORCEINLINE TSubclassOf< AHUD > | GetSpectatorHUDClass () const |
FORCEINLINE TSubclassOf< class ULocalMessage > | GetExperienceEventMessageClass () const |
int32 | GetMaxPlayers () const |
FORCEINLINE int32 | GetAverageFramerate () const |
FORCEINLINE int32 | GetHighestAverageFramerate () const |
FORCEINLINE int32 | GetLowestAverageFramerate () const |
FORCEINLINE int32 | GetShortestFrame () const |
FORCEINLINE int32 | GetLongestFrame () const |
UExperienceConfiguration * | GetExperienceConfiguration () const |
bool | AreLoadoutsEnabled () const |
const TMap< uint8, FTeamInfo > & | GetTeamConfig () const |
virtual APawn * | SpawnDefaultPawnAtTransform_Implementation (AController *NewPlayer, const FTransform &SpawnTransform) override |
float | GetRedeployRespawnTime () const |
float | GetReviveDuration () const |
bool | GetPreventsIdleKickWhileDead () const |
virtual void | InitGame (const FString &MapName, const FString &Options, FString &ErrorMessage) override |
virtual void | Tick (float DeltaSeconds) override |
virtual void | InitGameState () override |
virtual void | UpdateNetDriver () |
virtual void | StartPlay () override |
virtual void | EndPlay (const EEndPlayReason::Type EndPlayReason) override |
virtual void | OnDeath (AController *Killed, AController *Killer, TSubclassOf< class UProjectXDamageType > DamageType, bool bWasHeadshot) |
virtual void | OnTeamKill (APlayerController *Killer, APlayerController *Killed) |
virtual void | StartMatch () override |
virtual void | EndWarmUp () |
virtual void | RequestServerRestart () |
virtual bool | IsMatchInProgress () const override |
virtual void | OnMatchStateSet () override |
virtual void | EndMatch () |
virtual void | SetNextMapOverrideByName (const FName &NextMapName) |
virtual void | FinishMatch (FEndGameEvent const &EndGameEvent) |
virtual void | MatchStartRequest () |
virtual bool | CanRestart () const |
virtual bool | IsMatchInWarmUp () const |
virtual void | EndMatchTimer () |
virtual bool | RequestServerTravel (const FString &URL) |
virtual void | RestartPlayer (AController *NewPlayer) override |
virtual void | FinishRestartPlayer (AController *NewPlayer, const FRotator &StartRotation) |
virtual void | PreLogin (const FString &Options, const FString &Address, const FUniqueNetIdRepl &UniqueId, FString &ErrorMessage) override |
virtual APlayerController * | Login (UPlayer *NewPlayer, ENetRole InRemoteRole, const FString &Portal, const FString &Options, const FUniqueNetIdRepl &UniqueId, FString &ErrorMessage) override |
virtual void | PostLogin (APlayerController *NewPlayer) override |
virtual void | Logout (AController *Exiting) override |
virtual AActor * | ChoosePlayerStart_Implementation (AController *Player) override |
virtual UClass * | GetDefaultPawnClassForController_Implementation (AController *Player) override |
virtual UClass * | GetDefaultHUDClassForController (APlayerController *Player) const |
virtual void | InitializeHUDForPlayer_Implementation (APlayerController *NewPlayer) override |
void | RegisterPostGameLineup (AActor *PostGamePodium) |
float | GetPassiveUltChargeAmount () |
void | UpdateGameModeWinStat (AProjectXPlayerState *const PXPlayerState) |
FORCEINLINE int32 | GetPlayerMaxDeployables () const |
virtual bool | ConsumeTicket (int32 Team, int32 Amount=1) |
virtual ETeamJoinResponse | JoinTeam (APlayerController *PlayerController, uint8 Team) |
virtual ETeamJoinResponse | CanJoinTeam (APlayerController *PlayerController, uint8 Team) const |
TArray< FActorSpawnInfo > | GetWorldDropsOverrideArray () const |
virtual TSubclassOf< AGameSession > | GetGameSessionClass () const override |
virtual void | HandleMatchIsWaitingToStart () override |
virtual void | HandleMatchHasStarted () override |
virtual void | HandleMatchWarmupEnded () |
virtual void | CalculateTicketWinCondition () |
virtual void | CalculateTimeOutWinCondition () |
virtual int32 | GetWinningTeamByTickets () |
virtual void | AssignPlayerTeam (APlayerController *PlayerController, const FString &Options) |
virtual bool | AssignPlayerTeamFromTarget (const FString &Target, APlayerController *PlayerController) |
virtual void | AutoAssignPlayerTeam (APlayerController *PlayerController) |
virtual void | CollectGamePlayObjects () |
void | OnAntiCheatKickRequired (APlayerController *Player, const FString &KickReason) |
void | OnAntiCheatMessageToClient (APlayerController *Recipient, TArrayView< const uint8 > Message) |
Static Public Member Functions | |
static AProjectXGameMode * | GetGameModeDefaultObject (const UObject *WorldContextObject) |
Friends | |
class | AProjectXGameState |
|
inline |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in AProjectXGameModeHorde.
|
virtual |
Reimplemented in AProjectXGameModeAssault, and AProjectXGameModeTDCapFlag.
|
virtual |
Reimplemented in AProjectXGameModeAllOutWarfare, and AProjectXGameModeAssault.
|
virtual |
Reimplemented in AProjectXGameModeHorde.
|
virtual |
Reimplemented in AProjectXGameModeHorde.
|
overridevirtual |
|
virtual |
|
virtual |
Reimplemented in AProjectXPracticeRangeGameMode, and AProjectXGameModeAssault.
|
virtual |
|
virtual |
|
overridevirtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in AProjectXGameModeHorde.
|
inline |
|
virtual |
|
overridevirtual |
Reimplemented in APXGameModeBaseControlTesting, and AProjectXGameModeTutorial.
UExperienceConfiguration * AProjectXGameMode::GetExperienceConfiguration | ( | ) | const |
|
inline |
|
static |
|
overridevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
int32 AProjectXGameMode::GetMaxPlayers | ( | ) | const |
float AProjectXGameMode::GetPassiveUltChargeAmount | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
|
inline |
|
overridevirtual |
Reimplemented in AProjectXGameModeHorde.
|
overridevirtual |
|
virtual |
Reimplemented in AProjectXGameModeHorde, AProjectXGameModeKingofTheHill, and AProjectXGameModeVIP.
|
overridevirtual |
|
overridevirtual |
Reimplemented in AProjectXGameModeAllOutWarfare, AProjectXGameModeBaseControl, AProjectXGameModeKingofTheHill, and AProjectXGameModeVIP.
|
overridevirtual |
Reimplemented in APXGameModeBaseControlTesting, and AProjectXGameModeTutorial.
|
overridevirtual |
|
virtual |
|
virtual |
|
overridevirtual |
|
overridevirtual |
Reimplemented in AProjectXGameModeHorde.
|
virtual |
void AProjectXGameMode::OnAntiCheatKickRequired | ( | APlayerController * | Player, |
const FString & | KickReason | ||
) |
void AProjectXGameMode::OnAntiCheatMessageToClient | ( | APlayerController * | Recipient, |
TArrayView< const uint8 > | Message | ||
) |
|
virtual |
|
overridevirtual |
|
virtual |
|
overridevirtual |
|
overridevirtual |
void AProjectXGameMode::RegisterPostGameLineup | ( | AActor * | PostGamePodium | ) |
|
virtual |
|
virtual |
|
overridevirtual |
Reimplemented in APXGameModeBaseControlTesting, AProjectXGameModeHorde, and AProjectXGameModeTutorial.
|
virtual |
|
overridevirtual |
Reimplemented in AProjectXGameModeVIP.
|
overridevirtual |
Reimplemented in AProjectXGameModeKingofTheHill.
|
overridevirtual |
|
overridevirtual |
void AProjectXGameMode::UpdateGameModeWinStat | ( | AProjectXPlayerState *const | PXPlayerState | ) |
|
virtual |
|
friend |
bool AProjectXGameMode::bCanSwapTeams = true |
bool AProjectXGameMode::bLoadoutsEnabled = true |
bool AProjectXGameMode::bPreventIdleKickWhileDead = false |
UCurveFloat* AProjectXGameMode::ChargeRateCurve |
TSubclassOf<UExperienceConfiguration> AProjectXGameMode::ExperienceConfigurationClass = NULL |
Event class handling experience rewarding events.
TSubclassOf<ULocalMessage> AProjectXGameMode::ExperienceEventMessageClass = NULL |
TSubclassOf<class ULocalMessage> AProjectXGameMode::GameModeBroadcastMessage |
TSubclassOf<class ULocalMessage> AProjectXGameMode::HeadshotKillBroadcastMessage |
TSubclassOf<class ULocalMessage> AProjectXGameMode::KillBroadcastMessage |
TArray<APlayerStart*> AProjectXGameMode::LobbyPlayerStarts |
float AProjectXGameMode::MatchLength = -1.0f |
float AProjectXGameMode::MatchLengthOverride = -1.0f |
TArray<APlayerStart*> AProjectXGameMode::MatchPlayerStarts |
TSubclassOf<class ULocalMessage> AProjectXGameMode::MatchStartRequestMessage |
float AProjectXGameMode::MatchStartTime = 5.0f |
float AProjectXGameMode::MatchStartTimeEditor = 3.0f |
FTimerHandle AProjectXGameMode::MatchTimer |
int32 AProjectXGameMode::MaxPlayerDeployables = 1 |
int32 AProjectXGameMode::MaxPlayerDeployablesOverride = -1 |
int32 AProjectXGameMode::MaxPlayers = 16 |
float AProjectXGameMode::MaxPlayersOverride = -1.0f |
int32 AProjectXGameMode::MaxSpectators = 8 |
int32 AProjectXGameMode::MaxTeamImbalance = 1 |
int32 AProjectXGameMode::MaxTeamSize = 0 |
float AProjectXGameMode::RedeployRespawnTime = 10.0f |
float AProjectXGameMode::RestartMatchTime = 5.0f |
float AProjectXGameMode::ReviveDuration = 30.0f |
FTimerHandle AProjectXGameMode::ServerResetTimer |
float AProjectXGameMode::ServerRestartTime = 0.f |
TSubclassOf<AHUD> AProjectXGameMode::SpectatorHUDClass = NULL |
HUD class this game uses.
TArray<int32> AProjectXGameMode::StartingTicketCountOverride |
TSubclassOf<class ULocalMessage> AProjectXGameMode::TeamGameBroadcastMessage = NULL |
int32 AProjectXGameMode::TeamKillsToKick = 5 |
int32 AProjectXGameMode::TeamKillsToSessionKick = 8 |
int32 AProjectXGameMode::TeamKillsToWarning = 2 |
TMap<uint8, FTeamInfo> AProjectXGameMode::TeamStartingConfig |
FTimerHandle AProjectXGameMode::WarmUpTimer |
TArray<FActorSpawnInfo> AProjectXGameMode::WorldDropsOverride |