Show / Hide Table of Contents

Class GameClientConnectionContext

A class containing information related to connecting a game client.

Inheritance
object
GameClientConnectionContext
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 Source

GameClientConnectionContext(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 Source

GameDevice

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 Source

Equals(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
object.Equals(object)
View Source

GetHashCode()

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.

Overrides
object.GetHashCode()
  • View Source
In this article
Back to top Generated by DocFX