Example #1
0
    public static SubBookshelfNetMessage Send(Librarian.BookShelf _BookShelf)
    {
        SubBookshelfNetMessage msg = new SubBookshelfNetMessage()
        {
            BookShelf = VariableViewerNetworking.ProcessSUBBookShelf(_BookShelf)
        };

        msg.SendToAll();
        return(msg);
    }
    public static SubBookshelfNetMessage Send(Librarian.BookShelf _BookShelf)
    {
        SubBookshelfNetMessage msg = new SubBookshelfNetMessage()
        {
            BookShelf = VariableViewerNetworking.ProcessSUBBookShelf(_BookShelf)
        };

        //VariableViewerNetworking.NetFriendlyBookShelf bookshedl = ;
        //Logger.Log(bookshedl.OBS.Length.ToString() + " << YY");
        //msg.BookShelf = bookshedl;
        //msg.data = JsonConvert.SerializeObject(bookshedl);

        //Logger.Log(msg.data);
        msg.SendToAll();
        return(msg);
    }