Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified out_lib/AtlasApi.lib
Binary file not shown.
41 changes: 39 additions & 2 deletions version/Core/Public/API/Atlas/Actor.h
Original file line number Diff line number Diff line change
Expand Up @@ -1367,6 +1367,27 @@ struct AInfo : AActor
static UClass* StaticClass() { return NativeCall<UClass*>(nullptr, "AInfo.StaticClass"); }
};

struct AWorldSettings : AInfo
{
};

struct APrimalWorldSettings : AWorldSettings
{
// Functions
__int64 GetIslandIndexAtLocation(
const FVector* AtLocation,
float AllowedDistanceFromShore,
bool bAllowWithoutIslandPoints,
bool bIgnoreControlPoint) {
return NativeCall<__int64, APrimalWorldSettings*, const FVector*, float, bool, bool>(this, "APrimalWorldSettings.GetIslandIndexAtLocation", this, AtLocation, AllowedDistanceFromShore, bAllowWithoutIslandPoints, bIgnoreControlPoint);
}

float TakeDamage(float Damage, FDamageEvent* DamageEvent, AController* EventInstigator, AActor* DamageCauser) {
return NativeCall<float, float, FDamageEvent*, AController*, AActor*>(this, "APawn.TakeDamage", Damage, DamageEvent, EventInstigator, DamageCauser);
}

};

struct APawn : AActor
{
float& BaseEyeHeightField() { return *GetNativePointerField<float*>(this, "APawn.BaseEyeHeight"); }
Expand Down Expand Up @@ -9556,8 +9577,21 @@ struct FAttachedInstanced
FAttachedInstancedVtbl* vfptr;
};

struct FOctreeElementId
{
const void* Node;
int ElementIndex;
};

struct FOctreeElementSimple
{
FBoxSphereBounds OctreeBounds;
FOctreeElementId OctreeId;
unsigned int OctreeMask;

};

