Photon Fusion 2.0.4

Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
NetConnectionId Struct Reference

Represents a network connection ID. More...

Inherits IEquatable< NetConnectionId >.

Classes

class  EqualityComparer
 An equality comparer for NetConnectionId instances. More...
 

Public Member Functions

bool Equals (NetConnectionId other)
 Compares this NetConnectionId to another for equality. More...
 
override bool Equals (object obj)
 Compares this NetConnectionId to another for equality. More...
 
override int GetHashCode ()
 Get the hash code for this NetConnectionId. More...
 

Static Public Member Functions

static bool operator!= (NetConnectionId a, NetConnectionId b)
 Compares two NetConnectionId instances for inequality. More...
 
static bool operator== (NetConnectionId a, NetConnectionId b)
 Compares two NetConnectionId instances for equality. More...
 

Public Attributes

short Group
 The group of the connection. More...
 
short GroupIndex
 The index of the connection within the group. More...
 

Detailed Description

Represents a network connection ID.

Member Function Documentation

◆ Equals() [1/2]

bool Equals ( NetConnectionId  other)

Compares this NetConnectionId to another for equality.

◆ Equals() [2/2]

override bool Equals ( object  obj)

Compares this NetConnectionId to another for equality.

◆ GetHashCode()

override int GetHashCode ( )

Get the hash code for this NetConnectionId.

◆ operator!=()

static bool operator!= ( NetConnectionId  a,
NetConnectionId  b 
)
static

Compares two NetConnectionId instances for inequality.

◆ operator==()

static bool operator== ( NetConnectionId  a,
NetConnectionId  b 
)
static

Compares two NetConnectionId instances for equality.

Member Data Documentation

◆ Group

short Group

The group of the connection.

◆ GroupIndex

short GroupIndex

The index of the connection within the group.