73. Player Level and Combat Interface
This commit is contained in:
6
Project/Source/Gasa/Interfaces/CombatInterface.cpp
Normal file
6
Project/Source/Gasa/Interfaces/CombatInterface.cpp
Normal file
@ -0,0 +1,6 @@
|
||||
#include "CombatInterface.h"
|
||||
|
||||
int32 ICombat::GetPlayerLevel()
|
||||
{
|
||||
return 0;
|
||||
}
|
20
Project/Source/Gasa/Interfaces/CombatInterface.h
Normal file
20
Project/Source/Gasa/Interfaces/CombatInterface.h
Normal file
@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include "UObject/Interface.h"
|
||||
|
||||
#include "CombatInterface.generated.h"
|
||||
|
||||
|
||||
UINTERFACE(MinimalAPI)
|
||||
class UCombat : public UInterface
|
||||
{
|
||||
GENERATED_BODY()
|
||||
};
|
||||
|
||||
class GASA_API ICombat
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
virtual int32 GetPlayerLevel();
|
||||
};
|
Reference in New Issue
Block a user