struct FAttachedInstancedHarvestingElement
struct FAttachedInstancedHarvestingElement : FAttachedInstanced, FOctreeElementSimple
{
UMeshComponent* BaseMeshComponent;
int OriginalIndexIntoBase;
Expand Down Expand Up @@ -9591,7 +9625,8 @@ struct UInstancedStaticMeshComponent : UStaticMeshComponent
static UClass* GetPrivateStaticClass(const wchar_t* Package) { return NativeCall<UClass*, const wchar_t*>(nullptr, "UInstancedStaticMeshComponent.GetPrivateStaticClass", Package); }
__int64 GetInstanceCount() { return NativeCall<__int64>(this, "UInstancedStaticMeshComponent.GetInstanceCount"); }
FVector* GetPositionOfInstance(FVector *result, int index) { return NativeCall<FVector*, FVector*, int>(this, "UInstancedStaticMeshComponent.GetPositionOfInstance", result, index); }

void RegisterAddedInstance() { { NativeCall<void>(this, "UInstancedStaticMeshComponent.ConstructAttachedComponent"); } }
void ConstructAttachedComponent(int index) { NativeCall<void, int>(this, "UInstancedStaticMeshComponent.ConstructAttachedComponent", index); }
int& InstancingRandomSeedField() { return *GetNativePointerField< int*>(this, "UInstancedStaticMeshComponent.InstancingRandomSeed"); }
int& InstanceStartCullDistanceField() { return *GetNativePointerField< int*>(this, "UInstancedStaticMeshComponent.InstanceStartCullDistance"); }
int& InstanceEndCullDistanceField() { return *GetNativePointerField< int*>(this, "UInstancedStaticMeshComponent.InstanceEndCullDistance"); }
Expand Down Expand Up @@ -9791,10 +9826,12 @@ struct FFoliageAttachmentOverride
struct AFoliageAttachmentOverrideVolume : AInfo
{
void BeginPlay(float a2) { return NativeCall<void, float>(this, "AFoliageAttachmentOverrideVolume.BeginPlay", a2); }
void ExportToCSV() { return NativeCall<void>(this, "AFoliageAttachmentOverrideVolume.ExportToCSV"); }
TArray<FFoliageAttachmentOverride, FDefaultAllocator>& FoliageAttachmentOverrides() { return *GetNativePointerField<TArray<FFoliageAttachmentOverride, FDefaultAllocator>*>(this, "AFoliageAttachmentOverrideVolume.FoliageAttachmentOverrides"); }
TMap<FName, TSubclassOf<UActorComponent>, FDefaultSetAllocator, TDefaultMapKeyFuncs<FName, TSubclassOf<UActorComponent>, 0> > & FoliageOverrideMap() { return *GetNativePointerField< TMap<FName, TSubclassOf<UActorComponent>, FDefaultSetAllocator, TDefaultMapKeyFuncs<FName, TSubclassOf<UActorComponent>, 0> >*>(this, "AFoliageAttachmentOverrideVolume.FoliageOverrideMap"); }
unsigned __int32& bAddedToArrayField() { return *GetNativePointerField<unsigned __int32*>(this, "AFoliageAttachmentOverrideVolume.bAddedToArray"); }
unsigned __int32& bExportToCSVField() { return *GetNativePointerField<unsigned __int32*>(this, "AFoliageAttachmentOverrideVolume.bExportToCSV"); }
static TSubclassOf<UActorComponent>* GetOverridenFoliageAttachment(TSubclassOf<UActorComponent>* result, ULevel* TheLevel, UFoliageType* FoliageTypeReference) { return NativeCall<TSubclassOf<UActorComponent>*, TSubclassOf<UActorComponent>*, ULevel*, UFoliageType*>(nullptr, "AFoliageAttachmentOverrideVolume.GetOverridenFoliageAttachment", result, TheLevel, FoliageTypeReference); }
};

struct APrimalStructureItemContainer_SupplyCrate
Expand Down
89 changes: 89 additions & 0 deletions version/Core/Public/API/Atlas/Enums.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,95 @@
enum EFullyLoadPackageType;
enum ExpensiveFunctionRegister;

// Missing enum declarations for Atlas compilation
enum class EIndirectLightingCacheQuality
{
ILCQ_Off = 0x0,
ILCQ_Point = 0x1,
ILCQ_Volume = 0x2,
};

enum class ECanBeCharacterBase
{
ECB_No = 0x0,
ECB_Yes = 0x1,
ECB_Owner = 0x2,
ECB_MAX = 0x3,
};

enum class EDistanceFieldTwoSidedOverride
{
DFTSO_NotOverriden = 0x0,
DFTSO_OverrideTrue = 0x1,
DFTSO_OverrideFalse = 0x2,
DFTSO_Max = 0x3,
};

enum class ENetRole
{
ROLE_None = 0x0,
ROLE_SimulatedProxy = 0x1,
ROLE_AutonomousProxy = 0x2,
ROLE_Authority = 0x3,
ROLE_MAX = 0x4,
};

enum class ENetDormancy
{
DORM_Never = 0x0,
DORM_Awake = 0x1,
DORM_DormantAll = 0x2,
DORM_DormantPartial = 0x3,
DORM_Initial = 0x4,
DORN_MAX = 0x5,
};

enum class EDetailMode
{
DM_Low = 0x0,
DM_Medium = 0x1,
DM_High = 0x2,
DM_MAX = 0x3,
};

enum class ESceneDepthPriorityGroup
{
SDPG_World = 0x0,
SDPG_Foreground = 0x1,
SDPG_MAX = 0x2,
};

enum class ETransitionType
{
TT_None = 0x0,
TT_Paused = 0x1,
TT_Loading = 0x2,
TT_Saving = 0x3,
TT_Connecting = 0x4,
TT_Precaching = 0x5,
TT_WaitingToConnect = 0x6,
TT_MAX = 0x7,
};

// Atlas-specific enums
enum EFastTravelType
{
FTT_None = 0x0,
FTT_Bed = 0x1,
FTT_FastTravel = 0x2,
FTT_Spawn = 0x3,
FTT_MAX = 0x4,
};

enum AtlasVoiceChannelType
{
AVCT_Global = 0x0,
AVCT_Local = 0x1,
AVCT_Team = 0x2,
AVCT_Alliance = 0x3,
AVCT_MAX = 0x4,
};

namespace EInventoryDataListType
{
enum Type
Expand Down
12 changes: 12 additions & 0 deletions version/Core/Public/API/Atlas/GameMode.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ struct FSeamlessIslandInfo
float& RotationField() { return *GetNativePointerField< float*>(this, "FSeamlessIslandInfo.Rotation"); }
int& IslandPointsField() { return *GetNativePointerField< int*>(this, "FSeamlessIslandInfo.IslandPoints"); }
FIslandInfoGameplayValues& ReplicatedGameplayValuesField() { return *GetNativePointerField< FIslandInfoGameplayValues*>(this, "FSeamlessIslandInfo.ReplicatedGameplayValues"); }

TWeakObjectPtr<APrimalStructureClaimFlag>& IslandSettlementFlagField() { return *GetNativePointerField<TWeakObjectPtr<APrimalStructureClaimFlag>*>(this, "FSeamlessIslandInfo.IslandSettlementFlag"); }
};

struct FSeamlessServerInfo
Expand Down Expand Up @@ -246,6 +248,12 @@ struct UPubSub_GeneralNotifications_Redis : UPubSub_GeneralNotifications, FDatab

struct UShooterGameInstance : UGameInstance
{


TMap<FString, TWeakObjectPtr<UClass>, FDefaultSetAllocator, TDefaultMapKeyFuncs<FString, TWeakObjectPtr<UClass>, 0> >& HarvestOverridesClassesCacheField() {
return *GetNativePointerField<TMap<FString, TWeakObjectPtr<UClass>, FDefaultSetAllocator, TDefaultMapKeyFuncs<FString, TWeakObjectPtr<UClass>, 0> >*>(this, "UShooterGameInstance.HarvestOverridesClassesCache");
}

FName& CurrentStateField() { return *GetNativePointerField<FName*>(this, "UShooterGameInstance.CurrentState"); }
bool& bCanUseUserGeneratedContentField() { return *GetNativePointerField<bool*>(this, "UShooterGameInstance.bCanUseUserGeneratedContent"); }
bool& bHasCommunicationPriviligeField() { return *GetNativePointerField<bool*>(this, "UShooterGameInstance.bHasCommunicationPrivilige"); }
Expand Down Expand Up @@ -399,6 +407,8 @@ struct UWorld : UObject
struct InitializationValues
{
};


TArray<TSubclassOf<AActor>>& ActorsClassesAllowedToSaveField() { return *GetNativePointerField<TArray<TSubclassOf<AActor>>*>(this, "UWorld.ActorsClassesAllowedToSave"); }
bool& bIsIdleField() { return *GetNativePointerField<bool*>(this, "UWorld.bIsIdle"); }
bool& bEverHadGameStateField() { return *GetNativePointerField<bool*>(this, "UWorld.bEverHadGameState"); }
Expand Down Expand Up @@ -909,6 +919,8 @@ struct ULevelBase : UObject

struct ULevel : ULevelBase
{
int& SubLevelGroupUniqueIDField() { return *GetNativePointerField<int*>(this, "ULevel.SubLevelGroupUniqueID"); }
__int64 GetSublevelGroupUniqueID() { return NativeCall<__int64>(this, "ULevel.GetSublevelGroupUniqueID"); }
};

struct AGameMode : AInfo
Expand Down
Loading