#include "FortGameStateZone.h" #include "Net/UnrealNetwork.h" void AFortGameStateZone::UnregisterGameplayModifier(const FActiveGameplayModifierHandle& InHandleToUnregister) { } void AFortGameStateZone::UnbindDelegateOnGameplayVoteUpdated(EFortVoteType VoteType, FOnGameplayVotesUpdated Delegate) { } bool AFortGameStateZone::ShouldDisablePlayerTeleportingDuringMissionResults() const { return false; } void AFortGameStateZone::SetIsDBNODeathEnabled(bool NewValue) { } bool AFortGameStateZone::SetDifficultyIncreaseRewardTier(int32 InDifficultyIncreaseTier) { return false; } void AFortGameStateZone::SetBuildingAllowed(bool bBuildingAtLayoutRequirementsAllowed, bool bBuildingWithoutLayoutRequirementsAllowed) { } void AFortGameStateZone::ServerSubmitGameplayVote(EFortVoteType VoteType, int32 VoteDecision, const FUniqueNetIdRepl& PlayerNetId) { } void AFortGameStateZone::ServerFireAIDirectorEventBatch_Implementation(const TArray& Payload) { } bool AFortGameStateZone::ServerFireAIDirectorEventBatch_Validate(const TArray& Payload) { return true; } void AFortGameStateZone::ServerFireAIDirectorEvent_Implementation(EFortAIDirectorEvent Event, UObject* EventSource, UObject* EventTarget, float EventMultiplier) { } bool AFortGameStateZone::ServerFireAIDirectorEvent_Validate(EFortAIDirectorEvent Event, UObject* EventSource, UObject* EventTarget, float EventMultiplier) { return true; } void AFortGameStateZone::ServerEndGameplayVote(EFortVoteType VoteType, const FUniqueNetIdRepl& PlayerNetId) { } void AFortGameStateZone::ServerBeginGameplayVote(EFortVoteType VoteType, const FUniqueNetIdRepl& PlayerNetId, FFortVoteConfig VoteConfig) { } void AFortGameStateZone::RemovePlayerAbilityRestriction() { } FActiveGameplayModifierHandle AFortGameStateZone::RegisterGameplayModifier(const UFortGameplayModifierItemDefinition* InModifierToRegister, int32 Expiration) { return FActiveGameplayModifierHandle{}; } void AFortGameStateZone::OnWaveStart_Implementation(const FText& LevelText, int32 Level, const FText& WaveText, int32 WaveNum) { } void AFortGameStateZone::OnWaveEncounterStarted(const FTieredWaveSetData& WaveData, const FText& LevelText, int32 Level, const FText& WaveText, int32 WaveNum) { } void AFortGameStateZone::OnWaveBasedModifiersAppliedMulticast_Implementation(const TArray& ModifiersApplied) { } void AFortGameStateZone::OnRep_ZoneDifficultyInfoRow() { } void AFortGameStateZone::OnRep_TheaterUniqueId() { } void AFortGameStateZone::OnRep_ServerGameplayTagIndexHash() { } void AFortGameStateZone::OnRep_PlayerStructuresChanged() { } void AFortGameStateZone::OnRep_PlayerSharedTrapAttributes() { } void AFortGameStateZone::OnRep_PlayerBuildingSkillLevel() { } void AFortGameStateZone::OnRep_NumSurvivorsRescued() { } void AFortGameStateZone::OnRep_MissionRewards() { } void AFortGameStateZone::OnRep_MissionGenerator() { } void AFortGameStateZone::OnRep_MissionAlertData() { } void AFortGameStateZone::OnRep_GameplayVotes() { } void AFortGameStateZone::OnRep_GameDifficulty() { } void AFortGameStateZone::OnRep_DifficultyIncreaseRewardTier() { } void AFortGameStateZone::OnRep_DifficultyIncreaseRewards() { } void AFortGameStateZone::OnRep_bGlobalCeaseFire() { } void AFortGameStateZone::OnRep_AllSpawnGroupUpgradeModifierDefs() { } void AFortGameStateZone::OnRep_ActiveGameplayModifiers() { } void AFortGameStateZone::OnDefenderRemoved(AFortAIPawn* Defender) { } void AFortGameStateZone::OnDefenderDeployed(AFortAIPawn* Defender) { } void AFortGameStateZone::NotifySurvivorSpawned() { } void AFortGameStateZone::NotifySurvivorRescued(AFortPlayerController* Rescuer, const FString& SurvivorName) { } void AFortGameStateZone::NotifySurvivorDead() { } void AFortGameStateZone::NotifyEndFailedGameplayVoteLockout_Implementation(EFortVoteType VoteType) { } bool AFortGameStateZone::IsRespawningAllowed(AFortPlayerState* PlayerState) const { return false; } bool AFortGameStateZone::IsGameplayVoteLocked(EFortVoteType VoteType) const { return false; } bool AFortGameStateZone::IsGameplayVoteInProgress(EFortVoteType VoteType) const { return false; } bool AFortGameStateZone::IsGameplayVoteActive(EFortVoteType VoteType) const { return false; } bool AFortGameStateZone::IsDefenderItemDeployed(UFortItem* DefenderItem, AFortPlayerStateZone* RequestingPlayer) const { return false; } bool AFortGameStateZone::IsBuildingWithoutLayoutRequirementsAllowed() const { return false; } bool AFortGameStateZone::IsBuildingAtLayoutRequirementsAllowed() const { return false; } bool AFortGameStateZone::IsAnyGameplayVoteActive() const { return false; } bool AFortGameStateZone::HasActiveGameplayModifiers() const { return false; } void AFortGameStateZone::GloballyUnblockAbilitiesWithTags(FGameplayTagContainer TagsToUnblock) { } void AFortGameStateZone::GloballyBlockAbilitiesWithTags(FGameplayTagContainer TagsToBlock) { } bool AFortGameStateZone::GetVoteStartTime(EFortVoteType VoteType, FDateTime& VoteStartTime) const { return false; } bool AFortGameStateZone::GetVoteInstigator(EFortVoteType VoteType, FUniqueNetIdRepl& InstigatorNetId) const { return false; } bool AFortGameStateZone::GetVoteEndTime(EFortVoteType VoteType, FDateTime& VoteEndTime) const { return false; } float AFortGameStateZone::GetVoteDuration(EFortVoteType VoteType) const { return 0.0f; } bool AFortGameStateZone::GetVoteArbitratorType(EFortVoteType VoteType, EFortVoteArbitratorType& ArbitratorType) const { return false; } AFortInGameMapManager* AFortGameStateZone::GetUIMapManager() { return NULL; } int32 AFortGameStateZone::GetTotalScore(EStatCategory ScoreCategory) const { return 0; } float AFortGameStateZone::GetTimeRemainingToEndVote(EFortVoteType VoteType) const { return 0.0f; } float AFortGameStateZone::GetTimeRemainingToEndFailedVoteLockout(EFortVoteType VoteType) const { return 0.0f; } float AFortGameStateZone::GetTimeElapsedSinceEndVote(EFortVoteType VoteType) const { return 0.0f; } float AFortGameStateZone::GetTimeElapsedSinceBeginVote(EFortVoteType VoteType) const { return 0.0f; } AFortThreatParticleActor* AFortGameStateZone::GetThreatParticleActor() const { return NULL; } int32 AFortGameStateZone::GetNumSurvivorsSpawned() const { return 0; } int32 AFortGameStateZone::GetNumSurvivorsRescued() const { return 0; } int32 AFortGameStateZone::GetNumSurvivorsDead() const { return 0; } int32 AFortGameStateZone::GetNumAllowedDifficultyIncreases() const { return 0; } bool AFortGameStateZone::GetIsDBNODeathEnabled() const { return false; } TArray AFortGameStateZone::GetGameplayVotesForChoice(EFortVoteType VoteType, int32 VoteChoice) const { return TArray(); } float AFortGameStateZone::GetGameDifficulty() const { return 0.0f; } float AFortGameStateZone::GetFailedVoteLockOutDuration(EFortVoteType VoteType) const { return 0.0f; } bool AFortGameStateZone::GetCurrentVoters(EFortVoteType VoteType, TArray& Voters) const { return false; } void AFortGameStateZone::GetActiveModifiers(TArray& OutActiveModifiers) const { } bool AFortGameStateZone::CanSpawnDefender(AFortPlayerStateZone* PlayerCausingRemoval, const FName& RemoveFromDefenderSquadId, AFortAIPawn*& OutDefenderToBeRemoved) const { return false; } void AFortGameStateZone::BindDelegateOnGameplayVoteUpdated(EFortVoteType VoteType, FOnGameplayVotesUpdated Delegate) { } void AFortGameStateZone::ApplyPlayerAbilityRestriction() { } void AFortGameStateZone::GetLifetimeReplicatedProps(TArray& OutLifetimeProps) const { Super::GetLifetimeReplicatedProps(OutLifetimeProps); DOREPLIFETIME(AFortGameStateZone, WaitingToLeaveZoneTimeLeft); DOREPLIFETIME(AFortGameStateZone, HostilityMeterPercent); DOREPLIFETIME(AFortGameStateZone, IntensityPercent); DOREPLIFETIME(AFortGameStateZone, SpawnPointsCap); DOREPLIFETIME(AFortGameStateZone, SpawnPointsAllocated); DOREPLIFETIME(AFortGameStateZone, MaxTotalAI); DOREPLIFETIME(AFortGameStateZone, MaxEncounterAI); DOREPLIFETIME(AFortGameStateZone, MaxEncounterSP); DOREPLIFETIME(AFortGameStateZone, ReplicatedMontageMap); DOREPLIFETIME(AFortGameStateZone, AllSpawnGroupUpgradeModifierDefs); DOREPLIFETIME(AFortGameStateZone, PlayerBuildingSkillLevel); DOREPLIFETIME(AFortGameStateZone, PlayerSharedMaxTrapAttributes); DOREPLIFETIME(AFortGameStateZone, ExplicitGloballyBlockedAbilityTags); DOREPLIFETIME(AFortGameStateZone, bInvitesRestricted); DOREPLIFETIME(AFortGameStateZone, bDBNODeathEnabled); DOREPLIFETIME(AFortGameStateZone, ServerGameplayTagIndexHash); DOREPLIFETIME(AFortGameStateZone, TotalPlayerStructures); DOREPLIFETIME(AFortGameStateZone, MaxPlayerStructures); DOREPLIFETIME(AFortGameStateZone, bGlobalCeaseFire); DOREPLIFETIME(AFortGameStateZone, GlobalEnvironmentAbilityActor); DOREPLIFETIME(AFortGameStateZone, ActiveGameplayModifiers); DOREPLIFETIME(AFortGameStateZone, ZoneDifficultyInfoRow); DOREPLIFETIME(AFortGameStateZone, ZoneTheme); DOREPLIFETIME(AFortGameStateZone, MissionGeneratorClass); DOREPLIFETIME(AFortGameStateZone, MissionRewards); DOREPLIFETIME(AFortGameStateZone, DifficultyIncreaseRewards); DOREPLIFETIME(AFortGameStateZone, MissionAlertData); DOREPLIFETIME(AFortGameStateZone, ThreatVisualsManager); DOREPLIFETIME(AFortGameStateZone, ThreatParticleActor); DOREPLIFETIME(AFortGameStateZone, GameDifficulty); DOREPLIFETIME(AFortGameStateZone, bIsGroupContent); DOREPLIFETIME(AFortGameStateZone, DifficultyIncreaseRewardTier); DOREPLIFETIME(AFortGameStateZone, UIMapManager); DOREPLIFETIME(AFortGameStateZone, TheaterUniqueId); DOREPLIFETIME(AFortGameStateZone, MissionLogDebugString); DOREPLIFETIME(AFortGameStateZone, bAllowBuildingAtLayoutRequirements); DOREPLIFETIME(AFortGameStateZone, bAllowBuildingWithoutLayoutRequirements); DOREPLIFETIME(AFortGameStateZone, bAllowLayoutRequirementsFeature); DOREPLIFETIME(AFortGameStateZone, DeployedDefenders); DOREPLIFETIME(AFortGameStateZone, NumSurvivorsRescued); DOREPLIFETIME(AFortGameStateZone, GameplayVotesArray); DOREPLIFETIME(AFortGameStateZone, CreativeRealEstatePlotManager); } AFortGameStateZone::AFortGameStateZone() { this->PawnIDCount = 0; this->WaitingToLeaveZoneTimeLeft = -1; this->HostilityMeterPercent = 0.00f; this->IntensityPercent = 0.00f; this->SpawnPointsCap = 0; this->SpawnPointsAllocated = 0; this->MaxTotalAI = 0; this->MaxEncounterAI = 0; this->MaxEncounterSP = 0; this->PlayerBuildingSkillLevel = 0.00f; this->bInvitesRestricted = false; this->bDBNODeathEnabled = true; this->ServerGameplayTagIndexHash = 0; this->bDisconnectOnServerGameplayTagIndexHashMismatch = true; this->TotalPlayerStructures = 0; this->MaxPlayerStructures = -1; this->bGlobalCeaseFire = false; this->GlobalEnvironmentAbilityActor = NULL; this->bSupportRuntimeShutdownOfGameplayModifiers = true; this->StructuralSupportSystem = NULL; this->ZoneTheme = NULL; this->ThreatVisualsManager = NULL; this->ThreatParticleActor = NULL; this->bDrawRunVariationDebug = false; this->VariationIndex = 0; this->GameDifficulty = 0.00f; this->bIsGroupContent = false; this->DifficultyIncreaseRewardTier = 0; this->bAllowedToUpdateBackendDifficulty = false; this->UIMapManager = NULL; this->CharacterCosmeticManager = NULL; this->ScoringTableRowName = TEXT("Default"); this->TotalCombatScore = 0; this->TotalBuildingScore = 0; this->TotalUtilityScore = 0; this->bAllowBuildingCostMods = true; this->bFreeBuildingRepairs = false; this->bAllowBuildingAtLayoutRequirements = true; this->bAllowBuildingWithoutLayoutRequirements = true; this->bAllowLayoutRequirementsFeature = true; this->bAllowBuildingThroughBlockingObjects = true; this->NumSurvivorsSpawned = 0; this->NumSurvivorsDead = 0; this->NumSurvivorsRescued = 0; this->UnplayableHitchThresholdInMs = 500.00f; this->MaxUnplayableHitchesToTolerate = 2; this->CreativePortalManager = NULL; this->CreativeRealEstatePlotManager = NULL; }