11// Fill out your copyright notice in the Description page of Project Settings.
22
33
4- #include " TestGameInstance .h"
4+ #include " TestGameInstanceGSDK .h"
55
66DEFINE_LOG_CATEGORY (LogPlayFabGSDKGameInstance);
77
8- void UTestGameInstance ::Init ()
8+ void UTestGameInstanceGSDK ::Init ()
99{
1010 FOnGSDKShutdown_Dyn OnGsdkShutdown;
11- OnGsdkShutdown.BindDynamic (this , &UTestGameInstance ::OnGSDKShutdown);
11+ OnGsdkShutdown.BindDynamic (this , &UTestGameInstanceGSDK ::OnGSDKShutdown);
1212 FOnGSDKHealthCheck_Dyn OnGsdkHealthCheck;
13- OnGsdkHealthCheck.BindDynamic (this , &UTestGameInstance ::OnGSDKHealthCheck);
13+ OnGsdkHealthCheck.BindDynamic (this , &UTestGameInstanceGSDK ::OnGSDKHealthCheck);
1414 FOnGSDKServerActive_Dyn OnGSDKServerActive;
15- OnGSDKServerActive.BindDynamic (this , &UTestGameInstance ::OnGSDKServerActive);
15+ OnGSDKServerActive.BindDynamic (this , &UTestGameInstanceGSDK ::OnGSDKServerActive);
1616 FOnGSDKReadyForPlayers_Dyn OnGSDKReadyForPlayers;
17- OnGSDKReadyForPlayers.BindDynamic (this , &UTestGameInstance ::OnGSDKReadyForPlayers);
17+ OnGSDKReadyForPlayers.BindDynamic (this , &UTestGameInstanceGSDK ::OnGSDKReadyForPlayers);
1818 FOnGSDKMaintenanceV2_Dyn OnGSDKMaintenanceV2;
19- OnGSDKMaintenanceV2.BindDynamic (this , &UTestGameInstance ::OnGSDKMaintenanceV2);
19+ OnGSDKMaintenanceV2.BindDynamic (this , &UTestGameInstanceGSDK ::OnGSDKMaintenanceV2);
2020
2121 UGSDKUtils::RegisterGSDKShutdownDelegate (OnGsdkShutdown);
2222 UGSDKUtils::RegisterGSDKHealthCheckDelegate (OnGsdkHealthCheck);
@@ -30,25 +30,25 @@ void UTestGameInstance::Init()
3030#endif
3131}
3232
33- void UTestGameInstance ::OnStart ()
33+ void UTestGameInstanceGSDK ::OnStart ()
3434{
3535 UE_LOG (LogPlayFabGSDKGameInstance, Warning, TEXT (" Reached onStart!" ));
3636 UGSDKUtils::ReadyForPlayers ();
3737}
3838
39- void UTestGameInstance ::OnGSDKShutdown ()
39+ void UTestGameInstanceGSDK ::OnGSDKShutdown ()
4040{
4141 UE_LOG (LogPlayFabGSDKGameInstance, Warning, TEXT (" Shutdown!" ));
4242 FPlatformMisc::RequestExit (false );
4343}
4444
45- bool UTestGameInstance ::OnGSDKHealthCheck ()
45+ bool UTestGameInstanceGSDK ::OnGSDKHealthCheck ()
4646{
4747 UE_LOG (LogPlayFabGSDKGameInstance, Warning, TEXT (" Healthy!" ));
4848 return true ;
4949}
5050
51- void UTestGameInstance ::OnGSDKServerActive ()
51+ void UTestGameInstanceGSDK ::OnGSDKServerActive ()
5252{
5353 /* *
5454 * Server is transitioning to an active state.
@@ -58,7 +58,7 @@ void UTestGameInstance::OnGSDKServerActive()
5858 UE_LOG (LogPlayFabGSDKGameInstance, Warning, TEXT (" Active!" ));
5959}
6060
61- void UTestGameInstance ::OnGSDKReadyForPlayers ()
61+ void UTestGameInstanceGSDK ::OnGSDKReadyForPlayers ()
6262{
6363 /* *
6464 * Server is transitioning to a StandBy state. Game initialization is complete and the game is ready
@@ -69,7 +69,7 @@ void UTestGameInstance::OnGSDKReadyForPlayers()
6969 UE_LOG (LogPlayFabGSDKGameInstance, Warning, TEXT (" Finished Initialization - Moving to StandBy!" ));
7070}
7171
72- void UTestGameInstance ::OnGSDKMaintenanceV2 (const FMaintenanceSchedule& schedule)
72+ void UTestGameInstanceGSDK ::OnGSDKMaintenanceV2 (const FMaintenanceSchedule& schedule)
7373{
7474 /* *
7575 * Server recieved a maintenance event.
0 commit comments