Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SteelSeriesSecondaryDeviceByZone.cs
Go to the documentation of this file.
3using Newtonsoft.Json.Linq;
4using SteelSeries.GameSense;
5using SteelSeries.GameSense.DeviceZone;
6
8
10{
11 private string _zoneTarget;
12
13 private int _xPosition;
14
15 private int _yPosition;
16
18
20
22 : base(RgbDeviceVendor.SteelSeries, type, Fragment.FromGrid(new Rectangle(xPosition, yPosition, 1, 1)), colorProfile)
23 {
24 //IL_0014: Unknown result type (might be due to invalid IL or missing references)
26 base.PreferredLevelOfDetail = EffectDetailLevel.High;
29 }
30
31 public override void Present()
32 {
33 //IL_0002: Unknown result type (might be due to invalid IL or missing references)
34 //IL_0007: Unknown result type (might be due to invalid IL or missing references)
35 //IL_000a: Unknown result type (might be due to invalid IL or missing references)
36 //IL_0016: Unknown result type (might be due to invalid IL or missing references)
38 Color color = default(Color);
40 _colorKey.UpdateColor(color, isVisible: true);
41 }
42
53
55 {
57 {
58 AbstractHandler obj = bind_Event.handlers[0];
61 {
65 {
67 {
68 EventName = bind_Event.eventName,
69 TriggerName = contextColorEventHandlerType.ContextFrameKey
70 };
72 break;
73 }
74 }
75 }
76 }
77}
Vector4 GetProcessedLedColor(int index)
Definition RgbDevice.cs:37
void UpdateColor(Color color, bool isVisible)
Definition ColorKey.cs:22
SteelSeriesSecondaryDeviceByZone(DeviceColorProfile colorProfile, RgbDeviceType type, string zoneNameToCheck, int xPosition, int yPosition)
void CollectEventsToTrack(Bind_Event[] bindEvents, ARgbGameValueTracker[] miscEvents)