Add Agrarian dev console commands
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
class UInputMappingContext;
|
||||
class UUserWidget;
|
||||
class AAgrarianShelterActor;
|
||||
|
||||
/**
|
||||
* Basic PlayerController class for a third person game
|
||||
@@ -49,4 +50,32 @@ protected:
|
||||
/** Returns true if the player should use UMG touch controls */
|
||||
bool ShouldUseTouchControls() const;
|
||||
|
||||
public:
|
||||
UFUNCTION(Exec)
|
||||
void AgrarianGrantItem(FName ItemId, int32 Quantity);
|
||||
|
||||
UFUNCTION(Exec)
|
||||
void AgrarianSaveWorld();
|
||||
|
||||
UFUNCTION(Exec)
|
||||
void AgrarianLoadWorld();
|
||||
|
||||
UFUNCTION(Exec)
|
||||
void AgrarianSurvival();
|
||||
|
||||
UFUNCTION(Exec)
|
||||
void AgrarianHeal();
|
||||
|
||||
protected:
|
||||
UFUNCTION(Server, Reliable)
|
||||
void ServerAgrarianGrantItem(FName ItemId, int32 Quantity);
|
||||
|
||||
UFUNCTION(Server, Reliable)
|
||||
void ServerAgrarianSaveWorld();
|
||||
|
||||
UFUNCTION(Server, Reliable)
|
||||
void ServerAgrarianLoadWorld();
|
||||
|
||||
UFUNCTION(Server, Reliable)
|
||||
void ServerAgrarianHeal();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user