public static BookNetMessage Send(Librarian.Book _book, GameObject ToWho) { BookNetMessage msg = new BookNetMessage { Book = VariableViewerNetworking.ProcessBook(_book) }; msg.SendTo(ToWho); return(msg); }
public static BookNetMessage Send(Librarian.Book _book) { BookNetMessage msg = new BookNetMessage { Book = VariableViewerNetworking.ProcessBook(_book) }; msg.SendToAll(); return(msg); }
public static NetMessage Send(Librarian.Book _book, GameObject ToWho) { NetMessage msg = new NetMessage { Book = VariableViewerNetworking.ProcessBook(_book) }; SendTo(ToWho, msg, Category.VariableViewer, 3); return(msg); }