public static AdminPlayerAlertActions Send(PlayerAlertActions actionRequested, string roundTimeOfIncident, uint perpId, string adminToken) { AdminPlayerAlertActions msg = new AdminPlayerAlertActions { ActionRequested = (int)actionRequested, RoundTimeOfIncident = roundTimeOfIncident, PerpNetID = perpId, AdminToken = adminToken }; msg.Send(); return(msg); }
public void TakenCareOf() { AdminPlayerAlertActions.Send(PlayerAlertActions.TakenCareOf, playerAlertData.roundTime, playerAlertData.playerNetId, PlayerList.Instance.AdminToken); takenCareOfButton.interactable = false; }