Skip to content

ATBLGameMode

#include <TBLGameMode.h>

Inherits from AGameMode

Inherited by ATBLFrontendGameMode, ATBLGameMode_NativeBase, ATutorialGameMode

Public Functions

Name
ATBLGameMode()
void ActuallyLeaveMap()
void AddBots(int32 InNumBots)
void AddBotsEx(int32 InNumBots, int32 Team, int32 Class)
void AddDummyBots(int32 InNumBots)
void AddNullBots(int32 InNumBots)
void AddPlayerBots(int32 InNumBots, TArray< FString > ExcludeCategories)
void AddPlayerBotsEx(int32 InNumBots, int32 Team, int32 Class, const FString & WhiteListName, TArray< FString > ExcludeCategories)
void AddPlayerBotsTrailerDefault(int32 InNumBots)
void AddPlayerBotsWhitelist(int32 InNumBots, const FString & WhiteListName)
void AddPlayerDummyBots(int32 InNumBots)
void AddPlayerNullBots(int32 InNumBots)
void AddStageProgress(FStageActorProgress Progress)
void AddStageTime(float TimeMinutes)
void AutoBalanceByNumPlayers()
void AutoBalanceByPlayerKills()
void AwardFFAVictory(ATBLPlayerState * InPlayerVictor)
void AwardVictory([[EFaction]] InVictor, ATBLPlayerState * InPlayerVictor)
void BanById(const FString & PlayerId, int32 Hours, const FString & Reason)
void BanByName(const FString & PlayerName, int32 Hours, const FString & Reason)
void BeginEpilogue()
void BroadcastChat(AActor * Sender, const FString & Msg, TEnumAsByte< [[EChatType::Type]] > Type, FColor OverrideColor)
void BroadcastLocalizedChat(const [[FText]] & Msg, TEnumAsByte< [[EChatType::Type]] > Type)
void BroadcastLocalizedChatForFaction([[EFaction]] ReceivingFaction, const [[FText]] & Msg, TEnumAsByte< [[EChatType::Type]] > Type)
void ClearAllObjectiveAITags()
void ClearPS5MatchId()
void ClearPS5MatchResponsiblePlayer()
void ClearStageProgress(FStageActorProgress Progress)
void ClientAddMainMenuMessage(const [[FText]] & Message)
void DisableSpawningBots()
USpawnQueuer * FindSpawnQueue(FName SpawnQueueName) const
TArray< AActor * > GetAIObjectiveActors(ATBLCharacter * Character) const
float GetEpilogueDuration() const
TSoftClassPtr< UUserWidget > GetGameModeWidgetClass() const
int32 GetNumberOfPlayersOnFaction([[EFaction]] Faction, bool bRequirePlayerState) const
FString GetServerDisplayName()
FString GetServerIdentifier()
void HandleAIPossessedPawn(ATBLAIController * AIC, APawn * APawn)
void InitSpawnQueuers()
void InitTeams()
bool IsAutoBalanceBlocked() const
bool IsSpawnWaveInQueue(const ASpawnWave * SpawnWave) const
bool IsValidHorseCompatibleServer()
UObject * K2_GetCurrentStage() const
void K2_HandleMatchHasStarted()
void K2_HandleMatchIsWaitingToStart()
void K2_HandlePrepareMatch()
void K2_HandleSkipStage()
void KickAllPlayers()
void KickById(const FString & PlayerId, const FString & Reason, float Time)
void KickByName(const FString & PlayerName, const FString & Reason, int32 BanTime)
void KickByNetIdWithTimer(const [[FUniqueNetIdRepl]] & UniqueId, const FString & Reason, float BanTime)
void OverrideAIBehavior(const FString & BehaviorTreeName)
void PerformDeferredSpawnRequest(FPendingSpawn DeferredSpawn)
bool PlayerRequestBeginSpectating(AController * Controller)
bool PlayerRequestNewTeam(AController * Controller, ATBLTeam * Team, bool bImmediatelySwitch)
void RemoveBots(bool bRemoveLevelBots, bool bRemoveBackfillBots)
void RemoveSessionBan(FSessionBannedPlayer BannedPlayer)
void SetPS5MatchId(const FString & NewPS5MatchId)
void SetPS5MatchResponsiblePlayer(ATBLPlayerState * NewPlayerState)
void Slomo(float T)
void TBSAddStageTime(float TimeMinutes)
void TBSEndGame(int32 WinningTeam)
void TBSEndWarmup()
void TBSManuallyStartGame()
void TBSModifyTeamScore(int32 TeamId, int32 Score)
void TBSSetUseMapList(bool UseMapList)
void TBSSkipStage()
void UpdateBotBackfill(int32 NewNumPlayers)
void UpdatePS5MatchResponsibility(APlayerController * ExcludePlayer)

Protected Functions

Name
void GetCharacterPerformanceTestInfo(bool & IsRunningTest, int32 & TestIndex)
void NotifyRoundTimeOut()
void OnPCPossessedPawn(APawn * APawn)
void PlayerReadyToSpawn(USpawnQueuer * SpawnQueuer, AController * Player, ASpawner * Spawner)

Public Attributes

