Show / Hide Table of Contents

Class GameDevice

A class that implements the IGameDevice interface generically.

Inheritance
object
GameDevice
Implements
IGameDevice
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class GameDevice : IGameDevice

Constructors

View Source

GameDevice(IDevice)

Initializes a new instance of the GameDevice class.

Declaration
public GameDevice(IDevice device)
Parameters
Type Name Description
IDevice device

The IDevice to convert to a GameDevice.

See Also
IGameDevice

Properties

View Source

Alias

Gets or sets a user defined alias for the device.

Declaration
public string Alias { get; set; }
Property Value
Type Description
string
View Source

AttachedObjectModel

Gets or sets the game object model that is attached to this device.

Declaration
public object AttachedObjectModel { get; set; }
Property Value
Type Description
object
View Source

Configuration

Gets or sets the configuration string for this device.

Declaration
public string Configuration { get; set; }
Property Value
Type Description
string
View Source

DeviceImplementation

Gets the underlying device implementation.

Declaration
public object DeviceImplementation { get; }
Property Value
Type Description
object
View Source

DeviceTypeName

Gets the name of the device type.

Declaration
public string DeviceTypeName { get; }
Property Value
Type Description
string
View Source

DisplayName

Gets the display name for UI and logging. This is the Name if valid or the IPAddress.

Declaration
public string DisplayName { get; }
Property Value
Type Description
string
View Source

DisplayPrefix

Gets or sets the DisplayPrefix.

Declaration
public string DisplayPrefix { get; set; }
Property Value
Type Description
string
View Source

IPAddress

Gets the IPAddress of this device.

Declaration
public IPAddress IPAddress { get; }
Property Value
Type Description
IPAddress
View Source

Id

Gets the unique identifier of the device.

Declaration
public string Id { get; }
Property Value
Type Description
string
View Source

InfoString

Gets the info string.

Declaration
public string InfoString { get; }
Property Value
Type Description
string
View Source

Name

Gets or sets the name of this device.

Declaration
public string Name { get; set; }
Property Value
Type Description
string
View Source

PhoenixDevice

Gets the Phoenix IDevice this is based on.

Declaration
public IDevice PhoenixDevice { get; }
Property Value
Type Description
IDevice
View Source

XboxLiveDeviceId

Gets a value representing the XBL device ID.

Declaration
public string XboxLiveDeviceId { get; }
Property Value
Type Description
string

Methods

View Source

Cleanup()

Performs device cleanup

Declaration
public void Cleanup()
View Source

Equals(object)

Overrides the equals operator to compare whether two devices are the same.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj

The other device.

Returns
Type Description
bool

Whether the two devices are the same.

Overrides
object.Equals(object)
View Source

GetHashCode()

Overrides the GetHashCode() method.

Declaration
public override int GetHashCode()
Returns
Type Description
int

The hash code.

Overrides
object.GetHashCode()

Implements

IGameDevice
  • View Source
In this article
Back to top Generated by DocFX