mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
124 files changed.
This commit is contained in:
@@ -191,7 +191,8 @@ static inline std::vector<Event> Events =
|
||||
{
|
||||
{
|
||||
false,
|
||||
"/Game/Athena/Environments/Festivus/Blueprints/BP_FestivusManager.BP_FestivusManager_C.PlayConcert"
|
||||
// "/Game/Athena/Environments/Festivus/Blueprints/BP_FestivusManager.BP_FestivusManager_C.PlayConcert"
|
||||
"/Game/Athena/Environments/Festivus/Blueprints/BP_FestivusManager.BP_FestivusManager_C.ServerPlayFestivus"
|
||||
},
|
||||
|
||||
0
|
||||
@@ -268,6 +269,24 @@ static inline UFortPlaylist* GetEventPlaylist()
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
static inline Event GetOurEvent()
|
||||
{
|
||||
for (auto& CurrentEvent : Events)
|
||||
{
|
||||
if (CurrentEvent.Version == Fortnite_Version)
|
||||
{
|
||||
return CurrentEvent;
|
||||
}
|
||||
}
|
||||
|
||||
return Event();
|
||||
}
|
||||
|
||||
static inline bool HasEvent()
|
||||
{
|
||||
return GetOurEvent().Version == Fortnite_Version;
|
||||
}
|
||||
|
||||
static inline UObject* GetEventScripting()
|
||||
{
|
||||
Event OurEvent;
|
||||
|
||||
Reference in New Issue
Block a user