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);
        }
    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);
        }
    }
    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);
            }
        }
    }
    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);
 }
 public void Refresh()
 {
     OpenBookIDNetMessage.Send(CurrentlyOpenBook.ID);
 }