mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
Add project files.
This commit is contained in:
14
Project Reboot 3.0/GameMode.h
Normal file
14
Project Reboot 3.0/GameMode.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include "GameModeBase.h"
|
||||
|
||||
class AGameMode : public AGameModeBase
|
||||
{
|
||||
public:
|
||||
|
||||
class AGameState*& GetGameState()
|
||||
{
|
||||
static auto GameStateOffset = this->GetOffset("GameState");
|
||||
return this->Get<class AGameState*>(GameStateOffset);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user