Class BugDevicesChangedEventArgs
A class representing the values sent for a BugDevicesChangedEvent.
Inherited Members
Namespace: Phoenix.Aruba.Events
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class BugDevicesChangedEventArgs
Remarks
Initializes a new instance of the BugDevicesChangedEventArgs class.
Constructors
View SourceBugDevicesChangedEventArgs(Guid, List<Tuple<IGameDevice, int>>, List<Tuple<IGameDevice, int>>, bool, bool)
A class representing the values sent for a BugDevicesChangedEvent.
Declaration
public BugDevicesChangedEventArgs(Guid bugResolveGuid, List<Tuple<IGameDevice, int>> addedDevices, List<Tuple<IGameDevice, int>> removedDevices, bool deviceListWasEmpty, bool deviceListIsEmpty)
Parameters
Type | Name | Description |
---|---|---|
Guid | bugResolveGuid | The id of the bug whose devices changed. |
List<Tuple<IGameDevice, int>> | addedDevices | The devices that were added. |
List<Tuple<IGameDevice, int>> | removedDevices | The devices that were removed. |
bool | deviceListWasEmpty | Whether the device list was empty before the change occurred. |
bool | deviceListIsEmpty | Whether the device list is empty now that the change occurred. |
Remarks
Initializes a new instance of the BugDevicesChangedEventArgs class.
Properties
View SourceAddedDevices
Gets the list of added devices and the index they are in in the device list.
Declaration
public List<Tuple<IGameDevice, int>> AddedDevices { get; }
Property Value
Type | Description |
---|---|
List<Tuple<IGameDevice, int>> |
BugResolveGuid
Gets the id of the bug whose devices changed.
Declaration
public Guid BugResolveGuid { get; }
Property Value
Type | Description |
---|---|
Guid |
DeviceListIsEmpty
Gets a value indicating whether the device list is empty now that the change occurred.
Declaration
public bool DeviceListIsEmpty { get; }
Property Value
Type | Description |
---|---|
bool |
DeviceListWasEmpty
Gets a value indicating whether the device list was empty before the change occurred.
Declaration
public bool DeviceListWasEmpty { get; }
Property Value
Type | Description |
---|---|
bool |
DevicesAdded
Gets a value indicating whether devices were added to the bug.
Declaration
public bool DevicesAdded { get; }
Property Value
Type | Description |
---|---|
bool |
DevicesRemoved
Gets a value indicating whether devices were removed from the bug.
Declaration
public bool DevicesRemoved { get; }
Property Value
Type | Description |
---|---|
bool |
RemovedDevices
Gets the list of removed devices and the index they were at in the device list.
Declaration
public List<Tuple<IGameDevice, int>> RemovedDevices { get; }
Property Value
Type | Description |
---|---|
List<Tuple<IGameDevice, int>> |