Add explicit ctor to NetworkConnection
This commit is contained in:
@@ -9,4 +9,10 @@ API_STRUCT(Namespace="FlaxEngine.Networking") struct FLAXENGINE_API NetworkConne
|
||||
DECLARE_SCRIPTING_TYPE_MINIMAL(NetworkConnection);
|
||||
public:
|
||||
uint32 ConnectionId;
|
||||
|
||||
public:
|
||||
explicit NetworkConnection(const uint32 id)
|
||||
{
|
||||
ConnectionId = id;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user