Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
GameState.h
Go to the documentation of this file.
1#pragma once
2
3#include "API/Base.h"
4
5struct AGameState : AInfo
6{
7 TSubclassOf<AGameMode>& GameModeClassField() { return *GetNativePointerField<TSubclassOf<AGameMode>*>(this, "AGameState.GameModeClass"); }
8 AGameMode* AuthorityGameModeField() { return *GetNativePointerField<AGameMode**>(this, "AGameState.AuthorityGameMode"); }
9 TSubclassOf<ASpectatorPawn>& SpectatorClassField() { return *GetNativePointerField<TSubclassOf<ASpectatorPawn>*>(this, "AGameState.SpectatorClass"); }
10 FName& MatchStateField() { return *GetNativePointerField<FName*>(this, "AGameState.MatchState"); }
11 FName& PreviousMatchStateField() { return *GetNativePointerField<FName*>(this, "AGameState.PreviousMatchState"); }
12 int& ElapsedTimeField() { return *GetNativePointerField<int*>(this, "AGameState.ElapsedTime"); }
13 TArray<APlayerState*> PlayerArrayField() { return *GetNativePointerField<TArray<APlayerState*>*>(this, "AGameState.PlayerArray"); }
14 TArray<APlayerState*> InactivePlayerArrayField() { return *GetNativePointerField<TArray<APlayerState*>*>(this, "AGameState.InactivePlayerArray"); }
15
16 // Bit fields
17
18 BitFieldValue<bool, unsigned __int32> bServerAllowsAnsel() { return { this, "AGameState.bServerAllowsAnsel" }; }
19
20 // Functions
21
22 bool TeleportTo(FVector* DestLocation, FRotator* DestRotation, bool bIsATest, bool bNoCheck) { return NativeCall<bool, FVector*, FRotator*, bool, bool>(this, "AGameState.TeleportTo", DestLocation, DestRotation, bIsATest, bNoCheck); }
23 void DefaultTimer() { NativeCall<void>(this, "AGameState.DefaultTimer"); }
24 void PostInitializeComponents() { NativeCall<void>(this, "AGameState.PostInitializeComponents"); }
25 void OnRep_GameModeClass() { NativeCall<void>(this, "AGameState.OnRep_GameModeClass"); }
26 void ReceivedGameModeClass() { NativeCall<void>(this, "AGameState.ReceivedGameModeClass"); }
27 void ReceivedSpectatorClass() { NativeCall<void>(this, "AGameState.ReceivedSpectatorClass"); }
28 void SeamlessTravelTransitionCheckpoint(bool bToTransitionMap) { NativeCall<void, bool>(this, "AGameState.SeamlessTravelTransitionCheckpoint", bToTransitionMap); }
29 void AddPlayerState(APlayerState* PlayerState) { NativeCall<void, APlayerState*>(this, "AGameState.AddPlayerState", PlayerState); }
30 void RemovePlayerState(APlayerState* PlayerState) { NativeCall<void, APlayerState*>(this, "AGameState.RemovePlayerState", PlayerState); }
31 void HandleMatchIsWaitingToStart() { NativeCall<void>(this, "AGameState.HandleMatchIsWaitingToStart"); }
32 void HandleMatchHasStarted() { NativeCall<void>(this, "AGameState.HandleMatchHasStarted"); }
33 bool HasMatchStarted() { return NativeCall<bool>(this, "AGameState.HasMatchStarted"); }
34 bool IsMatchInProgress() { return NativeCall<bool>(this, "AGameState.IsMatchInProgress"); }
35 bool HasMatchEnded() { return NativeCall<bool>(this, "AGameState.HasMatchEnded"); }
36 void InitializedGameState() { NativeCall<void>(this, "AGameState.InitializedGameState"); }
37 void OnRep_MatchState() { NativeCall<void>(this, "AGameState.OnRep_MatchState"); }
38 void GetLifetimeReplicatedProps(TArray<FLifetimeProperty>* OutLifetimeProps) { NativeCall<void, TArray<FLifetimeProperty>*>(this, "AGameState.GetLifetimeReplicatedProps", OutLifetimeProps); }
39 void NetSpawnActorAtLocation(TSubclassOf<AActor> AnActorClass, FVector_NetQuantize AtLocation, FRotator_NetQuantize AtRotation, AActor* EffectOwnerToIgnore, float MaxRangeToReplicate, USceneComponent* attachToComponent, int dataIndex, FName attachSocketName, bool bOnlySendToEffectOwner) { NativeCall<void, TSubclassOf<AActor>, FVector_NetQuantize, FRotator_NetQuantize, AActor*, float, USceneComponent*, int, FName, bool>(this, "AGameState.NetSpawnActorAtLocation", AnActorClass, AtLocation, AtRotation, EffectOwnerToIgnore, MaxRangeToReplicate, attachToComponent, dataIndex, attachSocketName, bOnlySendToEffectOwner); }
40 bool Semaphore_TryGrab(FName SemaphoreName, AActor* InObject, float PriorityWeight, int MaxToAllocate) { return NativeCall<bool, FName, AActor*, float, int>(this, "AGameState.Semaphore_TryGrab", SemaphoreName, InObject, PriorityWeight, MaxToAllocate); }
41 bool Semaphore_Release(FName SemaphoreName, AActor* InObject) { return NativeCall<bool, FName, AActor*>(this, "AGameState.Semaphore_Release", SemaphoreName, InObject); }
42};
43
45{
46 int& NumNPCField() { return *GetNativePointerField<int*>(this, "AShooterGameState.NumNPC"); }
47 int& NumHibernatedNPCField() { return *GetNativePointerField<int*>(this, "AShooterGameState.NumHibernatedNPC"); }
48 int& NumActiveNPCField() { return *GetNativePointerField<int*>(this, "AShooterGameState.NumActiveNPC"); }
49 int& NumDeadNPCField() { return *GetNativePointerField<int*>(this, "AShooterGameState.NumDeadNPC"); }
50 int& NumPlayerActorsField() { return *GetNativePointerField<int*>(this, "AShooterGameState.NumPlayerActors"); }
51 int& NumPlayerConnectedField() { return *GetNativePointerField<int*>(this, "AShooterGameState.NumPlayerConnected"); }
52 bool& bServerUseLocalizedChatField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bServerUseLocalizedChat"); }
53 float& LocalizedChatRadiusField() { return *GetNativePointerField<float*>(this, "AShooterGameState.LocalizedChatRadius"); }
54 float& VoiceSuperRangeRadiusField() { return *GetNativePointerField<float*>(this, "AShooterGameState.VoiceSuperRangeRadius"); }
55 float& VoiceWhisperRangeRadiusField() { return *GetNativePointerField<float*>(this, "AShooterGameState.VoiceWhisperRangeRadius"); }
56 float& LocalizedChatRadiusUnconsiousScaleField() { return *GetNativePointerField<float*>(this, "AShooterGameState.LocalizedChatRadiusUnconsiousScale"); }
57 unsigned int& VivoxAttenuationModelField() { return *GetNativePointerField<unsigned int*>(this, "AShooterGameState.VivoxAttenuationModel"); }
58 float& VivoxMinDistanceField() { return *GetNativePointerField<float*>(this, "AShooterGameState.VivoxMinDistance"); }
59 float& VivoxRolloffField() { return *GetNativePointerField<float*>(this, "AShooterGameState.VivoxRolloff"); }
60 float& ServerFramerateField() { return *GetNativePointerField<float*>(this, "AShooterGameState.ServerFramerate"); }
61 FString & NewStructureDestructionTagField() { return *GetNativePointerField<FString*>(this, "AShooterGameState.NewStructureDestructionTag"); }
62 int& DayNumberField() { return *GetNativePointerField<int*>(this, "AShooterGameState.DayNumber"); }
63 float& DayTimeField() { return *GetNativePointerField<float*>(this, "AShooterGameState.DayTime"); }
64 long double& NetworkTimeField() { return *GetNativePointerField<long double*>(this, "AShooterGameState.NetworkTime"); }
65 unsigned int& TimeUTCField() { return *GetNativePointerField<unsigned int*>(this, "AShooterGameState.TimeUTC"); }
66 bool& bIsOfficialServerField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bIsOfficialServer"); }
67 bool& bIsListenServerField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bIsListenServer"); }
68 bool& bIsDediServerField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bIsDediServer"); }
69 bool& bIsArkTributeAvailableField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bIsArkTributeAvailable"); }
70 bool& bIsArkDownloadsAllowedField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bIsArkDownloadsAllowed"); }
71 bool& bAllowThirdPersonPlayerField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bAllowThirdPersonPlayer"); }
72 bool& bServerHardcoreField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bServerHardcore"); }
73 bool& bServerPVEField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bServerPVE"); }
74 bool& bAutoPvEField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bAutoPvE"); }
75 bool& bServerCrosshairField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bServerCrosshair"); }
76 bool& bServerForceNoHUDField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bServerForceNoHUD"); }
77 bool& bFlyerPlatformAllowUnalignedDinoBasingField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bFlyerPlatformAllowUnalignedDinoBasing"); }
78 bool& bMapPlayerLocationField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bMapPlayerLocation"); }
79 bool& bPvEDisableFriendlyFireField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bPvEDisableFriendlyFire"); }
80 bool& bPvEAllowTribeWarField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bPvEAllowTribeWar"); }
81 bool& bPvEAllowTribeWarCancelField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bPvEAllowTribeWarCancel"); }
82 bool& bEnablePvPGammaField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bEnablePvPGamma"); }
83 bool& bDisablePvEGammaField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bDisablePvEGamma"); }
84 int& NumTamedDinosField() { return *GetNativePointerField<int*>(this, "AShooterGameState.NumTamedDinos"); }
85 int& MaxStructuresInRangeField() { return *GetNativePointerField<int*>(this, "AShooterGameState.MaxStructuresInRange"); }
86 float& DayCycleSpeedScaleField() { return *GetNativePointerField<float*>(this, "AShooterGameState.DayCycleSpeedScale"); }
87 float& DayTimeSpeedScaleField() { return *GetNativePointerField<float*>(this, "AShooterGameState.DayTimeSpeedScale"); }
88 float& NightTimeSpeedScaleField() { return *GetNativePointerField<float*>(this, "AShooterGameState.NightTimeSpeedScale"); }
89 float& PvEStructureDecayPeriodMultiplierField() { return *GetNativePointerField<float*>(this, "AShooterGameState.PvEStructureDecayPeriodMultiplier"); }
90 float& PvEDinoDecayPeriodMultiplierField() { return *GetNativePointerField<float*>(this, "AShooterGameState.PvEDinoDecayPeriodMultiplier"); }
91 float& PerPlatformMaxStructuresMultiplierField() { return *GetNativePointerField<float*>(this, "AShooterGameState.PerPlatformMaxStructuresMultiplier"); }
92 bool& bDisableStructureDecayPvEField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bDisableStructureDecayPvE"); }
93 bool& bDisableDinoDecayPvEField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bDisableDinoDecayPvE"); }
94 bool& bAllowCaveBuildingPvEField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bAllowCaveBuildingPvE"); }
95 bool& bAllowCaveBuildingPvPField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bAllowCaveBuildingPvP"); }
96 bool& bPreventDownloadSurvivorsField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bPreventDownloadSurvivors"); }
97 bool& bReachedPlatformStructureLimitField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bReachedPlatformStructureLimit"); }
98 bool& bAdminLoggingField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bAdminLogging"); }
99 bool& bPvPStructureDecayField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bPvPStructureDecay"); }
100 bool& bPreventDownloadDinosField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bPreventDownloadDinos"); }
101 bool& bPreventDownloadItemsField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bPreventDownloadItems"); }
102 bool& bPreventUploadDinosField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bPreventUploadDinos"); }
103 bool& bPreventUploadItemsField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bPreventUploadItems"); }
104 bool& bPreventUploadSurvivorsField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bPreventUploadSurvivors"); }
105 bool& bPreventMateBoostField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bPreventMateBoost"); }
106 bool& bPreventStructurePaintingField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bPreventStructurePainting"); }
107 bool& bAllowCharacterCreationField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bAllowCharacterCreation"); }
108 bool& bAllowSpawnPointSelectionField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bAllowSpawnPointSelection"); }
109 int& MaxTamedDinosField() { return *GetNativePointerField<int*>(this, "AShooterGameState.MaxTamedDinos"); }
110 bool& bDisableSpawnAnimationsField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bDisableSpawnAnimations"); }
111 FString & PlayerListStringField() { return *GetNativePointerField<FString*>(this, "AShooterGameState.PlayerListString"); }
112 float& GlobalSpoilingTimeMultiplierField() { return *GetNativePointerField<float*>(this, "AShooterGameState.GlobalSpoilingTimeMultiplier"); }
113 float& GlobalItemDecompositionTimeMultiplierField() { return *GetNativePointerField<float*>(this, "AShooterGameState.GlobalItemDecompositionTimeMultiplier"); }
114 int& MaxNumberOfPlayersInTribeField() { return *GetNativePointerField<int*>(this, "AShooterGameState.MaxNumberOfPlayersInTribe"); }
115 float& TribeSlotReuseCooldownField() { return *GetNativePointerField<float*>(this, "AShooterGameState.TribeSlotReuseCooldown"); }
116 float& GlobalCorpseDecompositionTimeMultiplierField() { return *GetNativePointerField<float*>(this, "AShooterGameState.GlobalCorpseDecompositionTimeMultiplier"); }
117 float& EggHatchSpeedMultiplierField() { return *GetNativePointerField<float*>(this, "AShooterGameState.EggHatchSpeedMultiplier"); }
118 FName & ActiveEventField() { return *GetNativePointerField<FName*>(this, "AShooterGameState.ActiveEvent"); }
119 bool& bAllowPaintingWithoutResourcesField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bAllowPaintingWithoutResources"); }
120 bool& bEnableExtraStructurePreventionVolumesField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bEnableExtraStructurePreventionVolumes"); }
121 TArray<FItemCraftingCostOverride> & OverrideItemCraftingCostsField() { return *GetNativePointerField<TArray<FItemCraftingCostOverride>*>(this, "AShooterGameState.OverrideItemCraftingCosts"); }
122 TArray<FItemMaxItemQuantityOverride> & OverrideItemMaxQuantityField() { return *GetNativePointerField<TArray<FItemMaxItemQuantityOverride>*>(this, "AShooterGameState.OverrideItemMaxQuantity"); }
123 long double& LastServerSaveTimeField() { return *GetNativePointerField<long double*>(this, "AShooterGameState.LastServerSaveTime"); }
124 float& ServerSaveIntervalField() { return *GetNativePointerField<float*>(this, "AShooterGameState.ServerSaveInterval"); }
125 float& TribeNameChangeCooldownField() { return *GetNativePointerField<float*>(this, "AShooterGameState.TribeNameChangeCooldown"); }
126 float& PlatformSaddleBuildAreaBoundsMultiplierField() { return *GetNativePointerField<float*>(this, "AShooterGameState.PlatformSaddleBuildAreaBoundsMultiplier"); }
127 bool& bAlwaysAllowStructurePickupField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bAlwaysAllowStructurePickup"); }
128 float& StructurePickupTimeAfterPlacementField() { return *GetNativePointerField<float*>(this, "AShooterGameState.StructurePickupTimeAfterPlacement"); }
129 float& StructurePickupHoldDurationField() { return *GetNativePointerField<float*>(this, "AShooterGameState.StructurePickupHoldDuration"); }
130 bool& bAllowIntegratedSPlusStructuresField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bAllowIntegratedSPlusStructures"); }
131 bool& bAllowHideDamageSourceFromLogsField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bAllowHideDamageSourceFromLogs"); }
132 UAudioComponent * DynamicMusicAudioComponentField() { return *GetNativePointerField<UAudioComponent**>(this, "AShooterGameState.DynamicMusicAudioComponent"); }
133 UAudioComponent * DynamicMusicAudioComponent2Field() { return *GetNativePointerField<UAudioComponent**>(this, "AShooterGameState.DynamicMusicAudioComponent2"); }
134 bool& bPlayingDynamicMusicField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bPlayingDynamicMusic"); }
135 bool& bPlayingDynamicMusic1Field() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bPlayingDynamicMusic1"); }
136 bool& bPlayingDynamicMusic2Field() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bPlayingDynamicMusic2"); }
137 float& LastHadMusicTimeField() { return *GetNativePointerField<float*>(this, "AShooterGameState.LastHadMusicTime"); }
138 TArray<FLevelExperienceRamp> & LevelExperienceRampOverridesField() { return *GetNativePointerField<TArray<FLevelExperienceRamp>*>(this, "AShooterGameState.LevelExperienceRampOverrides"); }
139 TArray<FEngramEntryOverride> & OverrideEngramEntriesField() { return *GetNativePointerField<TArray<FEngramEntryOverride>*>(this, "AShooterGameState.OverrideEngramEntries"); }
140 TArray<FString> & PreventDinoTameClassNamesField() { return *GetNativePointerField<TArray<FString>*>(this, "AShooterGameState.PreventDinoTameClassNames"); }
141 float& ListenServerTetherDistanceMultiplierField() { return *GetNativePointerField<float*>(this, "AShooterGameState.ListenServerTetherDistanceMultiplier"); }
142 FString & PGMapNameField() { return *GetNativePointerField<FString*>(this, "AShooterGameState.PGMapName"); }
143 TArray<int> & SupportedSpawnRegionsField() { return *GetNativePointerField<TArray<int>*>(this, "AShooterGameState.SupportedSpawnRegions"); }
144 UPaintingCache * PaintingCacheField() { return *GetNativePointerField<UPaintingCache**>(this, "AShooterGameState.PaintingCache"); }
145 USoundBase * StaticOverrideMusicField() { return *GetNativePointerField<USoundBase**>(this, "AShooterGameState.StaticOverrideMusic"); }
146 bool& bEnableDeathTeamSpectatorField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bEnableDeathTeamSpectator"); }
147 FVector & PlayerFloatingHUDOffsetField() { return *GetNativePointerField<FVector*>(this, "AShooterGameState.PlayerFloatingHUDOffset"); }
148 float& PlayerFloatingHUDOffsetScreenYField() { return *GetNativePointerField<float*>(this, "AShooterGameState.PlayerFloatingHUDOffsetScreenY"); }
149 float& StructureDamageRepairCooldownField() { return *GetNativePointerField<float*>(this, "AShooterGameState.StructureDamageRepairCooldown"); }
150 bool& bForceAllStructureLockingField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bForceAllStructureLocking"); }
151 bool& bAllowCustomRecipesField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bAllowCustomRecipes"); }
152 bool& bAllowRaidDinoFeedingField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bAllowRaidDinoFeeding"); }
153 float& CustomRecipeEffectivenessMultiplierField() { return *GetNativePointerField<float*>(this, "AShooterGameState.CustomRecipeEffectivenessMultiplier"); }
154 float& CustomRecipeSkillMultiplierField() { return *GetNativePointerField<float*>(this, "AShooterGameState.CustomRecipeSkillMultiplier"); }
155 USoundBase * OverrideAreaMusicField() { return *GetNativePointerField<USoundBase**>(this, "AShooterGameState.OverrideAreaMusic"); }
156 FVector & OverrideAreaMusicPositionField() { return *GetNativePointerField<FVector*>(this, "AShooterGameState.OverrideAreaMusicPosition"); }
157 float& OverrideAreaMusicRangeField() { return *GetNativePointerField<float*>(this, "AShooterGameState.OverrideAreaMusicRange"); }
158 bool& bAllowUnclaimDinosField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bAllowUnclaimDinos"); }
159 float& FloatingHUDRangeField() { return *GetNativePointerField<float*>(this, "AShooterGameState.FloatingHUDRange"); }
160 float& FloatingChatRangeField() { return *GetNativePointerField<float*>(this, "AShooterGameState.FloatingChatRange"); }
161 int& ExtinctionEventTimeIntervalField() { return *GetNativePointerField<int*>(this, "AShooterGameState.ExtinctionEventTimeInterval"); }
162 float& ExtinctionEventPercentField() { return *GetNativePointerField<float*>(this, "AShooterGameState.ExtinctionEventPercent"); }
163 int& ExtinctionEventSecondsRemainingField() { return *GetNativePointerField<int*>(this, "AShooterGameState.ExtinctionEventSecondsRemaining"); }
164 bool& bDoExtinctionEventField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bDoExtinctionEvent"); }
165 TArray<FInventoryComponentDefaultItemsAppend> & InventoryComponentAppendsField() { return *GetNativePointerField<TArray<FInventoryComponentDefaultItemsAppend>*>(this, "AShooterGameState.InventoryComponentAppends"); }
166 bool& bPreventOfflinePvPField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bPreventOfflinePvP"); }
167 bool& bPvPDinoDecayField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bPvPDinoDecay"); }
168 bool& bAllowUnclaimDinosConfigField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bAllowUnclaimDinosConfig"); }
169 bool& bForceUseInventoryAppendsField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bForceUseInventoryAppends"); }
170 bool& bOverideStructurePlatformPreventionField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bOverideStructurePlatformPrevention"); }
171 float& ItemStackSizeMultiplierField() { return *GetNativePointerField<float*>(this, "AShooterGameState.ItemStackSizeMultiplier"); }
172 TArray<int> & PreventOfflinePvPLiveTeamsField() { return *GetNativePointerField<TArray<int>*>(this, "AShooterGameState.PreventOfflinePvPLiveTeams"); }
173 TArray<int> & PreventOfflinePvPExpiringTeamsField() { return *GetNativePointerField<TArray<int>*>(this, "AShooterGameState.PreventOfflinePvPExpiringTeams"); }
174 TArray<double> & PreventOfflinePvPExpiringTimesField() { return *GetNativePointerField<TArray<double>*>(this, "AShooterGameState.PreventOfflinePvPExpiringTimes"); }
175 TMap<int,double,FDefaultSetAllocator,TDefaultMapKeyFuncs<int,double,0> > & PreventOfflinePvPLiveTimesField() { return *GetNativePointerField<TMap<int,double,FDefaultSetAllocator,TDefaultMapKeyFuncs<int,double,0> >*>(this, "AShooterGameState.PreventOfflinePvPLiveTimes"); }
176 TMap<int,double,FDefaultSetAllocator,TDefaultMapKeyFuncs<int,double,0> > & PreventOfflinePvPFirstLiveTimeField() { return *GetNativePointerField<TMap<int,double,FDefaultSetAllocator,TDefaultMapKeyFuncs<int,double,0> >*>(this, "AShooterGameState.PreventOfflinePvPFirstLiveTime"); }
177 bool& bAllowAnyoneBabyImprintCuddleField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bAllowAnyoneBabyImprintCuddle"); }
178 bool& bDisableImprintDinoBuffField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bDisableImprintDinoBuff"); }
179 int& MaxPersonalTamedDinosField() { return *GetNativePointerField<int*>(this, "AShooterGameState.MaxPersonalTamedDinos"); }
180 TArray<FFloatingTextEntry> & FloatingTextEntriesField() { return *GetNativePointerField<TArray<FFloatingTextEntry>*>(this, "AShooterGameState.FloatingTextEntries"); }
181 bool& bIsCustomMapField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bIsCustomMap"); }
182 bool& bIsClientField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bIsClient"); }
183 bool& bIsDedicatedServerField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bIsDedicatedServer"); }
184 FString & ClusterIdField() { return *GetNativePointerField<FString*>(this, "AShooterGameState.ClusterId"); }
185 FString & AmazonS3AccessKeyIDField() { return *GetNativePointerField<FString*>(this, "AShooterGameState.AmazonS3AccessKeyID"); }
186 FString & AmazonS3SecretAccessKeyField() { return *GetNativePointerField<FString*>(this, "AShooterGameState.AmazonS3SecretAccessKey"); }
187 FString & AmazonS3BucketNameField() { return *GetNativePointerField<FString*>(this, "AShooterGameState.AmazonS3BucketName"); }
188 FString & ServerSessionNameField() { return *GetNativePointerField<FString*>(this, "AShooterGameState.ServerSessionName"); }
189 bool& bPreventTribeAlliancesField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bPreventTribeAlliances"); }
190 FString & LoadForceRespawnDinosTagField() { return *GetNativePointerField<FString*>(this, "AShooterGameState.LoadForceRespawnDinosTag"); }
191 bool& bOnlyDecayUnsnappedCoreStructuresField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bOnlyDecayUnsnappedCoreStructures"); }
192 bool& bFastDecayUnsnappedCoreStructuresField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bFastDecayUnsnappedCoreStructures"); }
193 bool& bServerUseDinoListField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bServerUseDinoList"); }
194 bool& bPvEAllowStructuresAtSupplyDropsField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bPvEAllowStructuresAtSupplyDrops"); }
195 bool& bAllowForceNetUpdateField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bAllowForceNetUpdate"); }
196 float& MinimumDinoReuploadIntervalField() { return *GetNativePointerField<float*>(this, "AShooterGameState.MinimumDinoReuploadInterval"); }
197 float& HairGrowthSpeedMultiplierField() { return *GetNativePointerField<float*>(this, "AShooterGameState.HairGrowthSpeedMultiplier"); }
198 float& FastDecayIntervalField() { return *GetNativePointerField<float*>(this, "AShooterGameState.FastDecayInterval"); }
199 float& OxygenSwimSpeedStatMultiplierField() { return *GetNativePointerField<float*>(this, "AShooterGameState.OxygenSwimSpeedStatMultiplier"); }
200 FOnHTTPGetProcessed & OnHTTPGetResponseField() { return *GetNativePointerField<FOnHTTPGetProcessed*>(this, "AShooterGameState.OnHTTPGetResponse"); }
201 FOnHTTPPostResponse & OnHTTPPostResponseField() { return *GetNativePointerField<FOnHTTPPostResponse*>(this, "AShooterGameState.OnHTTPPostResponse"); }
202 bool& bAllowMultipleAttachedC4Field() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bAllowMultipleAttachedC4"); }
203 bool& bCrossARKAllowForeignDinoDownloadsField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bCrossARKAllowForeignDinoDownloads"); }
204 long double& LastPlayedDynamicMusic1Field() { return *GetNativePointerField<long double*>(this, "AShooterGameState.LastPlayedDynamicMusic1"); }
205 long double& LastPlayedDynamicMusic2Field() { return *GetNativePointerField<long double*>(this, "AShooterGameState.LastPlayedDynamicMusic2"); }
206 bool& bUseCorpseLocatorField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bUseCorpseLocator"); }
207 bool& bDisableStructurePlacementCollisionField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bDisableStructurePlacementCollision"); }
208 bool& bUseSingleplayerSettingsField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bUseSingleplayerSettings"); }
209 bool& bAllowPlatformSaddleMultiFloorsField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bAllowPlatformSaddleMultiFloors"); }
210 bool& bPreventSpawnAnimationsField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bPreventSpawnAnimations"); }
211 int& MaxAlliancesPerTribeField() { return *GetNativePointerField<int*>(this, "AShooterGameState.MaxAlliancesPerTribe"); }
212 int& MaxTribesPerAllianceField() { return *GetNativePointerField<int*>(this, "AShooterGameState.MaxTribesPerAlliance"); }
213 bool& bIsLegacyServerField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bIsLegacyServer"); }
214 bool& bDisableDinoDecayClaimingField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bDisableDinoDecayClaiming"); }
215 FName & UseStructurePreventionVolumeTagField() { return *GetNativePointerField<FName*>(this, "AShooterGameState.UseStructurePreventionVolumeTag"); }
216 int& MaxStructuresInSmallRadiusField() { return *GetNativePointerField<int*>(this, "AShooterGameState.MaxStructuresInSmallRadius"); }
217 float& RadiusStructuresInSmallRadiusField() { return *GetNativePointerField<float*>(this, "AShooterGameState.RadiusStructuresInSmallRadius"); }
218 bool& bUseTameLimitForStructuresOnlyField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bUseTameLimitForStructuresOnly"); }
219 bool& bLimitTurretsInRangeField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bLimitTurretsInRange"); }
220 float& LimitTurretsRangeField() { return *GetNativePointerField<float*>(this, "AShooterGameState.LimitTurretsRange"); }
221 int& LimitTurretsNumField() { return *GetNativePointerField<int*>(this, "AShooterGameState.LimitTurretsNum"); }
222 bool& bForceAllowAllStructuresField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bForceAllowAllStructures"); }
223 bool& bShowCreativeModeField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bShowCreativeMode"); }
224 TArray<FPlayerLocatorEffectMap> & PlayerLocatorEffectMapsField() { return *GetNativePointerField<TArray<FPlayerLocatorEffectMap>*>(this, "AShooterGameState.PlayerLocatorEffectMaps"); }
225 int& AmbientSoundCheckIncrementField() { return *GetNativePointerField<int*>(this, "AShooterGameState.AmbientSoundCheckIncrement"); }
226 int& ThrottledTicksModField() { return *GetNativePointerField<int*>(this, "AShooterGameState.ThrottledTicksMod"); }
227 int& PerformanceThrottledTicksModField() { return *GetNativePointerField<int*>(this, "AShooterGameState.PerformanceThrottledTicksMod"); }
228 float& PreventOfflinePvPConnectionInvincibleIntervalField() { return *GetNativePointerField<float*>(this, "AShooterGameState.PreventOfflinePvPConnectionInvincibleInterval"); }
229 float& PassiveTameIntervalMultiplierField() { return *GetNativePointerField<float*>(this, "AShooterGameState.PassiveTameIntervalMultiplier"); }
231 unsigned int& MinimumUniqueDownloadIntervalField() { return *GetNativePointerField<unsigned int*>(this, "AShooterGameState.MinimumUniqueDownloadInterval"); }
232 unsigned int& MaximumUniqueDownloadIntervalField() { return *GetNativePointerField<unsigned int*>(this, "AShooterGameState.MaximumUniqueDownloadInterval"); }
233 bool& bIgnoreStructuresPreventionVolumesField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bIgnoreStructuresPreventionVolumes"); }
235 bool& bIgnoreLimitMaxStructuresInRangeTypeFlagField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bIgnoreLimitMaxStructuresInRangeTypeFlag"); }
236 TArray<FMassTeleportData> & MassTeleportQueueField() { return *GetNativePointerField<TArray<FMassTeleportData>*>(this, "AShooterGameState.MassTeleportQueue"); }
237 TArray<AActor*> MassTeleportQueueToRemoveField() { return *GetNativePointerField<TArray<AActor*>*>(this, "AShooterGameState.MassTeleportQueueToRemove"); }
238 TArray<FMassTeleportData> & MassTeleportQueueToAddField() { return *GetNativePointerField<TArray<FMassTeleportData>*>(this, "AShooterGameState.MassTeleportQueueToAdd"); }
239 bool& bAllowLowGravitySpinField() { return *GetNativePointerField<bool*>(this, "AShooterGameState.bAllowLowGravitySpin"); }
240 TArray<FName> & BiomeBuffTagsField() { return *GetNativePointerField<TArray<FName>*>(this, "AShooterGameState.BiomeBuffTags"); }
241
242 // Functions
243
244 static UClass * StaticClass() { return NativeCall<UClass*>(nullptr, "AShooterGameState.StaticClass"); }
245 UObject * GetUObjectInterfaceHUDInterface() { return NativeCall<UObject*>(this, "AShooterGameState.GetUObjectInterfaceHUDInterface"); }
246 static void BaseDrawTileOnCanvas(AShooterHUD * HUD, UTexture * Tex, float X, float Y, float XL, float YL, float U, float V, float UL, float VL, FColor DrawColor) { NativeCall<void, AShooterHUD*, UTexture*, float, float, float, float, float, float, float, float, FColor>(nullptr, "AShooterGameState.BaseDrawTileOnCanvas", HUD, Tex, X, Y, XL, YL, U, V, UL, VL, DrawColor); }
247 static APrimalBuff * BaseSpawnBuffAndAttachToCharacter(UClass * Buff, APrimalCharacter * PrimalCharacter, float ExperiencePoints) { return NativeCall<APrimalBuff*, UClass*, APrimalCharacter*, float>(nullptr, "AShooterGameState.BaseSpawnBuffAndAttachToCharacter", Buff, PrimalCharacter, ExperiencePoints); }
248 void Destroyed() { NativeCall<void>(this, "AShooterGameState.Destroyed"); }
249 bool IsClusterServer() { return NativeCall<bool>(this, "AShooterGameState.IsClusterServer"); }
250 void GetLifetimeReplicatedProps(TArray<FLifetimeProperty> * OutLifetimeProps) { NativeCall<void, TArray<FLifetimeProperty>*>(this, "AShooterGameState.GetLifetimeReplicatedProps", OutLifetimeProps); }
252 void OnRep_SupportedSpawnRegions() { NativeCall<void>(this, "AShooterGameState.OnRep_SupportedSpawnRegions"); }
253 void OnRep_ReplicateLocalizedChatRadius() { NativeCall<void>(this, "AShooterGameState.OnRep_ReplicateLocalizedChatRadius"); }
254 void RequestFinishAndExitToMainMenu() { NativeCall<void>(this, "AShooterGameState.RequestFinishAndExitToMainMenu"); }
255 void Tick(float DeltaSeconds) { NativeCall<void, float>(this, "AShooterGameState.Tick", DeltaSeconds); }
256 FVector * GetLocalPlayerLocation(FVector * result) { return NativeCall<FVector*, FVector*>(this, "AShooterGameState.GetLocalPlayerLocation", result); }
257 float GetServerFramerate() { return NativeCall<float>(this, "AShooterGameState.GetServerFramerate"); }
258 void UpdateDynamicMusic(float DeltaSeconds) { NativeCall<void, float>(this, "AShooterGameState.UpdateDynamicMusic", DeltaSeconds); }
259 void CreateCustomGameUI(AShooterPlayerController * SceneOwner) { NativeCall<void, AShooterPlayerController*>(this, "AShooterGameState.CreateCustomGameUI", SceneOwner); }
260 void DrawHUD(AShooterHUD * HUD) { NativeCall<void, AShooterHUD*>(this, "AShooterGameState.DrawHUD", HUD); }
261 void PostInitializeComponents() { NativeCall<void>(this, "AShooterGameState.PostInitializeComponents"); }
262 void UpdateFunctionExpense(int FunctionType) { NativeCall<void, int>(this, "AShooterGameState.UpdateFunctionExpense", FunctionType); }
263 float GetClientReplicationRateFor(UNetConnection * InConnection, AActor * InActor) { return NativeCall<float, UNetConnection*, AActor*>(this, "AShooterGameState.GetClientReplicationRateFor", InConnection, InActor); }
264 static long double GetNetworkTimeDelta(AShooterGameState * gameState, long double netTime, bool bTimeUntil) { return NativeCall<long double, AShooterGameState*, long double, bool>(nullptr, "AShooterGameState.GetNetworkTimeDelta", gameState, netTime, bTimeUntil); }
265 void LoadedFromSaveGame() { NativeCall<void>(this, "AShooterGameState.LoadedFromSaveGame"); }
266 void Serialize(FArchive * Ar) { NativeCall<void, FArchive*>(this, "AShooterGameState.Serialize", Ar); }
267 void BeginPlay() { NativeCall<void>(this, "AShooterGameState.BeginPlay"); }
268 float GetMatineePlayRate(AActor * forMatineeActor) { return NativeCall<float, AActor*>(this, "AShooterGameState.GetMatineePlayRate", forMatineeActor); }
272 FString * GetDayTimeString(FString * result) { return NativeCall<FString*, FString*>(this, "AShooterGameState.GetDayTimeString", result); }
274 TArray<AShooterCharacter*> * BaseGetAllShooterCharactersOfTeam(TArray<AShooterCharacter*> * result, int Team) { return NativeCall<TArray<AShooterCharacter*>*, TArray<AShooterCharacter*>*, int>(this, "AShooterGameState.BaseGetAllShooterCharactersOfTeam", result, Team); }
275 TArray<AShooterCharacter*> * BaseGetAllShooterCharacters(TArray<AShooterCharacter*> * result) { return NativeCall<TArray<AShooterCharacter*>*, TArray<AShooterCharacter*>*>(this, "AShooterGameState.BaseGetAllShooterCharacters", result); }
276 TArray<APrimalDinoCharacter*> * BaseGetAllDinoCharactersOfTeam(TArray<APrimalDinoCharacter*> * result, int Team) { return NativeCall<TArray<APrimalDinoCharacter*>*, TArray<APrimalDinoCharacter*>*, int>(this, "AShooterGameState.BaseGetAllDinoCharactersOfTeam", result, Team); }
277 void InitializedGameState() { NativeCall<void>(this, "AShooterGameState.InitializedGameState"); }
278 bool IsTeamIDInvincible(int TargetingTeamID, bool bInvincibleOnlyWhenOffline) { return NativeCall<bool, int, bool>(this, "AShooterGameState.IsTeamIDInvincible", TargetingTeamID, bInvincibleOnlyWhenOffline); }
279 long double GetOfflineDamagePreventionTime(int TargetingTeamID) { return NativeCall<long double, int>(this, "AShooterGameState.GetOfflineDamagePreventionTime", TargetingTeamID); }
280 void NetUpdateOfflinePvPLiveTeams_Implementation(TArray<int> * NewPreventOfflinePvPLiveTeams) { NativeCall<void, TArray<int>*>(this, "AShooterGameState.NetUpdateOfflinePvPLiveTeams_Implementation", NewPreventOfflinePvPLiveTeams); }
282 void UpdatePreventOfflinePvPStatus() { NativeCall<void>(this, "AShooterGameState.UpdatePreventOfflinePvPStatus"); }
284 void AddFloatingDamageText(FVector AtLocation, int DamageAmount, int FromTeamID) { NativeCall<void, FVector, int, int>(this, "AShooterGameState.AddFloatingDamageText", AtLocation, DamageAmount, FromTeamID); }
285 void NetAddFloatingDamageText(FVector AtLocation, int DamageAmount, int FromTeamID, int OnlySendToTeamID) { NativeCall<void, FVector, int, int, int>(this, "AShooterGameState.NetAddFloatingDamageText", AtLocation, DamageAmount, FromTeamID, OnlySendToTeamID); }
287 FString * GetCleanServerSessionName(FString * result) { return NativeCall<FString*, FString*>(this, "AShooterGameState.GetCleanServerSessionName", result); }
289 void WorldCompositionRescan() { NativeCall<void>(this, "AShooterGameState.WorldCompositionRescan"); }
290 void HTTPGetRequest(FString InURL) { NativeCall<void, FString>(this, "AShooterGameState.HTTPGetRequest", InURL); }
292 void HTTPPostRequest(FString InURL, FString Content) { NativeCall<void, FString, FString>(this, "AShooterGameState.HTTPPostRequest", InURL, Content); }
294 void LevelAddedToWorld(ULevel * addedLevel) { NativeCall<void, ULevel*>(this, "AShooterGameState.LevelAddedToWorld", addedLevel); }
296 bool AllowDownloadDino_Implementation(TSubclassOf<APrimalDinoCharacter> TheDinoClass) { return NativeCall<bool, TSubclassOf<APrimalDinoCharacter>>(this, "AShooterGameState.AllowDownloadDino_Implementation", TheDinoClass); }
298 bool IsEngramClassHidden(TSubclassOf<UPrimalItem> ForItemClass) { return NativeCall<bool, TSubclassOf<UPrimalItem>>(this, "AShooterGameState.IsEngramClassHidden", ForItemClass); }
301 bool CancelMassTeleport(AActor * WithInitiatingActor) { return NativeCall<bool, AActor*>(this, "AShooterGameState.CancelMassTeleport", WithInitiatingActor); }
302 bool ShouldMassTeleportMoveActor(AActor * ForActor, FMassTeleportData * WithMassTeleportData) { return NativeCall<bool, AActor*, FMassTeleportData*>(this, "AShooterGameState.ShouldMassTeleportMoveActor", ForActor, WithMassTeleportData); }
303 void Tick_MassTeleport(float DeltaTime) { NativeCall<void, float>(this, "AShooterGameState.Tick_MassTeleport", DeltaTime); }
304 void RemoveIrrelevantBiomeBuffs(APrimalCharacter * PrimalChar) { NativeCall<void, APrimalCharacter*>(this, "AShooterGameState.RemoveIrrelevantBiomeBuffs", PrimalChar); }
305 static bool IsValidMassTeleportData(FMassTeleportData * CheckData) { return NativeCall<bool, FMassTeleportData*>(nullptr, "AShooterGameState.IsValidMassTeleportData", CheckData); }
307 static void StaticRegisterNativesAShooterGameState() { NativeCall<void>(nullptr, "AShooterGameState.StaticRegisterNativesAShooterGameState"); }
308 static UClass * GetPrivateStaticClass(const wchar_t* Package) { return NativeCall<UClass*, const wchar_t*>(nullptr, "AShooterGameState.GetPrivateStaticClass", Package); }
309 bool AllowDownloadDino(TSubclassOf<APrimalDinoCharacter> TheDinoClass) { return NativeCall<bool, TSubclassOf<APrimalDinoCharacter>>(this, "AShooterGameState.AllowDownloadDino", TheDinoClass); }
311 void NetUpdateOfflinePvPLiveTeams(TArray<int> * NewPreventOfflinePvPLiveTeams) { NativeCall<void, TArray<int>*>(this, "AShooterGameState.NetUpdateOfflinePvPLiveTeams", NewPreventOfflinePvPLiveTeams); }
312};
313
314struct AGameSession
315{
316 int& MaxSpectatorsField() { return *GetNativePointerField<int*>(this, "AGameSession.MaxSpectators"); }
317 int& MaxPlayersField() { return *GetNativePointerField<int*>(this, "AGameSession.MaxPlayers"); }
318 char& MaxSplitscreensPerConnectionField() { return *GetNativePointerField<char*>(this, "AGameSession.MaxSplitscreensPerConnection"); }
319 bool& bRequiresPushToTalkField() { return *GetNativePointerField<bool*>(this, "AGameSession.bRequiresPushToTalk"); }
320 FName& SessionNameField() { return *GetNativePointerField<FName*>(this, "AGameSession.SessionName"); }
321
322 // Functions
323
324 bool RequiresPushToTalk() { return NativeCall<bool>(this, "AGameSession.RequiresPushToTalk"); }
325 void InitOptions(FString* Options) { NativeCall<void, FString*>(this, "AGameSession.InitOptions", Options); }
326 bool ProcessAutoLogin() { return NativeCall<bool>(this, "AGameSession.ProcessAutoLogin"); }
327 void OnLoginComplete(int LocalUserNum, bool bWasSuccessful, FUniqueNetId* UserId, FString* Error) { NativeCall<void, int, bool, FUniqueNetId*, FString*>(this, "AGameSession.OnLoginComplete", LocalUserNum, bWasSuccessful, UserId, Error); }
328 FString* ApproveLogin(FString* result, FString* Options, FString* authToken) { return NativeCall<FString*, FString*, FString*, FString*>(this, "AGameSession.ApproveLogin", result, Options, authToken); }
329 void RegisterPlayer(APlayerController* NewPlayer, TSharedPtr<FUniqueNetId, 0>* UniqueId, bool bWasFromInvite) { NativeCall<void, APlayerController*, TSharedPtr<FUniqueNetId, 0>*, bool>(this, "AGameSession.RegisterPlayer", NewPlayer, UniqueId, bWasFromInvite); }
330 void UnregisterPlayer(APlayerController* ExitingPlayer) { NativeCall<void, APlayerController*>(this, "AGameSession.UnregisterPlayer", ExitingPlayer); }
331 bool AtCapacity(bool bSpectator, FString* AuthToken) { return NativeCall<bool, bool, FString*>(this, "AGameSession.AtCapacity", bSpectator, AuthToken); }
332 void NotifyLogout(APlayerController* PC) { NativeCall<void, APlayerController*>(this, "AGameSession.NotifyLogout", PC); }
333 bool KickPlayer(APlayerController* KickedPlayer, FText* KickReason) { return NativeCall<bool, APlayerController*, FText*>(this, "AGameSession.KickPlayer", KickedPlayer, KickReason); }
334 void BanPlayer() { NativeCall<void>(this, "AGameSession.BanPlayer"); }
335 void ReturnToMainMenuHost() { NativeCall<void>(this, "AGameSession.ReturnToMainMenuHost"); }
336 bool TravelToSession(int ControllerId, FName InSessionName) { return NativeCall<bool, int, FName>(this, "AGameSession.TravelToSession", ControllerId, InSessionName); }
337 void UpdateSessionJoinability(FName InSessionName, bool bPublicSearchable, bool bAllowInvites, bool bJoinViaPresence, bool bJoinViaPresenceFriendsOnly) { NativeCall<void, FName, bool, bool, bool, bool>(this, "AGameSession.UpdateSessionJoinability", InSessionName, bPublicSearchable, bAllowInvites, bJoinViaPresence, bJoinViaPresenceFriendsOnly); }
338};
339
341{
342 TArray<FInstalledItemInfo>& CachedModsField() { return *GetNativePointerField<TArray<FInstalledItemInfo>*>(this, "AShooterGameSession.CachedMods"); }
343 TArray<FShooterSessionData>& ThreadSafeSearchResultsField() { return *GetNativePointerField<TArray<FShooterSessionData>*>(this, "AShooterGameSession.ThreadSafeSearchResults"); }
344 TArray<UNetConnection*> FailedAuthTokenClientConnectionsField() { return *GetNativePointerField<TArray<UNetConnection*>*>(this, "AShooterGameSession.FailedAuthTokenClientConnections"); }
345 TArray<FUniqueNetIdUInt64>& FailedAuthTokenClientUniqueIDsField() { return *GetNativePointerField<TArray<FUniqueNetIdUInt64>*>(this, "AShooterGameSession.FailedAuthTokenClientUniqueIDs"); }
346 FShooterGameSessionParams& CurrentSessionParamsField() { return *GetNativePointerField<FShooterGameSessionParams*>(this, "AShooterGameSession.CurrentSessionParams"); }
347 TSharedPtr<FShooterOnlineSessionSettings, 0>& HostSettingsField() { return *GetNativePointerField<TSharedPtr<FShooterOnlineSessionSettings, 0>*>(this, "AShooterGameSession.HostSettings"); }
348 TSharedPtr<FShooterOnlineSearchSettings, 0>& SearchSettingsField() { return *GetNativePointerField<TSharedPtr<FShooterOnlineSearchSettings, 0>*>(this, "AShooterGameSession.SearchSettings"); }
349 bool& bFoundSessionField() { return *GetNativePointerField<bool*>(this, "AShooterGameSession.bFoundSession"); }
350
351 // Functions
352
353 static UClass* StaticClass() { return NativeCall<UClass*>(nullptr, "AShooterGameSession.StaticClass"); }
354 void OnStartOnlineGameComplete(FName SessionName, bool bWasSuccessful) { NativeCall<void, FName, bool>(this, "AShooterGameSession.OnStartOnlineGameComplete", SessionName, bWasSuccessful); }
355 void HandleMatchHasStarted() { NativeCall<void>(this, "AShooterGameSession.HandleMatchHasStarted"); }
356 void HandleMatchHasEnded() { NativeCall<void>(this, "AShooterGameSession.HandleMatchHasEnded"); }
357 TArray<FOnlineSessionSearchResult>* GetSearchResults() { return NativeCall<TArray<FOnlineSessionSearchResult>*>(this, "AShooterGameSession.GetSearchResults"); }
358 void OnCreateSessionComplete(FName SessionName, bool bWasSuccessful) { NativeCall<void, FName, bool>(this, "AShooterGameSession.OnCreateSessionComplete", SessionName, bWasSuccessful); }
359 void OnDestroySessionComplete(FName SessionName, bool bWasSuccessful) { NativeCall<void, FName, bool>(this, "AShooterGameSession.OnDestroySessionComplete", SessionName, bWasSuccessful); }
360 void DelayedSessionDelete() { NativeCall<void>(this, "AShooterGameSession.DelayedSessionDelete"); }
361 void InitOptions(FString* Options) { NativeCall<void, FString*>(this, "AShooterGameSession.InitOptions", Options); }
362 void RegisterServer() { NativeCall<void>(this, "AShooterGameSession.RegisterServer"); }
363 void UpdatePublishedSession() { NativeCall<void>(this, "AShooterGameSession.UpdatePublishedSession"); }
364 FString* ApproveLogin(FString* result, FString* Options, FString* authToken) { return NativeCall<FString*, FString*, FString*, FString*>(this, "AShooterGameSession.ApproveLogin", result, Options, authToken); }
365 void OnCheckAuthTokenComplete(bool bWasSuccessful, FUniqueNetId* UserId) { NativeCall<void, bool, FUniqueNetId*>(this, "AShooterGameSession.OnCheckAuthTokenComplete", bWasSuccessful, UserId); }
366 void OnNumConnectedPlayersChanged(int NewPlayersCount) { NativeCall<void, int>(this, "AShooterGameSession.OnNumConnectedPlayersChanged", NewPlayersCount); }
367 void Tick(float __formal) { NativeCall<void, float>(this, "AShooterGameSession.Tick", __formal); }
368 void OnFindSessionsComplete(bool bWasSuccessful) { NativeCall<void, bool>(this, "AShooterGameSession.OnFindSessionsComplete", bWasSuccessful); }
369 void OnFoundSession() { NativeCall<void>(this, "AShooterGameSession.OnFoundSession"); }
370 void BroadcastFoundSessionEvent() { NativeCall<void>(this, "AShooterGameSession.BroadcastFoundSessionEvent"); }
371 void CancelFindSessions() { NativeCall<void>(this, "AShooterGameSession.CancelFindSessions"); }
372 bool JoinSession(TSharedPtr<FUniqueNetId, 0> UserId, FName SessionName, int SessionIndexInSearchResults) { return NativeCall<bool, TSharedPtr<FUniqueNetId, 0>, FName, int>(this, "AShooterGameSession.JoinSession", UserId, SessionName, SessionIndexInSearchResults); }
373 bool JoinSession(TSharedPtr<FUniqueNetId, 0> UserId, FName SessionName, FOnlineSessionSearchResult* SearchResult) { return NativeCall<bool, TSharedPtr<FUniqueNetId, 0>, FName, FOnlineSessionSearchResult*>(this, "AShooterGameSession.JoinSession", UserId, SessionName, SearchResult); }
374 bool TravelToSession(int ControllerId, FName SessionName) { return NativeCall<bool, int, FName>(this, "AShooterGameSession.TravelToSession", ControllerId, SessionName); }
375 void Restart() { NativeCall<void>(this, "AShooterGameSession.Restart"); }
376 static UClass* GetPrivateStaticClass(const wchar_t* Package) { return NativeCall<UClass*, const wchar_t*>(nullptr, "AShooterGameSession.GetPrivateStaticClass", Package); }
377};
void InitOptions(FString *Options)
Definition GameState.h:325
void BanPlayer()
Definition GameState.h:334
FName & SessionNameField()
Definition GameState.h:379
char & MaxSplitscreensPerConnectionField()
Definition GameState.h:377
bool AtCapacity(bool bSpectator, FString *AuthToken)
Definition GameState.h:331
void ReturnToMainMenuHost()
Definition GameState.h:396
int & MaxPlayersField()
Definition GameState.h:375
FString * ApproveLogin(FString *result, FString *Options, FString *authToken)
Definition GameState.h:328
void RegisterPlayer(APlayerController *NewPlayer, TSharedPtr< FUniqueNetId, 0 > *UniqueId, bool bWasFromInvite)
Definition GameState.h:329
bool & bRequiresPushToTalkField()
Definition GameState.h:378
void OnLoginComplete(int LocalUserNum, bool bWasSuccessful, FUniqueNetId *UserId, FString *Error)
Definition GameState.h:327
bool TravelToSession(int ControllerId, FName InSessionName)
Definition GameState.h:336
int & MaxSpectatorsField()
Definition GameState.h:374
void UpdateSessionJoinability(FName InSessionName, bool bPublicSearchable, bool bAllowInvites, bool bJoinViaPresence, bool bJoinViaPresenceFriendsOnly)
Definition GameState.h:337
bool RequiresPushToTalk()
Definition GameState.h:383
void UnregisterPlayer(APlayerController *ExitingPlayer)
Definition GameState.h:398
bool ProcessAutoLogin()
Definition GameState.h:394
void NotifyLogout(APlayerController *PC)
Definition GameState.h:392
bool KickPlayer(APlayerController *KickedPlayer, FText *KickReason)
Definition GameState.h:333
void DefaultTimer()
Definition GameState.h:26
FName & PreviousMatchStateField()
Definition GameState.h:9
int & ElapsedTimeField()
Definition GameState.h:10
bool TeleportTo(FVector *DestLocation, FRotator *DestRotation, bool bIsATest, bool bNoCheck)
Definition GameState.h:22
bool HasMatchEnded()
Definition GameState.h:30
TSubclassOf< ASpectatorPawn > & SpectatorClassField()
Definition GameState.h:9
void HandleMatchIsWaitingToStart()
Definition GameState.h:29
AGameMode * AuthorityGameModeField()
Definition GameState.h:6
void AddPlayerState(APlayerState *PlayerState)
Definition GameState.h:23
void HandleMatchHasStarted()
Definition GameState.h:28
void SeamlessTravelTransitionCheckpoint(bool bToTransitionMap)
Definition GameState.h:41
void RemovePlayerState(APlayerState *PlayerState)
Definition GameState.h:40
void GetLifetimeReplicatedProps(TArray< FLifetimeProperty > *OutLifetimeProps)
Definition GameState.h:38
void ReceivedGameModeClass()
Definition GameState.h:38
FName & MatchStateField()
Definition GameState.h:8
void NetSpawnActorAtLocation(TSubclassOf< AActor > AnActorClass, FVector_NetQuantize AtLocation, FRotator_NetQuantize AtRotation, AActor *EffectOwnerToIgnore, float MaxRangeToReplicate, USceneComponent *attachToComponent, int dataIndex, FName attachSocketName, bool bOnlySendToEffectOwner)
Definition GameState.h:39
bool HasMatchStarted()
Definition GameState.h:31
TArray< APlayerState * > PlayerArrayField()
Definition GameState.h:11
bool IsMatchInProgress()
Definition GameState.h:32
void PostInitializeComponents()
Definition GameState.h:37
void ReceivedSpectatorClass()
Definition GameState.h:39
void OnRep_MatchState()
Definition GameState.h:35
void InitializedGameState()
Definition GameState.h:36
bool Semaphore_TryGrab(FName SemaphoreName, AActor *InObject, float PriorityWeight, int MaxToAllocate)
Definition GameState.h:40
BitFieldValue< bool, unsigned __int32 > bServerAllowsAnsel()
Definition GameState.h:17
TArray< APlayerState * > InactivePlayerArrayField()
Definition GameState.h:12
TSubclassOf< AGameMode > & GameModeClassField()
Definition GameState.h:5
void OnRep_GameModeClass()
Definition GameState.h:34
bool Semaphore_Release(FName SemaphoreName, AActor *InObject)
Definition GameState.h:41
void OnNumConnectedPlayersChanged(int NewPlayersCount)
Definition GameState.h:366
static UClass * GetPrivateStaticClass(const wchar_t *Package)
Definition GameState.h:455
bool JoinSession(TSharedPtr< FUniqueNetId, 0 > UserId, FName SessionName, int SessionIndexInSearchResults)
Definition GameState.h:372
bool JoinSession(TSharedPtr< FUniqueNetId, 0 > UserId, FName SessionName, FOnlineSessionSearchResult *SearchResult)
Definition GameState.h:373
FShooterGameSessionParams & CurrentSessionParamsField()
Definition GameState.h:409
void InitOptions(FString *Options)
Definition GameState.h:361
void BroadcastFoundSessionEvent()
Definition GameState.h:370
void OnStartOnlineGameComplete(FName SessionName, bool bWasSuccessful)
Definition GameState.h:354
void OnCheckAuthTokenComplete(bool bWasSuccessful, FUniqueNetId *UserId)
Definition GameState.h:365
void CancelFindSessions()
Definition GameState.h:424
TSharedPtr< FShooterOnlineSearchSettings, 0 > & SearchSettingsField()
Definition GameState.h:411
void OnCreateSessionComplete(FName SessionName, bool bWasSuccessful)
Definition GameState.h:358
void Tick(float __formal)
Definition GameState.h:450
static UClass * StaticClass()
Definition GameState.h:353
TSharedPtr< FShooterOnlineSessionSettings, 0 > & HostSettingsField()
Definition GameState.h:410
bool & bFoundSessionField()
Definition GameState.h:416
TArray< FOnlineSessionSearchResult > * GetSearchResults()
Definition GameState.h:429
TArray< FInstalledItemInfo > & CachedModsField()
Definition GameState.h:406
void DelayedSessionDelete()
Definition GameState.h:360
TArray< FShooterSessionData > & ThreadSafeSearchResultsField()
Definition GameState.h:407
void HandleMatchHasStarted()
Definition GameState.h:431
TArray< UNetConnection * > FailedAuthTokenClientConnectionsField()
Definition GameState.h:344
bool TravelToSession(int ControllerId, FName SessionName)
Definition GameState.h:374
void OnFindSessionsComplete(bool bWasSuccessful)
Definition GameState.h:368
void HandleMatchHasEnded()
Definition GameState.h:430
void UpdatePublishedSession()
Definition GameState.h:363
void OnDestroySessionComplete(FName SessionName, bool bWasSuccessful)
Definition GameState.h:359
TArray< FUniqueNetIdUInt64 > & FailedAuthTokenClientUniqueIDsField()
Definition GameState.h:345
FString * ApproveLogin(FString *result, FString *Options, FString *authToken)
Definition GameState.h:364
TArray< double > & PreventOfflinePvPExpiringTimesField()
Definition GameState.h:182
int & NumNPCField()
Definition GameState.h:50
bool & bEnableDeathTeamSpectatorField()
Definition GameState.h:154
FString & PlayerListStringField()
Definition GameState.h:116
int & MaxTamedDinosField()
Definition GameState.h:114
float & FloatingChatRangeField()
Definition GameState.h:170
bool & bPreventUploadDinosField()
Definition GameState.h:105
float & ItemStackSizeMultiplierField()
Definition GameState.h:171
bool & bPvPStructureDecayField()
Definition GameState.h:102
TArray< FItemCraftingCostOverride > & OverrideItemCraftingCostsField()
Definition GameState.h:124
bool & bDisableSpawnAnimationsField()
Definition GameState.h:115
float & FloatingHUDRangeField()
Definition GameState.h:169
bool & bAllowCaveBuildingPvEField()
Definition GameState.h:98
bool & bAllowRaidDinoFeedingField()
Definition GameState.h:161
bool & bPreventUploadItemsField()
Definition GameState.h:106
bool & bPlayingDynamicMusic1Field()
Definition GameState.h:143
bool & bAllowIntegratedSPlusStructuresField()
Definition GameState.h:130
float & DayTimeSpeedScaleField()
Definition GameState.h:91
bool & bAllowPaintingWithoutResourcesField()
Definition GameState.h:122
float & OverrideAreaMusicRangeField()
Definition GameState.h:167
int & NumPlayerActorsField()
Definition GameState.h:54
TArray< FInventoryComponentDefaultItemsAppend > & InventoryComponentAppendsField()
Definition GameState.h:175
bool & bAllowCharacterCreationField()
Definition GameState.h:112
bool & bPreventUploadSurvivorsField()
Definition GameState.h:107
bool & bIsArkTributeAvailableField()
Definition GameState.h:72
float & PlatformSaddleBuildAreaBoundsMultiplierField()
Definition GameState.h:126
float & VoiceSuperRangeRadiusField()
Definition GameState.h:58
FVector & OverrideAreaMusicPositionField()
Definition GameState.h:166
FString & NewStructureDestructionTagField()
Definition GameState.h:64
bool & bPreventDownloadSurvivorsField()
Definition GameState.h:99
bool & bPlayingDynamicMusicField()
Definition GameState.h:142
bool & bAllowUnclaimDinosField()
Definition GameState.h:168
bool & bPvEAllowTribeWarField()
Definition GameState.h:84
bool & bPlayingDynamicMusic2Field()
Definition GameState.h:144
int & ExtinctionEventSecondsRemainingField()
Definition GameState.h:173
float & DayCycleSpeedScaleField()
Definition GameState.h:90
bool & bForceAllStructureLockingField()
Definition GameState.h:159
bool & bAdminLoggingField()
Definition GameState.h:101
bool & bOverideStructurePlatformPreventionField()
Definition GameState.h:179
float & TribeNameChangeCooldownField()
Definition GameState.h:128
float & PerPlatformMaxStructuresMultiplierField()
Definition GameState.h:95
int & NumTamedDinosField()
Definition GameState.h:88
float & LocalizedChatRadiusUnconsiousScaleField()
Definition GameState.h:59
bool & bAllowHideDamageSourceFromLogsField()
Definition GameState.h:138
bool & bEnableExtraStructurePreventionVolumesField()
Definition GameState.h:123
float & VivoxMinDistanceField()
Definition GameState.h:58
TArray< int > & SupportedSpawnRegionsField()
Definition GameState.h:151
FVector & PlayerFloatingHUDOffsetField()
Definition GameState.h:155
USoundBase * StaticOverrideMusicField()
Definition GameState.h:153
bool & bMapPlayerLocationField()
Definition GameState.h:82
bool & bPreventMateBoostField()
Definition GameState.h:108
int & MaxStructuresInRangeField()
Definition GameState.h:89
bool & bDisablePvEGammaField()
Definition GameState.h:87
float & VivoxRolloffField()
Definition GameState.h:59
bool & bDisableStructureDecayPvEField()
Definition GameState.h:96
bool & bAlwaysAllowStructurePickupField()
Definition GameState.h:127
bool & bAutoPvEField()
Definition GameState.h:77
bool & bServerUseLocalizedChatField()
Definition GameState.h:56
bool & bPreventDownloadItemsField()
Definition GameState.h:104
float & DayTimeField()
Definition GameState.h:66
float & LocalizedChatRadiusField()
Definition GameState.h:57
float & StructureDamageRepairCooldownField()
Definition GameState.h:157
float & GlobalItemDecompositionTimeMultiplierField()
Definition GameState.h:118
UAudioComponent * DynamicMusicAudioComponent2Field()
Definition GameState.h:141
bool & bIsOfficialServerField()
Definition GameState.h:69
bool & bAllowSpawnPointSelectionField()
Definition GameState.h:113
float & ExtinctionEventPercentField()
Definition GameState.h:172
float & VoiceWhisperRangeRadiusField()
Definition GameState.h:55
bool & bServerHardcoreField()
Definition GameState.h:75
bool & bServerCrosshairField()
Definition GameState.h:78
float & LastHadMusicTimeField()
Definition GameState.h:145
float & TribeSlotReuseCooldownField()
Definition GameState.h:115
UAudioComponent * DynamicMusicAudioComponentField()
Definition GameState.h:140
bool & bIsDediServerField()
Definition GameState.h:71
bool & bFlyerPlatformAllowUnalignedDinoBasingField()
Definition GameState.h:81
float & NightTimeSpeedScaleField()
Definition GameState.h:92
bool & bIsListenServerField()
Definition GameState.h:70
float & ListenServerTetherDistanceMultiplierField()
Definition GameState.h:149
bool & bServerForceNoHUDField()
Definition GameState.h:80
bool & bAllowThirdPersonPlayerField()
Definition GameState.h:74
float & CustomRecipeSkillMultiplierField()
Definition GameState.h:163
int & NumDeadNPCField()
Definition GameState.h:53
bool & bDoExtinctionEventField()
Definition GameState.h:174
bool & bIsArkDownloadsAllowedField()
Definition GameState.h:73
unsigned int & TimeUTCField()
Definition GameState.h:65
long double & LastServerSaveTimeField()
Definition GameState.h:125
int & NumPlayerConnectedField()
Definition GameState.h:55
bool & bPvEDisableFriendlyFireField()
Definition GameState.h:83
USoundBase * OverrideAreaMusicField()
Definition GameState.h:165
float & GlobalCorpseDecompositionTimeMultiplierField()
Definition GameState.h:120
float & CustomRecipeEffectivenessMultiplierField()
Definition GameState.h:162
bool & bDisableDinoDecayPvEField()
Definition GameState.h:97
float & StructurePickupHoldDurationField()
Definition GameState.h:129
long double & NetworkTimeField()
Definition GameState.h:67
bool & bAllowCaveBuildingPvPField()
Definition GameState.h:95
TArray< int > & PreventOfflinePvPExpiringTeamsField()
Definition GameState.h:181
float & PvEDinoDecayPeriodMultiplierField()
Definition GameState.h:94
bool & bPreventOfflinePvPField()
Definition GameState.h:176
float & StructurePickupTimeAfterPlacementField()
Definition GameState.h:128
float & EggHatchSpeedMultiplierField()
Definition GameState.h:121
UPaintingCache * PaintingCacheField()
Definition GameState.h:152
int & NumActiveNPCField()
Definition GameState.h:52
int & DayNumberField()
Definition GameState.h:65
bool & bServerPVEField()
Definition GameState.h:76
float & PlayerFloatingHUDOffsetScreenYField()
Definition GameState.h:156
bool & bAllowUnclaimDinosConfigField()
Definition GameState.h:168
int & ExtinctionEventTimeIntervalField()
Definition GameState.h:171
TArray< FEngramEntryOverride > & OverrideEngramEntriesField()
Definition GameState.h:147
int & NumHibernatedNPCField()
Definition GameState.h:51
TArray< FString > & PreventDinoTameClassNamesField()
Definition GameState.h:148
unsigned int & VivoxAttenuationModelField()
Definition GameState.h:57
FString & PGMapNameField()
Definition GameState.h:150
bool & bEnablePvPGammaField()
Definition GameState.h:86
TArray< FItemMaxItemQuantityOverride > & OverrideItemMaxQuantityField()
Definition GameState.h:122
float & GlobalSpoilingTimeMultiplierField()
Definition GameState.h:117
bool & bReachedPlatformStructureLimitField()
Definition GameState.h:100
bool & bForceUseInventoryAppendsField()
Definition GameState.h:178
TArray< FLevelExperienceRamp > & LevelExperienceRampOverridesField()
Definition GameState.h:146
int & MaxNumberOfPlayersInTribeField()
Definition GameState.h:119
bool & bAllowCustomRecipesField()
Definition GameState.h:160
bool & bPreventStructurePaintingField()
Definition GameState.h:109
float & PvEStructureDecayPeriodMultiplierField()
Definition GameState.h:93
float & ServerFramerateField()
Definition GameState.h:62
bool & bPvPDinoDecayField()
Definition GameState.h:177
bool & bPvEAllowTribeWarCancelField()
Definition GameState.h:85
bool & bPreventDownloadDinosField()
Definition GameState.h:103
float & ServerSaveIntervalField()
Definition GameState.h:126
FName & ActiveEventField()
Definition GameState.h:118
TArray< int > & PreventOfflinePvPLiveTeamsField()
Definition GameState.h:180
Definition UE.h:399