Skip to content

Commit

Permalink
add missing enum changes
Browse files Browse the repository at this point in the history
  • Loading branch information
getnamo committed Nov 27, 2016
1 parent 9eb5b74 commit 00fe651
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/SocketIOClient/Public/SocketIOClientComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "SocketIOClientComponent.generated.h"

UENUM(BlueprintType)
enum EMessageTypeFlag
enum ESIOMessageTypeFlag
{
FLAG_INTEGER,
FLAG_DOUBLE,
Expand All @@ -27,14 +27,14 @@ struct FSIOMessage
GENERATED_USTRUCT_BODY()

UPROPERTY(BlueprintReadWrite, Category = "SocketIO Message Properties")
TEnumAsByte<EMessageTypeFlag> MessageFlag;
TEnumAsByte<ESIOMessageTypeFlag> MessageFlag;

//Internal UE storage
FJsonObject Object;
};

UENUM(BlueprintType)
enum EConnectionCloseReason
enum ESIOConnectionCloseReason
{
CLOSE_REASON_NORMAL,
CLOSE_REASON_DROP
Expand All @@ -43,7 +43,7 @@ enum EConnectionCloseReason
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FSIOCEventSignature);
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FSIOCSocketEventSignature, FString, Namespace);
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FSIOCOpenEventSignature, FString, SessionId);
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FSIOCCloseEventSignature, TEnumAsByte<EConnectionCloseReason>, Reason);
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FSIOCCloseEventSignature, TEnumAsByte<ESIOConnectionCloseReason>, Reason);
DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FSIOCEventJsonSignature, FString, Event, class USIOJsonValue*, MessageJson);

UCLASS(ClassGroup = "Networking", meta = (BlueprintSpawnableComponent))
Expand Down

0 comments on commit 00fe651

Please sign in to comment.