forked from ServersHub/ServerAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Custom messaging, extension methods, removed debug build
* Added asa api mod utils interface. * Added messaging manager skeleton, added extension classes and headers * Changed function to return by reference to alter directly in cpp. * Add messaging manager implementations, bump version to 1.1 * Fixed some things, added Asa api mod messaging manager skeleton * Added some more messages function to the asa api utils mod messaging manager * Add config to choose the default manager (must be defined in base api). Added check for requirements if server is ready * Fix to get default value if config entry does not exist * Remove useless comment * Fixed several bugs * Fixed default messaging reading * Changed function params to take a struct rather than a lot of single params * Removed Debug configuration to avoid causing confusion to people trying to build it.
- Loading branch information
Showing
21 changed files
with
842 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#pragma once | ||
|
||
#include "UE.h" | ||
#include <Math/MathFwd.h> | ||
#include <Containers/UnrealString.h> | ||
|
||
struct ActorExtensions | ||
{ | ||
/** | ||
* \brief Returns the forward direction vector (length 1.0) from the actor's point of view. | ||
* \return The forward direction vector (length 1.0) from the actor's point of view. | ||
*/ | ||
FVector GetActorForwardVector(); | ||
|
||
/** | ||
* \brief Returns if the actor is from SomeBase or a subclass of SomeBase. | ||
* \param SomeBase The base class to check against. | ||
* \return true if the actor is from SomeBase or a subclass of SomeBase. | ||
*/ | ||
bool IsA(UClass* SomeBase); | ||
|
||
/** | ||
* \brief Returns the actor's location in world space. | ||
* \return The actor's location in world space. | ||
*/ | ||
FVector GetLocation(); | ||
}; | ||
|
||
struct PlayerControllerExtensions | ||
{ | ||
/** | ||
* \brief Returns the player's EOS id (platform unique identifier) | ||
* \return The player's EOS id (platform unique identifier) | ||
*/ | ||
FString GetEOSId(); | ||
}; |
Oops, something went wrong.