public static OpenBookIDNetMessage Send(ulong BookID)
    {
        OpenBookIDNetMessage msg = new OpenBookIDNetMessage();

        msg.BookID = BookID;
        msg.Send();
        return(msg);
    }
Пример #2
0
    public void Refresh()
    {
        if (CurrentlyOpenBook == null)
        {
            return;
        }

        OpenBookIDNetMessage.Send(CurrentlyOpenBook.ID, ServerData.UserID, PlayerList.Instance.AdminToken);
    }
Пример #3
0
        public void Refresh()
        {
            if (CurrentlyOpenBook == null)
            {
                return;
            }

            OpenBookIDNetMessage.Send(CurrentlyOpenBook.ID);
        }
Пример #4
0
    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);
    }
Пример #5
0
    public void Previousbook()
    {
        int tint = HistoryLocation;

        if ((tint - 1) >= 0)
        {
            HistoryLocation     = HistoryLocation - 1;
            NotModifyingHistory = true;
            OpenBookIDNetMessage.Send(History[HistoryLocation], ServerData.UserID, PlayerList.Instance.AdminToken);
        }
    }
Пример #6
0
    public void Previousbook()
    {
        int tint = HistoryLocation;

        if ((tint - 1) >= 0)
        {
            HistoryLocation     = HistoryLocation - 1;
            NotModifyingHistory = true;
            OpenBookIDNetMessage.Send(History[HistoryLocation]);
        }
    }
Пример #7
0
    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);
            }
        }
    }
Пример #8
0
    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);
            }
        }
    }
Пример #9
0
 public void OpenSpecifiedBook()
 {
     OpenBookIDNetMessage.Send(_IDANName.ID, ServerData.UserID, PlayerList.Instance.AdminToken);
 }
Пример #10
0
 public void OpenSpecifiedBook()
 {
     OpenBookIDNetMessage.Send(_IDANName.ID);
 }
Пример #11
0
 public void Refresh()
 {
     OpenBookIDNetMessage.Send(CurrentlyOpenBook.ID);
 }