admin_book_viewer
Weaps around a book's sql data, feeds it into a ui that allows us to at base view the contents of the book
Vars | |
author | The display name for the book, taken from the player's character |
---|---|
author_ckey | The ckey of the user who triggered the upload request |
category | Category the book falls into, see SSlibrary.search_categories |
content | The full text of the book, stored raw |
creation_round | The round id the book was uploaded in |
creation_time | The time of day at which the book was uploaded |
deleted | Boolean, flips to true to "hide" a book from public viewing. Defaults to null |
history | Represents the full admin record of this book, as of the view request. Datumized to make it easier to deal with. |
id | The book id. Incremental, goes up over time |
owner_ref | Weakref to the /obj/machinery/computer/libraryconsole/admin_only_do_not_map_in_you_fucker that spawned us |
title | Title of the book |
view_raw | If we're displaying raw data or rendered markdown |
Var Details
author
The display name for the book, taken from the player's character
author_ckey
The ckey of the user who triggered the upload request
category
Category the book falls into, see SSlibrary.search_categories
content
The full text of the book, stored raw
creation_round
The round id the book was uploaded in
creation_time
The time of day at which the book was uploaded
deleted
Boolean, flips to true to "hide" a book from public viewing. Defaults to null
history
Represents the full admin record of this book, as of the view request. Datumized to make it easier to deal with.
id
The book id. Incremental, goes up over time
owner_ref
Weakref to the /obj/machinery/computer/libraryconsole/admin_only_do_not_map_in_you_fucker that spawned us
title
Title of the book
view_raw
If we're displaying raw data or rendered markdown