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
7 changes: 7 additions & 0 deletions include/RE/E/Events.h
Original file line number Diff line number Diff line change
Expand Up @@ -3082,6 +3082,9 @@ namespace RE
static REL::Relocation<func_t> func{ ID::Spaceship::TakeOffEvent::GetEventSource };
return func();
}

NiPointer<TESObjectREFR> ship;
std::uint32_t state;
};

struct GravJumpEvent
Expand All @@ -3092,6 +3095,10 @@ namespace RE
static REL::Relocation<func_t> func{ ID::Spaceship::GravJumpEvent::GetEventSource };
return func();
}

NiPointer<TESObjectREFR> ship;
std::uint32_t state;
NiPointer<BGSLocation> destination;
};

struct LandedSetEvent
Expand Down
36 changes: 18 additions & 18 deletions include/RE/IDs.h
Original file line number Diff line number Diff line change
Expand Up @@ -1917,12 +1917,12 @@ namespace RE::ID

namespace Spaceship::TakeOffEvent
{
inline constexpr REL::ID GetEventSource{ 0 }; // 37523
inline constexpr REL::ID GetEventSource{ 120552 };
}

namespace Spaceship::GravJumpEvent
{
inline constexpr REL::ID GetEventSource{ 0 }; // 141814
inline constexpr REL::ID GetEventSource{ 93876 };
}

namespace Spaceship::LandedSetEvent
Expand All @@ -1932,52 +1932,52 @@ namespace RE::ID

namespace Spaceship::BoughtEvent
{
inline constexpr REL::ID GetEventSource{ 0 }; // 174575
inline constexpr REL::ID GetEventSource{ 120542 };
}

namespace Spaceship::ContrabandScanWarningEvent
{
inline constexpr REL::ID GetEventSource{ 0 }; // 174576
inline constexpr REL::ID GetEventSource{ 120555 };
}

namespace Spaceship::DockEvent
{
inline constexpr REL::ID GetEventSource{ 0 }; // 174577
inline constexpr REL::ID GetEventSource{ 120544 };
}

namespace Spaceship::DynamicNavmeshCompleted
{
inline constexpr REL::ID GetEventSource{ 0 }; // 174578
inline constexpr REL::ID GetEventSource{ 120550 };
}

namespace Spaceship::FarTravelEvent
{
inline constexpr REL::ID GetEventSource{ 0 }; // 174579
inline constexpr REL::ID GetEventSource{ 120553 };
}

namespace Spaceship::LandingEvent
{
inline constexpr REL::ID GetEventSource{ 0 }; // 174580
inline constexpr REL::ID GetEventSource{ 120551 };
}

namespace Spaceship::PlanetScanEvent
{
inline constexpr REL::ID GetEventSource{ 0 }; // 174581
inline constexpr REL::ID GetEventSource{ 120554 };
}

namespace Spaceship::RampDownEvent
{
inline constexpr REL::ID GetEventSource{ 0 }; // 174582
inline constexpr REL::ID GetEventSource{ 120538 };
}

namespace Spaceship::RefueledEvent
{
inline constexpr REL::ID GetEventSource{ 0 }; // 174583
inline constexpr REL::ID GetEventSource{ 120543 };
}

namespace Spaceship::RegisteredEvent
{
inline constexpr REL::ID GetEventSource{ 0 }; // 174584
inline constexpr REL::ID GetEventSource{ 120540 };
}

namespace Spaceship::ShieldEvent
Expand All @@ -1987,7 +1987,7 @@ namespace RE::ID

namespace Spaceship::ShipAddedEvent
{
inline constexpr REL::ID GetEventSource{ 0 }; // 174586
inline constexpr REL::ID GetEventSource{ 120539 };
}

namespace Spaceship::ShipCollisionEvent
Expand All @@ -2002,12 +2002,12 @@ namespace RE::ID

namespace Spaceship::SoldEvent
{
inline constexpr REL::ID GetEventSource{ 0 }; // 174589
inline constexpr REL::ID GetEventSource{ 120541 };
}

namespace Spaceship::SystemDamagedEvent
{
inline constexpr REL::ID GetEventSource{ 0 }; // 174590
inline constexpr REL::ID GetEventSource{ 120547 };
}

namespace Spaceship::SystemPowerAllocationEvent
Expand All @@ -2017,7 +2017,7 @@ namespace RE::ID

namespace Spaceship::SystemPowerChangeEvent
{
inline constexpr REL::ID GetEventSource{ 0 }; // 174592
inline constexpr REL::ID GetEventSource{ 120549 };
}

namespace Spaceship::SystemRepairedBIEvent
Expand All @@ -2027,7 +2027,7 @@ namespace RE::ID

namespace Spaceship::SystemRepairedEvent
{
inline constexpr REL::ID GetEventSource{ 0 }; // 174594
inline constexpr REL::ID GetEventSource{ 120546 };
}

namespace Spaceship::TakeDamagEvent
Expand Down Expand Up @@ -2373,7 +2373,7 @@ namespace RE::ID
inline constexpr REL::ID GetScale{ 0 }; // 106658
inline constexpr REL::ID GetSpaceship{ 119881 };
inline constexpr REL::ID GetSpaceshipParentDock{ 0 }; // 174134
inline constexpr REL::ID GetSpaceshipPilot{ 0 }; // 173834
inline constexpr REL::ID GetSpaceshipPilot{ 119876 };
inline constexpr REL::ID GetValue{ 0 }; // 107605
inline constexpr REL::ID HasKeyword{ 42794 };
inline constexpr REL::ID IsCrimeToActivate{ 0 }; // 106755
Expand Down
Loading