Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@

// This file is generated from the Game's Reflection data

#include <RED4ext/Scripting/Natives/entIPositionProvider.hpp>

namespace RED4ext
{
RED4EXT_ASSERT_SIZE(ent::IPositionProvider, 0x50);
using entIPositionProvider = ent::IPositionProvider;
using IPositionProvider = ent::IPositionProvider;
} // namespace RED4ext

/*
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/Scripting/IScriptable.hpp>
Expand All @@ -24,5 +34,6 @@ RED4EXT_ASSERT_SIZE(IPositionProvider, 0x50);
using entIPositionProvider = ent::IPositionProvider;
using IPositionProvider = ent::IPositionProvider;
} // namespace RED4ext
*/

// clang-format on
24 changes: 24 additions & 0 deletions include/RED4ext/Scripting/Natives/entIPositionProvider.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#pragma once

#include <RED4ext/Common.hpp>
#include <RED4ext/Scripting/IScriptable.hpp>
#include <RED4ext/Scripting/Natives/Vector3.hpp>

namespace RED4ext
{
namespace ent
{
struct IPositionProvider : IScriptable
{
static constexpr const char* NAME = "entIPositionProvider";
static constexpr const char* ALIAS = "IPositionProvider";

Vector3 worldOffset; // 40
uint8_t unk4C[0x50 - 0x4C]; // 4C
};
RED4EXT_ASSERT_SIZE(IPositionProvider, 0x50);
RED4EXT_ASSERT_OFFSET(IPositionProvider, worldOffset, 0x40);
} // namespace ent
using entIPositionProvider = ent::IPositionProvider;
using IPositionProvider = ent::IPositionProvider;
} // namespace RED4ext
Loading