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

        msg.SendToAll();
        return(msg);
    }
コード例 #2
0
        public static NetMessage Send(Librarian.BookShelf _BookShelf)
        {
            NetMessage msg = new NetMessage()
            {
                BookShelf = VariableViewerNetworking.ProcessSUBBookShelf(_BookShelf)
            };

            SendToAll(msg);
            return(msg);
        }
コード例 #3
0
    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);
    }