Class GameClientConnectionContext
A class containing information related to connecting a game client.
Inherited Members
Namespace: Microsoft.Internal.Studios.Aruba.Infrastructure
Assembly: Aruba.Infrastructure.dll
Syntax
public class GameClientConnectionContext
Remarks
For now this contains a Game Device, but more may be added in future.
Constructors
View SourceGameClientConnectionContext(IGameDevice)
A class containing information related to connecting a game client.
Declaration
public GameClientConnectionContext(IGameDevice gameDevice)
Parameters
Type | Name | Description |
---|---|---|
IGameDevice | gameDevice | The game device. |
Remarks
For now this contains a Game Device, but more may be added in future.
Properties
View SourceGameDevice
Gets or sets the Game Device.
Declaration
public IGameDevice GameDevice { get; set; }
Property Value
Type | Description |
---|---|
IGameDevice |
Remarks
This device should contain information such as IP Address and Device Type.
Methods
View SourceEquals(object)
Override the Equals operator. Comparing on IP Address.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare against. |
Returns
Type | Description |
---|---|
bool | Whether this and the given object are the same. |
Overrides
View SourceGetHashCode()
Override the Equals operator. Uses the IP Address's hash code.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | The hash code of the device's IP Address. |