void RefreshPlayerList() { if (ServerData.UserID == null || PlayerList.Instance.AdminToken == null) { return; } RequestAdminPlayerList.Send(ServerData.UserID, PlayerList.Instance.AdminToken); }
public static RequestAdminPlayerList Send(string userId, string adminToken) { RequestAdminPlayerList msg = new RequestAdminPlayerList { Userid = userId, AdminToken = adminToken }; msg.Send(); return(msg); }
void RefreshPlayerList() { if (ServerData.UserID == null || (PlayerList.Instance.AdminToken == null && PlayerList.Instance.MentorToken == null)) { return; } string MentorOrAdminToken = PlayerList.Instance.MentorToken; if (MentorOrAdminToken == null) { MentorOrAdminToken = PlayerList.Instance.AdminToken; } RequestAdminPlayerList.Send(ServerData.UserID, MentorOrAdminToken); }
void RefreshPlayerList() { RequestAdminPlayerList.Send(ServerData.UserID, PlayerList.Instance.AdminToken); }
private void RefreshPlayerList() { RequestAdminPlayerList.Send(); }