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

◆ SendEvent() [2/2]

void ReLogic.Peripherals.RGB.SteelSeries.GameSenseConnection.SendEvent ( string upperCaseEventName,
int value )
inline

Definition at line 504 of file GameSenseConnection.cs.

505 {
506 //IL_0008: Unknown result type (might be due to invalid IL or missing references)
507 //IL_000e: Expected O, but got Unknown
508 //IL_002d: Unknown result type (might be due to invalid IL or missing references)
509 //IL_0033: Expected O, but got Unknown
510 if (_isClientActive())
511 {
512 Send_Event send_Event = new Send_Event();
513 send_Event.game = GameName;
514 send_Event.event_name = upperCaseEventName;
515 send_Event.data.value = value;
516 QueueMsgSendEvent queueMsgSendEvent = new QueueMsgSendEvent();
517 ((QueueMsg)queueMsgSendEvent).data = send_Event;
518 _mMsgQueue.PEnqueue((QueueMsg)(object)queueMsgSendEvent);
519 }
520 }

References ReLogic.Peripherals.RGB.SteelSeries.GameSenseConnection._isClientActive(), ReLogic.Peripherals.RGB.SteelSeries.GameSenseConnection._mMsgQueue, ReLogic.Peripherals.RGB.SteelSeries.GameSenseConnection.GameName, and System.value.