|
Night Sky Engine
A fighting game framework made in Unreal Engine
|
#include <NightSkyGameInstance.h>


Public Member Functions | |
| void | TravelToVSInfo () const |
| void | TravelToBattleMap () const |
| void | LoadReplay () |
| void | PlayReplayToGameState (int32 FrameNumber, int32 &OutP1Input, int32 &OutP2Input) const |
| void | RecordReplay () |
| void | UpdateReplay (int32 InputsP1, int32 InputsP2) const |
| void | RollbackReplay (int32 FramesToRollback) const |
| void | EndRecordReplay () const |
| void | PlayReplayFromBP (FString ReplayName) |
| void | FindReplays () |
| void | DeleteReplay (const FString &ReplayName) |
Public Attributes | |
| bool | FinishedLoadingForNetworkBattle = false |
| FString | GameVersion |
| FString | BattleVersion |
| TObjectPtr< UNightSkySettingsInfo > | SettingsInfo |
| TObjectPtr< USoundData > | MusicData |
| TArray< UReplaySaveInfo * > | ReplayList |
| int | PlayerIndex |
| FBattleData | BattleData |
| bool | IsTraining = false |
| bool | IsCPUBattle = false |
| bool | IsReplay = false |
| TEnumAsByte< EFighterRunners > | FighterRunner |
Protected Member Functions | |
| void | BP_OnFindReplaysComplete (const TArray< UReplaySaveInfo * > &AllReplays) |
Definition at line 49 of file NightSkyGameInstance.h.
|
protected |
| void UNightSkyGameInstance::DeleteReplay | ( | const FString & | ReplayName | ) |
Delete a previously recorded replay
Definition at line 141 of file NightSkyGameInstance.cpp.
| void UNightSkyGameInstance::EndRecordReplay | ( | ) | const |
Definition at line 94 of file NightSkyGameInstance.cpp.
| void UNightSkyGameInstance::FindReplays | ( | ) |
Start looking for/finding replays on the hard drive
Definition at line 119 of file NightSkyGameInstance.cpp.
| void UNightSkyGameInstance::LoadReplay | ( | ) |
Definition at line 54 of file NightSkyGameInstance.cpp.
| void UNightSkyGameInstance::PlayReplayFromBP | ( | FString | ReplayName | ) |
Start playback for a previously recorded Replay, from blueprint
Definition at line 110 of file NightSkyGameInstance.cpp.
| void UNightSkyGameInstance::PlayReplayToGameState | ( | int32 | FrameNumber, |
| int32 & | OutP1Input, | ||
| int32 & | OutP2Input ) const |
Definition at line 59 of file NightSkyGameInstance.cpp.
| void UNightSkyGameInstance::RecordReplay | ( | ) |
Definition at line 70 of file NightSkyGameInstance.cpp.
| void UNightSkyGameInstance::RollbackReplay | ( | int32 | FramesToRollback | ) | const |
Definition at line 84 of file NightSkyGameInstance.cpp.
| void UNightSkyGameInstance::TravelToBattleMap | ( | ) | const |
Definition at line 49 of file NightSkyGameInstance.cpp.
| void UNightSkyGameInstance::TravelToVSInfo | ( | ) | const |
Definition at line 44 of file NightSkyGameInstance.cpp.
| void UNightSkyGameInstance::UpdateReplay | ( | int32 | InputsP1, |
| int32 | InputsP2 ) const |
Definition at line 77 of file NightSkyGameInstance.cpp.
| FBattleData UNightSkyGameInstance::BattleData |
Definition at line 84 of file NightSkyGameInstance.h.
| FString UNightSkyGameInstance::BattleVersion |
Definition at line 71 of file NightSkyGameInstance.h.
| TEnumAsByte<EFighterRunners> UNightSkyGameInstance::FighterRunner |
Definition at line 94 of file NightSkyGameInstance.h.
| bool UNightSkyGameInstance::FinishedLoadingForNetworkBattle = false |
Definition at line 66 of file NightSkyGameInstance.h.
| FString UNightSkyGameInstance::GameVersion |
Definition at line 69 of file NightSkyGameInstance.h.
| bool UNightSkyGameInstance::IsCPUBattle = false |
Definition at line 89 of file NightSkyGameInstance.h.
| bool UNightSkyGameInstance::IsReplay = false |
Definition at line 91 of file NightSkyGameInstance.h.
| bool UNightSkyGameInstance::IsTraining = false |
Definition at line 87 of file NightSkyGameInstance.h.
| TObjectPtr<USoundData> UNightSkyGameInstance::MusicData |
Definition at line 77 of file NightSkyGameInstance.h.
| int UNightSkyGameInstance::PlayerIndex |
Definition at line 82 of file NightSkyGameInstance.h.
| TArray<UReplaySaveInfo*> UNightSkyGameInstance::ReplayList |
Definition at line 80 of file NightSkyGameInstance.h.
| TObjectPtr<UNightSkySettingsInfo> UNightSkyGameInstance::SettingsInfo |
Definition at line 74 of file NightSkyGameInstance.h.