Init default Unreal BP library plugin
This commit is contained in:
parent
ea92082a0b
commit
bf2c911b4d
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Binaries
|
||||||
|
Intermediate
|
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) <year> <copyright holders>
|
Copyright (c) 2023 Kevin Poretti (kevinporetti.com)
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
28
README.md
28
README.md
@ -1,3 +1,31 @@
|
|||||||
# UnrealFightingEngine
|
# UnrealFightingEngine
|
||||||
|
|
||||||
This library provides actors, components, and other general data structures that are useful for developing character action or fighting games.
|
This library provides actors, components, and other general data structures that are useful for developing character action or fighting games.
|
||||||
|
|
||||||
|
### To-Do
|
||||||
|
|
||||||
|
- [ ] State Machine
|
||||||
|
- [ ] Input Buffer
|
||||||
|
|
||||||
|
### Setup
|
||||||
|
|
||||||
|
Clone this repository into the Plugins folder of your game project or your Unreal Engine installation.
|
||||||
|
|
||||||
|
Engine - /[UE Root]/Engine/Plugins/
|
||||||
|
Game - /[Project Root]/Plugins/
|
||||||
|
|
||||||
|
### Usage
|
||||||
|
|
||||||
|
Coming soon...
|
||||||
|
|
||||||
|
### Supported Unreal Engine Versions
|
||||||
|
|
||||||
|
- UE 5.2
|
||||||
|
|
||||||
|
### Known Issues
|
||||||
|
|
||||||
|
None so far...
|
||||||
|
|
||||||
|
### Licensing
|
||||||
|
|
||||||
|
This library is available under [The MIT License](https://mit-license.org/). This library is free for commercial and non-commercial use. Attribution is not required, but is greatly appreciated.
|
BIN
Resources/Icon128.png
Normal file
BIN
Resources/Icon128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
22
Source/UnrealFightingEngine/Private/UnrealFightingEngine.cpp
Normal file
22
Source/UnrealFightingEngine/Private/UnrealFightingEngine.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||||||
|
|
||||||
|
#include "UnrealFightingEngine.h"
|
||||||
|
|
||||||
|
#define LOCTEXT_NAMESPACE "FUnrealFightingEngineModule"
|
||||||
|
|
||||||
|
void FUnrealFightingEngineModule::StartupModule()
|
||||||
|
{
|
||||||
|
// This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void FUnrealFightingEngineModule::ShutdownModule()
|
||||||
|
{
|
||||||
|
// This function may be called during shutdown to clean up your module. For modules that support dynamic reloading,
|
||||||
|
// we call this function before unloading the module.
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#undef LOCTEXT_NAMESPACE
|
||||||
|
|
||||||
|
IMPLEMENT_MODULE(FUnrealFightingEngineModule, UnrealFightingEngine)
|
@ -0,0 +1,16 @@
|
|||||||
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||||||
|
|
||||||
|
#include "UnrealFightingEngineBPLibrary.h"
|
||||||
|
#include "UnrealFightingEngine.h"
|
||||||
|
|
||||||
|
UUnrealFightingEngineBPLibrary::UUnrealFightingEngineBPLibrary(const FObjectInitializer& ObjectInitializer)
|
||||||
|
: Super(ObjectInitializer)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
float UUnrealFightingEngineBPLibrary::UnrealFightingEngineSampleFunction(float Param)
|
||||||
|
{
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
14
Source/UnrealFightingEngine/Public/UnrealFightingEngine.h
Normal file
14
Source/UnrealFightingEngine/Public/UnrealFightingEngine.h
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "Modules/ModuleManager.h"
|
||||||
|
|
||||||
|
class FUnrealFightingEngineModule : public IModuleInterface
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
/** IModuleInterface implementation */
|
||||||
|
virtual void StartupModule() override;
|
||||||
|
virtual void ShutdownModule() override;
|
||||||
|
};
|
@ -0,0 +1,32 @@
|
|||||||
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "Kismet/BlueprintFunctionLibrary.h"
|
||||||
|
#include "UnrealFightingEngineBPLibrary.generated.h"
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Function library class.
|
||||||
|
* Each function in it is expected to be static and represents blueprint node that can be called in any blueprint.
|
||||||
|
*
|
||||||
|
* When declaring function you can define metadata for the node. Key function specifiers will be BlueprintPure and BlueprintCallable.
|
||||||
|
* BlueprintPure - means the function does not affect the owning object in any way and thus creates a node without Exec pins.
|
||||||
|
* BlueprintCallable - makes a function which can be executed in Blueprints - Thus it has Exec pins.
|
||||||
|
* DisplayName - full name of the node, shown when you mouse over the node and in the blueprint drop down menu.
|
||||||
|
* Its lets you name the node using characters not allowed in C++ function names.
|
||||||
|
* CompactNodeTitle - the word(s) that appear on the node.
|
||||||
|
* Keywords - the list of keywords that helps you to find node when you search for it using Blueprint drop-down menu.
|
||||||
|
* Good example is "Print String" node which you can find also by using keyword "log".
|
||||||
|
* Category - the category your node will be under in the Blueprint drop-down menu.
|
||||||
|
*
|
||||||
|
* For more info on custom blueprint nodes visit documentation:
|
||||||
|
* https://wiki.unrealengine.com/Custom_Blueprint_Node_Creation
|
||||||
|
*/
|
||||||
|
UCLASS()
|
||||||
|
class UUnrealFightingEngineBPLibrary : public UBlueprintFunctionLibrary
|
||||||
|
{
|
||||||
|
GENERATED_UCLASS_BODY()
|
||||||
|
|
||||||
|
UFUNCTION(BlueprintCallable, meta = (DisplayName = "Execute Sample function", Keywords = "UnrealFightingEngine sample test testing"), Category = "UnrealFightingEngineTesting")
|
||||||
|
static float UnrealFightingEngineSampleFunction(float Param);
|
||||||
|
};
|
53
Source/UnrealFightingEngine/UnrealFightingEngine.Build.cs
Normal file
53
Source/UnrealFightingEngine/UnrealFightingEngine.Build.cs
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
// Some copyright should be here...
|
||||||
|
|
||||||
|
using UnrealBuildTool;
|
||||||
|
|
||||||
|
public class UnrealFightingEngine : ModuleRules
|
||||||
|
{
|
||||||
|
public UnrealFightingEngine(ReadOnlyTargetRules Target) : base(Target)
|
||||||
|
{
|
||||||
|
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
|
||||||
|
|
||||||
|
PublicIncludePaths.AddRange(
|
||||||
|
new string[] {
|
||||||
|
// ... add public include paths required here ...
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
PrivateIncludePaths.AddRange(
|
||||||
|
new string[] {
|
||||||
|
// ... add other private include paths required here ...
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
PublicDependencyModuleNames.AddRange(
|
||||||
|
new string[]
|
||||||
|
{
|
||||||
|
"Core",
|
||||||
|
// ... add other public dependencies that you statically link with here ...
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
PrivateDependencyModuleNames.AddRange(
|
||||||
|
new string[]
|
||||||
|
{
|
||||||
|
"CoreUObject",
|
||||||
|
"Engine",
|
||||||
|
"Slate",
|
||||||
|
"SlateCore",
|
||||||
|
// ... add private dependencies that you statically link with here ...
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
DynamicallyLoadedModuleNames.AddRange(
|
||||||
|
new string[]
|
||||||
|
{
|
||||||
|
// ... add any modules that your module loads dynamically here ...
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
24
UnrealFightingEngine.uplugin
Normal file
24
UnrealFightingEngine.uplugin
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"FileVersion": 3,
|
||||||
|
"Version": 1,
|
||||||
|
"VersionName": "1.0",
|
||||||
|
"FriendlyName": "UnrealFightingEngine",
|
||||||
|
"Description": "This library provides actors, components, and other general data structures that are useful for developing character action or fighting games.",
|
||||||
|
"Category": "Other",
|
||||||
|
"CreatedBy": "Kevin Poretti",
|
||||||
|
"CreatedByURL": "https://kevinporetti.com",
|
||||||
|
"DocsURL": "",
|
||||||
|
"MarketplaceURL": "",
|
||||||
|
"SupportURL": "",
|
||||||
|
"CanContainContent": true,
|
||||||
|
"IsBetaVersion": true,
|
||||||
|
"IsExperimentalVersion": false,
|
||||||
|
"Installed": false,
|
||||||
|
"Modules": [
|
||||||
|
{
|
||||||
|
"Name": "UnrealFightingEngine",
|
||||||
|
"Type": "Runtime",
|
||||||
|
"LoadingPhase": "PreLoadingScreen"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user