Skip to main content
Version: 2.x

FOdinSocketInfo

Declaration
USTRUCT(BlueprintType)
struct ODIN_API FOdinSocketInfo
  • Header: #include "OdinNative/OdinNativeBlueprint.h"
  • Module: Odin
  • Blueprint: Blueprint type · Blueprint reference

Fields​

NameTypeDefaultDescription
RoomTWeakObjectPtr<UOdinRoom>Odin Room
KindEOdinSocketKindSocket type
IsInboundboolfalseSocket remote flag Only true if the socket was received by the on_socket event and never created local
RemotePeerIdint640Socket target peer id
Labelint320Socket name
Priorityint320Packet priority by value where 0 is default. Higher is more priority and lower is less Note: Setting this value to high can impact voice quality.
UnsentBytesint640Is always 0 on unreliable or all data was sent on reliable

Constructors​

FOdinSocketInfo() = default;

Inline

FOdinSocketInfo(OdinSocketInfo info);
ParameterTypeDescription
infoOdinSocketInfo

Functions​

SetInfo​

Inline

FOdinSocketInfo* SetInfo(OdinSocketInfo* info);
ParameterTypeDescription
infoOdinSocketInfo*

Returns FOdinSocketInfo*