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

◆ GetBitmapRequestForFullKeyboard()

JObject ReLogic.Peripherals.RGB.SteelSeries.SteelSeriesKeyboard.GetBitmapRequestForFullKeyboard ( )
inlineprivate

Definition at line 89 of file SteelSeriesKeyboard.cs.

90 {
91 //IL_0000: Unknown result type (might be due to invalid IL or missing references)
92 //IL_0006: Expected O, but got Unknown
93 //IL_00d7: Unknown result type (might be due to invalid IL or missing references)
94 //IL_00dd: Expected O, but got Unknown
95 //IL_011e: Unknown result type (might be due to invalid IL or missing references)
96 //IL_0123: Unknown result type (might be due to invalid IL or missing references)
97 //IL_0138: Unknown result type (might be due to invalid IL or missing references)
98 //IL_0145: Expected O, but got Unknown
99 JObject jObject = new JObject();
100 jObject.Add("bitmap", JToken.FromObject((object)_keyboardKeyColors));
102 where x.IsVisible
103 select x.EventName).ToList();
105 where x.IsVisible
106 select x.EventName;
107 list.AddRange(collection);
108 jObject.Add("excluded-events", JToken.FromObject((object)list));
109 JObject jObject2 = new JObject();
110 jObject2.Add("frame", (JToken)(object)jObject);
111 jObject2.Add("value", JToken.op_Implicit(_timesSent));
112 _timesSent++;
113 if (_timesSent >= 100)
114 {
115 _timesSent = 1;
116 }
117 JObject val = new JObject();
118 val.Add("event", JToken.op_Implicit("DO_RAINBOWS"));
119 val.Add("data", (JToken)(object)jObject2);
120 return val;
121 }
void Add(TKey key, TValue value)

References ReLogic.Peripherals.RGB.SteelSeries.SteelSeriesKeyboard._keyboardKeyColors, ReLogic.Peripherals.RGB.SteelSeries.SteelSeriesKeyboard._keyboardTriggersForIteration, ReLogic.Peripherals.RGB.SteelSeries.SteelSeriesKeyboard._timesSent, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), and ReLogic.Peripherals.RGB.SteelSeries.SteelSeriesKeyboard.eventTrackers.

Referenced by ReLogic.Peripherals.RGB.SteelSeries.SteelSeriesKeyboard.TryGetEventUpdateRequest().