From 4860bc70d4416f3d8e47260cb3d67e83e3860e49 Mon Sep 17 00:00:00 2001 From: _Redstone_c_ <2824517378@qq.com> Date: Sun, 3 Jan 2021 21:20:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=87=BD=E6=95=B0=E6=9D=83?= =?UTF-8?q?=E9=99=90=E4=BF=AE=E9=A5=B0=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/RSHWNetwork/Public/RSHWNetworkClient.h | 4 ++-- Source/RSHWNetwork/Public/RSHWNetworkServer.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/RSHWNetwork/Public/RSHWNetworkClient.h b/Source/RSHWNetwork/Public/RSHWNetworkClient.h index f31e86b..4cf4a82 100644 --- a/Source/RSHWNetwork/Public/RSHWNetworkClient.h +++ b/Source/RSHWNetwork/Public/RSHWNetworkClient.h @@ -73,13 +73,13 @@ private: int32 UDPSend(const uint8* Data, int32 Count); -private: +public: //~ Begin UActorComponent Interface virtual void BeginPlay() override; virtual void EndPlay(const EEndPlayReason::Type EndPlayReason) override; virtual void TickComponent(float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override; - virtual void Activate(bool bReset) override; + virtual void Activate(bool bReset = false) override; virtual void Deactivate() override; //~ End UActorComponent Interface diff --git a/Source/RSHWNetwork/Public/RSHWNetworkServer.h b/Source/RSHWNetwork/Public/RSHWNetworkServer.h index 448d2b1..9e4afa3 100644 --- a/Source/RSHWNetwork/Public/RSHWNetworkServer.h +++ b/Source/RSHWNetwork/Public/RSHWNetworkServer.h @@ -85,13 +85,13 @@ private: int32 UDPSend(int32 ClientID, const uint8* Data, int32 Count); -private: +public: //~ Begin UActorComponent Interface virtual void BeginPlay() override; virtual void EndPlay(const EEndPlayReason::Type EndPlayReason) override; virtual void TickComponent(float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override; - virtual void Activate(bool bReset) override; + virtual void Activate(bool bReset = false) override; virtual void Deactivate() override; //~ End UActorComponent Interface