interact + pickuo

This commit is contained in:
Milxnor
2023-03-11 09:24:00 -05:00
parent 59c338c401
commit 07950d84a2
33 changed files with 663 additions and 150 deletions

View File

@@ -11,8 +11,15 @@ struct FGameplayAbilitySpecHandle
void GenerateNewHandle()
{
static int GHandle = 1;
Handle = ++GHandle;
if (true)
{
Handle = rand();
}
else
{
static int GHandle = 1;
Handle = ++GHandle;
}
}
};
@@ -23,7 +30,7 @@ struct FGameplayAbilitySpec : FFastArraySerializerItem
static auto GameplayAbilitySpecStruct = FindObject<UClass>("/Script/GameplayAbilities.GameplayAbilitySpec");
static auto StructSize = GameplayAbilitySpecStruct->GetPropertiesSize();
// *(int*)(__int64(GameplayAbilitySpecStruct) + Offsets::PropertiesSize);
LOG_INFO(LogAbility, "StructSize: {}", StructSize);
// LOG_INFO(LogAbilities, "StructSize: {}", StructSize);
return StructSize;
}