-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2,137 changed files
with
24,211 additions
and
6,288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
include/RED4ext/Scripting/Natives/Generated/AI/DriveCommandUpdate.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#pragma once | ||
|
||
// clang-format off | ||
|
||
// This file is generated from the Game's Reflection data | ||
|
||
#include <cstdint> | ||
#include <RED4ext/Common.hpp> | ||
#include <RED4ext/Scripting/IScriptable.hpp> | ||
|
||
namespace RED4ext | ||
{ | ||
namespace AI | ||
{ | ||
struct DriveCommandUpdate : IScriptable | ||
{ | ||
static constexpr const char* NAME = "AIDriveCommandUpdate"; | ||
static constexpr const char* ALIAS = "DriveCommandUpdate"; | ||
|
||
float minSpeed; // 40 | ||
float maxSpeed; // 44 | ||
bool clearTrafficOnPath; // 48 | ||
uint8_t unk49[0x50 - 0x49]; // 49 | ||
}; | ||
RED4EXT_ASSERT_SIZE(DriveCommandUpdate, 0x50); | ||
} // namespace AI | ||
using AIDriveCommandUpdate = AI::DriveCommandUpdate; | ||
using DriveCommandUpdate = AI::DriveCommandUpdate; | ||
} // namespace RED4ext | ||
|
||
// clang-format on |
30 changes: 30 additions & 0 deletions
30
include/RED4ext/Scripting/Natives/Generated/AI/DrivePatrolUpdate.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#pragma once | ||
|
||
// clang-format off | ||
|
||
// This file is generated from the Game's Reflection data | ||
|
||
#include <cstdint> | ||
#include <RED4ext/Common.hpp> | ||
#include <RED4ext/Scripting/Natives/Generated/AI/DriveCommandUpdate.hpp> | ||
|
||
namespace RED4ext | ||
{ | ||
namespace AI | ||
{ | ||
struct DrivePatrolUpdate : AI::DriveCommandUpdate | ||
{ | ||
static constexpr const char* NAME = "AIDrivePatrolUpdate"; | ||
static constexpr const char* ALIAS = "DrivePatrolUpdate"; | ||
|
||
uint32_t numPatrolLoops; // 50 | ||
bool emergencyPatrol; // 54 | ||
uint8_t unk55[0x58 - 0x55]; // 55 | ||
}; | ||
RED4EXT_ASSERT_SIZE(DrivePatrolUpdate, 0x58); | ||
} // namespace AI | ||
using AIDrivePatrolUpdate = AI::DrivePatrolUpdate; | ||
using DrivePatrolUpdate = AI::DrivePatrolUpdate; | ||
} // namespace RED4ext | ||
|
||
// clang-format on |
32 changes: 32 additions & 0 deletions
32
include/RED4ext/Scripting/Natives/Generated/AI/DriveToPointAutonomousUpdate.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#pragma once | ||
|
||
// clang-format off | ||
|
||
// This file is generated from the Game's Reflection data | ||
|
||
#include <cstdint> | ||
#include <RED4ext/Common.hpp> | ||
#include <RED4ext/Scripting/Natives/Generated/AI/DriveCommandUpdate.hpp> | ||
#include <RED4ext/Scripting/Natives/Generated/Vector4.hpp> | ||
|
||
namespace RED4ext | ||
{ | ||
namespace AI | ||
{ | ||
struct DriveToPointAutonomousUpdate : AI::DriveCommandUpdate | ||
{ | ||
static constexpr const char* NAME = "AIDriveToPointAutonomousUpdate"; | ||
static constexpr const char* ALIAS = "DriveToPointAutonomousUpdate"; | ||
|
||
Vector4 targetPosition; // 50 | ||
float minimumDistanceToTarget; // 60 | ||
bool driveDownTheRoadIndefinitely; // 64 | ||
uint8_t unk65[0x70 - 0x65]; // 65 | ||
}; | ||
RED4EXT_ASSERT_SIZE(DriveToPointAutonomousUpdate, 0x70); | ||
} // namespace AI | ||
using AIDriveToPointAutonomousUpdate = AI::DriveToPointAutonomousUpdate; | ||
using DriveToPointAutonomousUpdate = AI::DriveToPointAutonomousUpdate; | ||
} // namespace RED4ext | ||
|
||
// clang-format on |
34 changes: 34 additions & 0 deletions
34
include/RED4ext/Scripting/Natives/Generated/AI/DroppedThreatData.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#pragma once | ||
|
||
// clang-format off | ||
|
||
// This file is generated from the Game's Reflection data | ||
|
||
#include <cstdint> | ||
#include <RED4ext/Common.hpp> | ||
#include <RED4ext/Handle.hpp> | ||
#include <RED4ext/Scripting/Natives/Generated/Vector4.hpp> | ||
|
||
namespace RED4ext | ||
{ | ||
namespace ent { struct Entity; } | ||
|
||
namespace AI | ||
{ | ||
struct DroppedThreatData | ||
{ | ||
static constexpr const char* NAME = "AIDroppedThreatData"; | ||
static constexpr const char* ALIAS = "DroppedThreatData"; | ||
|
||
uint8_t unk00[0x40 - 0x0]; // 0 | ||
WeakHandle<ent::Entity> threat; // 40 | ||
Vector4 position; // 50 | ||
uint8_t unk60[0x70 - 0x60]; // 60 | ||
}; | ||
RED4EXT_ASSERT_SIZE(DroppedThreatData, 0x70); | ||
} // namespace AI | ||
using AIDroppedThreatData = AI::DroppedThreatData; | ||
using DroppedThreatData = AI::DroppedThreatData; | ||
} // namespace RED4ext | ||
|
||
// clang-format on |
19 changes: 19 additions & 0 deletions
19
include/RED4ext/Scripting/Natives/Generated/AI/FiniteRoleType.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#pragma once | ||
|
||
// clang-format off | ||
|
||
// This file is generated from the Game's Reflection data | ||
|
||
#include <cstdint> | ||
namespace RED4ext | ||
{ | ||
namespace AI { | ||
enum class FiniteRoleType : uint32_t | ||
{ | ||
Patrol = 0, | ||
}; | ||
} // namespace AI | ||
using AIFiniteRoleType = AI::FiniteRoleType; | ||
} // namespace RED4ext | ||
|
||
// clang-format on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
include/RED4ext/Scripting/Natives/Generated/AI/GuardAreaSavedData.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#pragma once | ||
|
||
// clang-format off | ||
|
||
// This file is generated from the Game's Reflection data | ||
|
||
#include <cstdint> | ||
#include <RED4ext/Common.hpp> | ||
#include <RED4ext/NativeTypes.hpp> | ||
#include <RED4ext/Scripting/Natives/Generated/ent/EntityID.hpp> | ||
|
||
namespace RED4ext | ||
{ | ||
namespace AI | ||
{ | ||
struct GuardAreaSavedData | ||
{ | ||
static constexpr const char* NAME = "AIGuardAreaSavedData"; | ||
static constexpr const char* ALIAS = NAME; | ||
|
||
ent::EntityID puppetId; // 00 | ||
NodeRef nodeRef; // 08 | ||
}; | ||
RED4EXT_ASSERT_SIZE(GuardAreaSavedData, 0x10); | ||
} // namespace AI | ||
using AIGuardAreaSavedData = AI::GuardAreaSavedData; | ||
} // namespace RED4ext | ||
|
||
// clang-format on |
31 changes: 31 additions & 0 deletions
31
include/RED4ext/Scripting/Natives/Generated/AI/GuardAreasSavedState.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#pragma once | ||
|
||
// clang-format off | ||
|
||
// This file is generated from the Game's Reflection data | ||
|
||
#include <cstdint> | ||
#include <RED4ext/Common.hpp> | ||
#include <RED4ext/DynArray.hpp> | ||
#include <RED4ext/ISerializable.hpp> | ||
#include <RED4ext/Scripting/Natives/Generated/AI/GuardAreaSavedData.hpp> | ||
#include <RED4ext/Scripting/Natives/Generated/ent/EntityID.hpp> | ||
|
||
namespace RED4ext | ||
{ | ||
namespace AI | ||
{ | ||
struct GuardAreasSavedState : ISerializable | ||
{ | ||
static constexpr const char* NAME = "AIGuardAreasSavedState"; | ||
static constexpr const char* ALIAS = NAME; | ||
|
||
DynArray<AI::GuardAreaSavedData> data; // 30 | ||
DynArray<ent::EntityID> cleared; // 40 | ||
}; | ||
RED4EXT_ASSERT_SIZE(GuardAreasSavedState, 0x50); | ||
} // namespace AI | ||
using AIGuardAreasSavedState = AI::GuardAreasSavedState; | ||
} // namespace RED4ext | ||
|
||
// clang-format on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
include/RED4ext/Scripting/Natives/Generated/AI/IVehicleCoversSystem.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#pragma once | ||
|
||
// clang-format off | ||
|
||
// This file is generated from the Game's Reflection data | ||
|
||
#include <cstdint> | ||
#include <RED4ext/Common.hpp> | ||
#include <RED4ext/Scripting/Natives/Generated/game/IGameSystem.hpp> | ||
|
||
namespace RED4ext | ||
{ | ||
namespace AI | ||
{ | ||
struct IVehicleCoversSystem : game::IGameSystem | ||
{ | ||
static constexpr const char* NAME = "AIIVehicleCoversSystem"; | ||
static constexpr const char* ALIAS = NAME; | ||
|
||
}; | ||
RED4EXT_ASSERT_SIZE(IVehicleCoversSystem, 0x48); | ||
} // namespace AI | ||
using AIIVehicleCoversSystem = AI::IVehicleCoversSystem; | ||
} // namespace RED4ext | ||
|
||
// clang-format on |
26 changes: 26 additions & 0 deletions
26
include/RED4ext/Scripting/Natives/Generated/AI/JoinCrowdCommand.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#pragma once | ||
|
||
// clang-format off | ||
|
||
// This file is generated from the Game's Reflection data | ||
|
||
#include <cstdint> | ||
#include <RED4ext/Common.hpp> | ||
#include <RED4ext/Scripting/Natives/Generated/AI/MoveCommand.hpp> | ||
|
||
namespace RED4ext | ||
{ | ||
namespace AI | ||
{ | ||
struct JoinCrowdCommand : AI::MoveCommand | ||
{ | ||
static constexpr const char* NAME = "AIJoinCrowdCommand"; | ||
static constexpr const char* ALIAS = NAME; | ||
|
||
}; | ||
RED4EXT_ASSERT_SIZE(JoinCrowdCommand, 0x68); | ||
} // namespace AI | ||
using AIJoinCrowdCommand = AI::JoinCrowdCommand; | ||
} // namespace RED4ext | ||
|
||
// clang-format on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
include/RED4ext/Scripting/Natives/Generated/AI/PatrolContinuationPolicy.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#pragma once | ||
|
||
// clang-format off | ||
|
||
// This file is generated from the Game's Reflection data | ||
|
||
#include <cstdint> | ||
namespace RED4ext | ||
{ | ||
namespace AI { | ||
enum class PatrolContinuationPolicy : uint32_t | ||
{ | ||
FromNextControlPoint = 0, | ||
FromClosestPoint = 1, | ||
FromBeginning = 2, | ||
}; | ||
} // namespace AI | ||
using AIPatrolContinuationPolicy = AI::PatrolContinuationPolicy; | ||
} // namespace RED4ext | ||
|
||
// clang-format on |
Oops, something went wrong.