Ejemplo n.º 1
0
    public static OpenBookIDNetMessage Send(ulong BookID)
    {
        OpenBookIDNetMessage msg = new OpenBookIDNetMessage();

        msg.BookID = BookID;
        msg.Send();
        return(msg);
    }
Ejemplo n.º 2
0
    public void Refresh()
    {
        if (CurrentlyOpenBook == null)
        {
            return;
        }

        OpenBookIDNetMessage.Send(CurrentlyOpenBook.ID, ServerData.UserID, PlayerList.Instance.AdminToken);
    }
Ejemplo n.º 3
0
        public void Refresh()
        {
            if (CurrentlyOpenBook == null)
            {
                return;
            }

            OpenBookIDNetMessage.Send(CurrentlyOpenBook.ID);
        }
Ejemplo n.º 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);
    }
Ejemplo n.º 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);
        }
    }
Ejemplo n.º 6
0
    public void Previousbook()
    {
        int tint = HistoryLocation;

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