// Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
===========================================================================*/
#include "UObject/GeneratedCppIncludes.h"
#include "ZWebSocketServer/Public/WebSocketServer.h"
PRAGMA_DISABLE_DEPRECATION_WARNINGS
void EmptyLinkFunctionForGeneratedCodeWebSocketServer() {}
// Cross Module References
ENGINE_API UClass* Z_Construct_UClass_AActor();
UPackage* Z_Construct_UPackage__Script_ZWebSocketServer();
ZWEBSOCKETSERVER_API UClass* Z_Construct_UClass_AWebSocketServer();
ZWEBSOCKETSERVER_API UClass* Z_Construct_UClass_AWebSocketServer_NoRegister();
// End Cross Module References
DEFINE_FUNCTION(AWebSocketServer::execIsRunning)
{
P_FINISH;
P_NATIVE_BEGIN;
*(bool*)Z_Param__Result=P_THIS->IsRunning();
P_NATIVE_END;
}
DEFINE_FUNCTION(AWebSocketServer::execSend)
{
P_GET_PROPERTY(FStrProperty,Z_Param_msg);
P_FINISH;
P_NATIVE_BEGIN;
P_THIS->Send(Z_Param_msg);
P_NATIVE_END;
}
DEFINE_FUNCTION(AWebSocketServer::execStop)
{
P_FINISH;
P_NATIVE_BEGIN;
P_THIS->Stop();
P_NATIVE_END;
}
DEFINE_FUNCTION(AWebSocketServer::execStart)
{
P_GET_PROPERTY(FIntProperty,Z_Param_Port);
P_FINISH;
P_NATIVE_BEGIN;
*(bool*)Z_Param__Result=P_THIS->Start(Z_Param_Port);
P_NATIVE_END;
}
struct WebSocketServer_eventOnH5MsgCallback_Parms
{
FString msg;
};
static FName NAME_AWebSocketServer_OnH5MsgCallback = FName(TEXT("OnH5MsgCallback"));
void AWebSocketServer::OnH5MsgCallback(const FString& msg)
{
WebSocketServer_eventOnH5MsgCallback_Parms Parms;
Parms.msg=msg;
ProcessEvent(FindFunctionChecked(NAME_AWebSocketServer_OnH5MsgCallback),&Parms);
}
void AWebSocketServer::StaticRegisterNativesAWebSocketServer()
{
UClass* Class = AWebSocketServer::StaticClass();
static const FNameNativePtrPair Funcs[] = {
{ "IsRunning", &AWebSocketServer::execIsRunning },
{ "Send", &AWebSocketServer::execSend },
{ "Start", &AWebSocketServer::execStart },
{ "Stop", &AWebSocketServer::execStop },
};
FNativeFunctionRegistrar::RegisterFunctions(Class, Funcs, UE_ARRAY_COUNT(Funcs));
}
struct Z_Construct_UFunction_AWebSocketServer_IsRunning_Statics
{
struct WebSocketServer_eventIsRunning_Parms
{
bool ReturnValue;
};
static void NewProp_ReturnValue_SetBit(void* Obj);
static const UECodeGen_Private::FBoolPropertyParams NewProp_ReturnValue;
static const UECodeGen_Private::FPropertyParamsBase* const PropPointers[];
#if WITH_METADATA
static const UECodeGen_Private::FMetaDataPairParam Function_MetaDataParams[];
#endif
static const UECodeGen_Private::FFunctionParams FuncParams;
};
void Z_Construct_UFunction_AWebSocketServer_IsRunning_Statics::NewProp_ReturnValue_SetBit(void* Obj)
{
((WebSocketServer_eventIsRunning_Parms*)Obj)->ReturnValue = 1;
}
const UECodeGen_Private::FBoolPropertyParams Z_Construct_UFunction_AWebSocketServer_IsRunning_Statics::NewProp_ReturnValue = { "ReturnValue", nullptr, (EPropertyFlags)0x0010000000000580, UECodeGen_Private::EPropertyGenFlags::Bool | UECodeGen_Private::EPropertyGenFlags::NativeBool, RF_Public|RF_Transient|RF_MarkAsNative, 1, nullptr, nullptr, sizeof(bool), sizeof(WebSocketServer_eventIsRunning_Parms), &Z_Construct_UFunction_AWebSocketServer_IsRunning_Statics::NewProp_ReturnValue_SetBit, METADATA_PARAMS(nullptr, 0) };
const UECodeGen_Private::FPropertyParamsBase* const Z_Construct_UFunction_AWebSocketServer_IsRunning_Statics::PropPointers[] = {
(const UECodeGen_Private::FPropertyParamsBase*)&Z_Construct_UFunction_AWebSocketServer_IsRunning_Statics::NewProp_ReturnValue,
};
#if WITH_METADATA
const UECodeGen_Private::FMetaDataPairParam Z_Construct_UFunction_AWebSocketServer_IsRunning_Statics::Function_MetaDataParams[] = {
{ "Category", "WebSocketServer" },
{ "Comment", "// \xe8\xbf\x94\xe5\x9b\x9e\xe6\x9c\x8d\xe5\x8a\xa1\xe5\x99\xa8\xe5\xbd\x93\xe5\x89\x8d\xe6\x98\xaf\xe5\x90\xa6\xe6\xad\xa3\xe5\x9c\xa8\xe8\xbf\x90\xe8\xa1\x8c\n// Returns whether the server is currently running\n" },
{ "ModuleRelativePath", "Public/WebSocketServer.h" },
{ "ToolTip", "\xe8\xbf\x94\xe5\x9b\x9e\xe6\x9c\x8d\xe5\x8a\xa1\xe5\x99\xa8\xe5\xbd\x93\xe5\x89\x8d\xe6\x98\xaf\xe5\x90\xa6\xe6\xad\xa3\xe5\x9c\xa8\xe8\xbf\x90\xe8\xa1\x8c\nReturns whether the server is currently running" },
};
#endif
const UECodeGen_Private::FFunctionParams Z_Construct_UFunction_AWebSocketServer_IsRunning_Statics::FuncParams = { (UObject*(*)())Z_Construct_UClass_AWebSocketServer, nullptr, "IsRunning", nullptr, nullptr, sizeof(Z_Construct_UFunction_AWebSocketServer_IsRunning_Statics::WebSocketServer_eventIsRunning_Parms), Z_Construct_UFunction_AWebSocketServer_IsRunning_Statics::PropPointers, UE_ARRAY_COUNT(Z_Construct_UFunction_AWebSocketServer_IsRunning_Statics::PropPointers), RF_Public|RF_Transient|RF_MarkAsNative, (EFunctionFlags)0x54020401, 0, 0, METADATA_PARAMS(Z_Construct_UFunction_AWebSocketServer_IsRunning_Statics::Function_MetaDataParams, UE_ARRAY_COUNT(Z_Construct_UFunction_AWebSocketServer_IsRunning_Statics::Function_MetaDataParams)) };
UFunction* Z_Construct_UFunction_AWebSocketServer_IsRunning()
{
static UFunction* ReturnFunction = nullptr;
if (!ReturnFunction)
{
UECodeGen_Private::ConstructUFunction(&ReturnFunction, Z_Construct_UFunction_AWebSocketServer_IsRunning_Statics::FuncParams);
}
return ReturnFunction;
}
struct Z_Construct_UFunction_AWebSocketServer_OnH5MsgCallback_Statics
{
#if WITH_METADATA
static const UECodeGen_Private::FMetaDataPairParam NewProp_msg_MetaData[];
#endif
static const UECodeGen_Private::FStrPropertyParams NewProp_msg;
static const UECodeGen_Private::FPropertyParamsBase* const PropPointers[];
#if WITH_METADATA
static const UECodeGen_Private::FMetaDataPairParam Function_MetaDataParams[];
#endif
static const UECodeGen_Private::FFunctionParams FuncParams;
};
#if WITH_METADATA
const UECodeGen_Private::FMetaDataPairParam Z_Construct_UFunction_AWebSocketServer_OnH5MsgCallback_Statics::NewProp_msg_MetaData[] = {
{ "NativeConst", "" },
};
#endif
const UECodeGen_Private::FStrPropertyParams Z_Construct_UFunction_AWebSocketServer_OnH5MsgCallback_Statics::NewProp_msg = { "msg", nullptr, (EPropertyFlags)0x0010000000000080, UECodeGen_Private::EPropertyGenFlags::Str, RF_Public|RF_Transient|RF_MarkAsNative, 1, nullptr, nullptr, STRUCT_OFFSET(WebSocketServer_eventOnH5MsgCallback_Parms, msg), METADATA_PARAMS(Z_Construct_UFunction_AWebSocketServer_OnH5MsgCallback_Statics::NewProp_msg_MetaData, UE_ARRAY_COUNT(Z_Construct_UFunction_AWebSocketServer_OnH5MsgCallback_Statics::NewProp_msg_MetaData)) };
const UECodeGen_Private::FPropertyParamsBase* const Z_Construct_UFunction_AWebSocketServer_OnH5MsgCallback_Statics::PropPointers[] = {
(const UECodeGen_Private::FPropertyParamsBase*)&Z_Construct_UFunction_AWebSocketServer_OnH5MsgCallback_Statics::NewProp_msg,
};
#if WITH_METADATA
const UECodeGen_Private::FMetaDataPairParam Z_Construct_UFunction_AWebSocketServer_OnH5MsgCallback_Statics::Function_MetaDataParams[] = {
{ "Category", "WebSocketServer" },
{ "Comment", "// web\xe5\xae\xa2\xe6\x88\xb7\xe7\xab\xaf\xe4\xbf\xa1\xe6\x81\xaf\xe5\x9b\x9e\xe8\xb0\x83\n// web client message callback\n" },
{ "ModuleRelativePath", "Public/WebSocketServer.h" },
{ "ToolTip", "web\xe5\xae\xa2\xe6\x88\xb7\xe7\xab\xaf\xe4\xbf\xa1\xe6\x81\xaf\xe5\x9b\x9e\xe8\xb0\x83\nweb client message callback" },
};
#endif
const UECodeGen_Private::FFunctionParams Z_Construct_UFunction_AWebSocketServer_OnH5MsgCallback_Statics::FuncParams = { (UObject*(*)())Z_Construct_UClass_AWebSocketServer, nullptr, "OnH5MsgCallback", nullptr, nullptr, sizeof(WebSocketServer_eventOnH5MsgCallback_Parms), Z_Construct_UFunction_AWeb
没有合适的资源?快使用搜索试试~ 我知道了~
unreal 5.2.x websocket server 自制插件
共27个文件
h:6个
cpp:6个
timestamp:2个
4星 · 超过85%的资源 需积分: 1 4 下载量 59 浏览量
2023-09-08
18:05:57
上传
评论
收藏 22.32MB ZIP 举报
温馨提示
使用说明 https://blog.csdn.net/ljason1993/article/details/123031678 会编译的去我github自己冲 https://github.com/ljason1993/WebSocketServer-unreal
资源推荐
资源详情
资源评论
收起资源包目录
ZWebSocketServer521.zip (27个子文件)
ZWebSocketServer
ZWebSocketServer.uplugin 699B
Source
ZWebSocketServer
Private
ZWebSocketServer.cpp 647B
WebSocketServer.cpp 4KB
Public
WebSocketServer.h 4KB
ZWebSocketServer.h 333B
ZWebSocketServer.Build.cs 747B
Intermediate
Build
Win64
UnrealGame
Development
ZWebSocketServer
ZWebSocketServer.precompiled 124B
Shipping
ZWebSocketServer
ZWebSocketServer.precompiled 121B
Inc
ZWebSocketServer
UHT
WebSocketServer.generated.h 7KB
WebSocketServer.gen.cpp 21KB
ZWebSocketServerClasses.h 353B
Timestamp 133B
ZWebSocketServer.init.gen.cpp 1KB
x64
UnrealGame
Development
ZWebSocketServer
Module.ZWebSocketServer.cpp.obj 27.08MB
Shipping
ZWebSocketServer
Module.ZWebSocketServer.cpp.obj 25.98MB
UnrealEditor
Development
ZWebSocketServer
UnrealEditor-ZWebSocketServer.lib 17KB
UnrealEditor
Inc
ZWebSocketServer
UHT
WebSocketServer.generated.h 7KB
WebSocketServer.gen.cpp 21KB
ZWebSocketServerClasses.h 353B
Timestamp 133B
ZWebSocketServer.init.gen.cpp 1KB
Resources
Icon128.png 5KB
Content
Blueprint
ZBPCPP_WebSocketServer.uasset 22KB
Level
Example.umap 59KB
Binaries
Win64
UnrealEditor.modules 110B
UnrealEditor-ZWebSocketServer.pdb 48.39MB
UnrealEditor-ZWebSocketServer.dll 109KB
共 27 条
- 1
资源评论
- の狮子歌歌の2023-10-20把插件放置在项目下 编辑器模式下,插件功能运行一切正常 但是在打包成功后,双击运行项目,什么事情都没有发生,没有提示任何错误,就是双击exe后,没有任何反应。 是我错过了什么操作吗? 我尝试不安装插件,打包后,正常运行 我尝试安装插件,空项目,不写任何逻辑,打包成功后运行,电脑没有任何反应和报错 请问我这是什么原因呢
懵懵爸爸
- 粉丝: 119
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功