Refactor INetworkDriver::PopEvent to use network event as output parameter rather than raw pointer
#1992
This commit is contained in:
@@ -10,13 +10,19 @@
|
||||
API_STRUCT(Namespace="FlaxEngine.Networking") struct FLAXENGINE_API NetworkConnection
|
||||
{
|
||||
DECLARE_SCRIPTING_TYPE_MINIMAL(NetworkConnection);
|
||||
|
||||
public:
|
||||
/// <summary>
|
||||
/// The identifier of the connection.
|
||||
/// </summary>
|
||||
/// <remarks>Used by network driver implementations.</remarks>
|
||||
API_FIELD()
|
||||
uint32 ConnectionId;
|
||||
API_FIELD() uint32 ConnectionId;
|
||||
};
|
||||
|
||||
template<>
|
||||
struct TIsPODType<NetworkConnection>
|
||||
{
|
||||
enum { Value = true };
|
||||
};
|
||||
|
||||
inline bool operator==(const NetworkConnection& a, const NetworkConnection& b)
|
||||
|
||||
Reference in New Issue
Block a user