mirror of
https://github.com/storytold/UnrealZeroMQ.git
synced 2026-10-24 08:15:24 +00:00
Merge branch 'master' of https://github.com/hdhauk/UnrealZeroMQ
This commit is contained in:
@@ -0,0 +1,29 @@
|
|||||||
|
# UnrealZeroMQ
|
||||||
|
Unreal Engine 4 plugin for ZeroMQ with bindings from [zmqcpp](https://github.com/zeromq/cppzmq).
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
1. Copy this repository into the `Plugins` folder of your Unreal project.
|
||||||
|
2. Verify that the plugin is enabled in the plugin menu inside the Unreal Editor.
|
||||||
|
2. In your module's build file (`<your project name>.Build.cs`) add `ZeroMQ` to the module dependency list:
|
||||||
|
```c#
|
||||||
|
...
|
||||||
|
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "ZeroMQ" });
|
||||||
|
// add this! ^^^^^^^^
|
||||||
|
...
|
||||||
|
```
|
||||||
|
4. Test that it works!
|
||||||
|
```cpp
|
||||||
|
# include <zmq.hpp>
|
||||||
|
|
||||||
|
...
|
||||||
|
// place this somewhere it'll be run (e.g. BeginPlay() of your gamemode or similar)
|
||||||
|
int major, minor, patch;
|
||||||
|
zmq::version(&major, &minor, &patch);
|
||||||
|
UE_LOG(LogTemp, Log, TEXT("ZeroMQ version: v%d.%d.%d), major, minor, patch);
|
||||||
|
...
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
## Support
|
||||||
|
* Windows (x64 and x86)
|
||||||
|
* Linux (maybe...)
|
||||||
Reference in New Issue
Block a user