public static OpenBookIDNetMessage Send(ulong BookID) { OpenBookIDNetMessage msg = new OpenBookIDNetMessage(); msg.BookID = BookID; msg.Send(); return(msg); }
public void Refresh() { if (CurrentlyOpenBook == null) { return; } OpenBookIDNetMessage.Send(CurrentlyOpenBook.ID, ServerData.UserID, PlayerList.Instance.AdminToken); }
public void Refresh() { if (CurrentlyOpenBook == null) { return; } OpenBookIDNetMessage.Send(CurrentlyOpenBook.ID); }
public static OpenBookIDNetMessage Send(ulong BookID, string adminId, string adminToken) { OpenBookIDNetMessage msg = new OpenBookIDNetMessage(); msg.BookID = BookID; msg.AdminId = adminId; msg.AdminToken = adminToken; msg.Send(); return(msg); }
public void Previousbook() { int tint = HistoryLocation; if ((tint - 1) >= 0) { HistoryLocation = HistoryLocation - 1; NotModifyingHistory = true; OpenBookIDNetMessage.Send(History[HistoryLocation], ServerData.UserID, PlayerList.Instance.AdminToken); } }
public void Previousbook() { int tint = HistoryLocation; if ((tint - 1) >= 0) { HistoryLocation = HistoryLocation - 1; NotModifyingHistory = true; OpenBookIDNetMessage.Send(History[HistoryLocation]); } }
public void NextBook() { int tint = HistoryLocation; if ((tint + 1) <= History.Count) { HistoryLocation = HistoryLocation + 1; OpenBookIDNetMessage.Send(History[HistoryLocation], ServerData.UserID, PlayerList.Instance.AdminToken); NotModifyingHistory = true; if (HistoryLocation + 1 >= History.Count) { HistoryForward.SetActive(false); } } }
public void NextBook() { int tint = HistoryLocation; if ((tint + 1) <= History.Count) { HistoryLocation = HistoryLocation + 1; OpenBookIDNetMessage.Send(History[HistoryLocation]); NotModifyingHistory = true; if (HistoryLocation + 1 >= History.Count) { HistoryForward.SetActive(false); } } }
public void OpenSpecifiedBook() { OpenBookIDNetMessage.Send(_IDANName.ID, ServerData.UserID, PlayerList.Instance.AdminToken); }
public void OpenSpecifiedBook() { OpenBookIDNetMessage.Send(_IDANName.ID); }
public void Refresh() { OpenBookIDNetMessage.Send(CurrentlyOpenBook.ID); }