Name
UBehaviorTree * AIBehaviorTree
TSubclassOf< ATBLAIController > AIControllerClass
ATBLActor * AlwaysOnMusicManager
[[EFaction]] AttackingFaction
float AutoBalanceGracePeriodSeconds
TSoftClassPtr< UBlueprintDebugMenuComponent > BlueprintDebugMenuComponentClass
bool BotBackfillEnabled
int32 BotBackfillHighBots
int32 BotBackfillHighPlayers
int32 BotBackfillLowBots
int32 BotBackfillLowPlayers
FCleanupAbilityActors CleanupAbilityActors
UContextVOManager * ContextVOManager
TEnumAsByte< [[EGameModeType::Type]] > CreateGameModeType
TArray< ATBLPlayerController * > DebugDrawAllTracers
TSubclassOf< AHorse > DefaultHorseClass
[[EFaction]] DefendingFaction
TSubclassOf< ATBLTeam > FFATeam
FRespawnStinger FirstSpawnSound
TArray< AGameModeModifier * > GameModeModifiers
TSubclassOf< UTBLGameModeSettings > GameModeSettingsClass
TSubclassOf< ATBLGameScoringInfo > GameScoringClass
ATBLGameScoringInfo * GameScoringInfo
TEnumAsByte< [[EGameModeType::Type]] > GamemodeType
float IdleKickTimerDisconnect
float IdleKickTimerSpectate
bool IgnoreClassLimits
FMatchComplete MatchCompleteEvent
FGuid MatchID
FControllerLogout OnControllerLogin
FControllerLogout OnControllerLogout
FHorseKilled OnHorseKilled
FPawnDowned OnPawnDowned
FPawnRevived OnPawnRevived
FPlayerKilled OnPlayerKilled
FPlayerPossessed OnPlayerPossessed
AActor * OverrideAIObjective
float PostGameSlomo
FRespawnStinger RespawnSound
float SeamlessTravelEndTime
UCurveFloat * SecondsBetweenWavesPlayerCountBonus
FServerPerformanceHistory ServerPerformanceHistory
TArray< FSessionBannedPlayer > SessionBannedPlayers
TArray< TSubclassOf< USpawnQueuer > > SpawnQueuerClasses
TArray< USpawnQueuer * > SpawnQueuers
TArray< TSubclassOf< ATBLTeam > > Teams
float TimeBetweenLoadoutVolumeUses
uint8 bAnalyticsShutdown
bool bDisablePlayerNamePlates
bool bFirstBotMatch
bool bHideHudImportantMessages
bool bHorseCompatibleServer
bool bIsFFAGameMode
bool bLoggingAbilityEvents
bool bOnlyShowNamesOnTeammates
bool bPerfomedDeferredSpawnThisFrame
bool bRespawnImmediately
bool bUseOpenLoadout
bool bUsePrioritySpawnSettings
bool bUseProximitySpawnSettings

Protected Attributes

Name
float AutoBalanceKillRelevancyTime
float AutoBalanceKillThreshold
TArray< FTeamBalanceConfig > AutoBalanceOptions
TArray< FAutoBalancePlayerSwappingPriorityConfig > AutoBalancePlayerPriorityConfig
bool AutoBalancePlayersByKills
bool AutoBalancePlayersByTeamNumbers
int32 AutoBalanceTimeUntilForcedRespawn
bool BlockVoteKicking
TArray< [[FClassLimitStruct]] > ClassLimits
float DesiredPlayersToStartPercentage
float EpilogueDuration
TSoftClassPtr< UUserWidget > GameModeWidgetClass
float GameModeXPMultiplier
TArray< int32 > GoldAwardByTeamPlacement
int32 GoldAwardByTimePeriodAmount
int32 GoldAwardTimePeriod
int32 GoldMaxFromPlaytimePerGame
TArray< float > GoldMultiplierByDailyHour
double GoldMultiplierByDailyHourTimeDilation
int32 MapListIndex
TArray< FString > Maplist
float MaxTimeBeforeStartingMatch
int32 MinPlayers
float MinTimeBeforeStartingMatch
float MinimumKillsModifierForAutoBalance
int32 PostMatchTime
float PrepareMatchDuration
FTimerHandle PrepareMatchTimerHandle
FString ServerIdentifier
FString ServerName
int32 StartOfMatchGracePeriodForAutoBalance
int32 StartOfMatchGracePeriodForTeamSwitching
TArray< FTeamBalanceConfig > TeamBalanceOptions
FTeamImbalanceTracker TeamImbalanceTracker
int32 TimeBetweenPlayerNumBalanceChecks
int32 TimeBetweenTeamKillBalanceChecks
float TimeEnteredWaitingToStart
[[EFaction]] Victor
int32 XpAwardByTimePeriodAmount
int32 XpAwardTimePeriod
int32 XpMaxFromPlaytimePerGame
TArray< float > XpMultiplierByDailyHour
double XpMultiplierByDailyHourTimeDilation
bool bClientSideWeaponTracers
bool bEnableAutoDemoRecording
bool bIsAITestMap
bool bManuallyStartMatch
bool bSpectatorsCannotSendToAllChat
bool bUseMaplist
bool bUsePrepareMatchTimer
bool bUseStrictTeamBalanceEnforcement

Updated on 2025-01-21 at 09:02:23 +0100