Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SteelSeriesDeviceGroup()

ReLogic.Peripherals.RGB.SteelSeries.SteelSeriesDeviceGroup.SteelSeriesDeviceGroup ( VendorColorProfile colorProfiles,
string gameNameIdInAllCaps,
string gameDisplayName,
IconColor iconColor )
inline

Definition at line 45 of file SteelSeriesDeviceGroup.cs.

46 {
47 //IL_002f: Unknown result type (might be due to invalid IL or missing references)
48 //IL_0034: Unknown result type (might be due to invalid IL or missing references)
49 //IL_003b: Unknown result type (might be due to invalid IL or missing references)
50 //IL_0042: Unknown result type (might be due to invalid IL or missing references)
51 //IL_004e: Expected O, but got Unknown
52 //IL_006e: Unknown result type (might be due to invalid IL or missing references)
53 //IL_0070: Unknown result type (might be due to invalid IL or missing references)
54 _gameSenseConnection = new GameSenseConnection
55 {
56 GameName = gameNameIdInAllCaps,
57 GameDisplayName = gameDisplayName,
58 IconColor = iconColor
59 };
61 GameSenseConnection gameSenseConnection = _gameSenseConnection;
62 gameSenseConnection.OnConnectionBecameActive = (GameSenseConnection.ClientStateEvent)Delegate.Combine(gameSenseConnection.OnConnectionBecameActive, new GameSenseConnection.ClientStateEvent(_gameSenseConnection_OnConnectionBecameActive));
63 GameSenseConnection gameSenseConnection2 = _gameSenseConnection;
64 gameSenseConnection2.OnConnectionBecameInactive = (GameSenseConnection.ClientStateEvent)Delegate.Combine(gameSenseConnection2.OnConnectionBecameInactive, new GameSenseConnection.ClientStateEvent(_gameSenseConnection_OnConnectionBecameInactive));
66 }
static ? Delegate Combine(Delegate? a, Delegate? b)
Definition Delegate.cs:379

References ReLogic.Peripherals.RGB.SteelSeries.SteelSeriesDeviceGroup._colorProfiles, ReLogic.Peripherals.RGB.SteelSeries.SteelSeriesDeviceGroup._gameSenseConnection, ReLogic.Peripherals.RGB.SteelSeries.SteelSeriesDeviceGroup._gameSenseConnection_OnConnectionBecameActive(), ReLogic.Peripherals.RGB.SteelSeries.SteelSeriesDeviceGroup._gameSenseConnection_OnConnectionBecameInactive(), ReLogic.Peripherals.RGB.SteelSeries.GameSenseConnection.ClientStateEvent(), System.Delegate.Combine(), and ReLogic.Peripherals.RGB.SteelSeries.GameSenseConnection.SetEvents().