client
Vars | |
active_keybindings | The client's active keybindings, depending on their active mob. |
---|---|
admin_music_volume | Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT Admin music volume, from 0 to 1. |
byondacc_age | Days since the client's BYOND account was created |
byondacc_date | Date the client registered their BYOND account on |
completed_asset_jobs | List of all completed blocking send jobs awaiting acknowledgement by send_asset |
connection_time | world.time they connected |
cui_entries | List of the clients CUIs |
description_holders | Persistent storage for the flavour text of examined atoms. |
input_data | Input datum, what the client is pressing. |
jbh | The client's job ban holder |
last_asset_job | Last asset send job id |
last_discord_pm_time | Last world.time that a PM was send to discord by a player |
movement_kb_dirs | The client's movement keybindings to directions, which work regardless of modifiers. |
pai_save | Client's pAI save |
received_discord_pm | Last world/time that a PM was sent to the player by an admin |
recent_examines | A lazy list of atoms we've examined in the last RECENT_EXAMINE_MAX_WINDOW (default 2) seconds, so that we will call [/atom/proc/examine_more] instead of [/atom/proc/examine] on them when examining |
screen_maps | Assoc list with all the active maps - when a screen obj is added to a map, it's put in here as well. |
seen_messages | Messages currently seen by this client |
sent_assets | List of all asset filenames sent to this client by the asset cache, along with their assoicated md5s |
tgui_cache_reloaded | global |
tgui_panel | Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT |
tgui_windows | global |
topiclimiter | Used for limiting the rate of topic sends by the client to avoid abuse |
tos_consent | Has the client accepted the TOS about data collection and other stuff |
version_blocked | If true, client cannot ready up, late join, or observe. Used for players with EXTREMELY old byond versions. |
watchlisted | Is the client watchlisted |
Procs | |
Key_Down | This list defines the keys in legacy mode that get passed on to the rebindable input system It cannot be bigger since, while typing, the keys would be passed to whatever they are set in the rebind input system |
Process_Grab | Process_Grab() Called by client/Move() Checks to see if you are being grabbed and if so attemps to break it |
Process_Incorpmove | Process_Incorpmove Called by client/Move() Allows mobs to run though walls |
_Topic | dumb workaround because byond doesnt seem to recognize the Topic() typepath for /datum/proc/Topic() from the client Topic, so we cant queue it without this |
admin_change_title_screen | Enables an admin to upload a new titlescreen image. |
asset_cache_confirm_arrival | Process asset cache client topic calls for "asset_cache_confirm_arrival=[INT]" |
asset_cache_preload_data | Process asset cache client topic calls for "asset_cache_preload_data=[HTML+JSON_STRING] |
asset_cache_update_json | Updates the client side stored json file used to keep track of what assets the client has between restarts/reconnects. |
browse_queue_flush | Blocks until all currently sending browse and browse_rs assets have been sent. Due to byond limitations, this proc will sleep for 1 client round trip even if the client has no pending asset sends. This proc will return an untrue value if it had to return before confirming the send, such as timeout or the client going away. |
change_title_screen_html | An admin debug command that enables you to change the HTML on the go. |
change_title_screen_notice | Sets a titlescreen notice, a big red text on the main screen. |
clear_all_maps | Clears all the maps of registered screen objects. |
clear_map | Clears the map of registered screen objects. |
close_popup | Closes a popup. |
create_eventmob_for | WARNING!** The jobban stuff looks mangled and disgusting But it looks beautiful in-game -Nodrak **WARNING! |
create_popup | Creates a popup window with a basic map element in it, without any further initialization. |
display_job_bans | Lists all active jobbans for src client |
fix_tgui_panel | tgui panel / chat troubleshooting verb |
fix_title_screen | Reloads the titlescreen if it is bugged for someone. |
get_byond_account_date | Sets the clients BYOND date up properly |
handle_popup_close | When the popup closes in any way (player or proc call) it calls this. |
maxview | Returns the biggest number from client.view so we can do easier maths |
register_map_obj | Registers screen obj with the client, which makes it visible on the assigned map, and becomes a part of the assigned map's lifecycle. |
retrieve_byondacc_data | Retrieves the BYOND accounts data from the BYOND servers |
set_macros | This proc sets the built in BYOND macros for keypresses to pass inputs on to the rebindable input system or the legacy system If you plan on ripping out the legacy system, see the set_macros() proc at the following commit: https://github.com/S34NW/Paradise/commit/83a0a0b0c633807cc5a88a630f623cec24e16027 |
setup_popup | Create the popup, and get it ready for generic use by giving it a background. |
timer_log | Opens a log of timers |
uiclose | verb |
uid_log | Opens a log of UIDs |
Var Details
active_keybindings
The client's active keybindings, depending on their active mob.
admin_music_volume
Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT Admin music volume, from 0 to 1.
byondacc_age
Days since the client's BYOND account was created
byondacc_date
Date the client registered their BYOND account on
completed_asset_jobs
List of all completed blocking send jobs awaiting acknowledgement by send_asset
connection_time
world.time they connected
cui_entries
List of the clients CUIs
description_holders
Persistent storage for the flavour text of examined atoms.
input_data
Input datum, what the client is pressing.
jbh
The client's job ban holder
last_asset_job
Last asset send job id
last_discord_pm_time
Last world.time that a PM was send to discord by a player
movement_kb_dirs
The client's movement keybindings to directions, which work regardless of modifiers.
pai_save
Client's pAI save
received_discord_pm
Last world/time that a PM was sent to the player by an admin
recent_examines
A lazy list of atoms we've examined in the last RECENT_EXAMINE_MAX_WINDOW (default 2) seconds, so that we will call [/atom/proc/examine_more] instead of [/atom/proc/examine] on them when examining
screen_maps
Assoc list with all the active maps - when a screen obj is added to a map, it's put in here as well.
Format: list(
seen_messages
Messages currently seen by this client
sent_assets
List of all asset filenames sent to this client by the asset cache, along with their assoicated md5s
tgui_cache_reloaded
global
TRUE if cache was reloaded by tgui dev server at least once.
tgui_panel
Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT
tgui_windows
global
Tracks open windows for a user.
topiclimiter
Used for limiting the rate of topic sends by the client to avoid abuse
tos_consent
Has the client accepted the TOS about data collection and other stuff
version_blocked
If true, client cannot ready up, late join, or observe. Used for players with EXTREMELY old byond versions.
watchlisted
Is the client watchlisted
Proc Details
Key_Down
This list defines the keys in legacy mode that get passed on to the rebindable input system It cannot be bigger since, while typing, the keys would be passed to whatever they are set in the rebind input system
Process_Grab
Process_Grab() Called by client/Move() Checks to see if you are being grabbed and if so attemps to break it
Process_Incorpmove
Process_Incorpmove Called by client/Move() Allows mobs to run though walls
_Topic
dumb workaround because byond doesnt seem to recognize the Topic() typepath for /datum/proc/Topic() from the client Topic, so we cant queue it without this
admin_change_title_screen
Enables an admin to upload a new titlescreen image.
asset_cache_confirm_arrival
Process asset cache client topic calls for "asset_cache_confirm_arrival=[INT]"
asset_cache_preload_data
Process asset cache client topic calls for "asset_cache_preload_data=[HTML+JSON_STRING]
asset_cache_update_json
Updates the client side stored json file used to keep track of what assets the client has between restarts/reconnects.
browse_queue_flush
Blocks until all currently sending browse and browse_rs assets have been sent. Due to byond limitations, this proc will sleep for 1 client round trip even if the client has no pending asset sends. This proc will return an untrue value if it had to return before confirming the send, such as timeout or the client going away.
change_title_screen_html
An admin debug command that enables you to change the HTML on the go.
change_title_screen_notice
Sets a titlescreen notice, a big red text on the main screen.
clear_all_maps
Clears all the maps of registered screen objects.
clear_map
Clears the map of registered screen objects.
Not really needed most of the time, as the client's screen list gets reset on relog. any of the buttons are going to get caught by garbage collection anyway. they're effectively qdel'd.
close_popup
Closes a popup.
create_eventmob_for
WARNING!** The jobban stuff looks mangled and disgusting But it looks beautiful in-game -Nodrak **WARNING!
create_popup
Creates a popup window with a basic map element in it, without any further initialization.
Ratio is how many pixels by how many pixels (keep it simple).
Returns a map name.
display_job_bans
Lists all active jobbans for src client
from_client_connection - If true, user will not recieve any info in chat if they have no job bans, used when a player loads into to the lobby.
fix_tgui_panel
tgui panel / chat troubleshooting verb
fix_title_screen
Reloads the titlescreen if it is bugged for someone.
get_byond_account_date
Sets the clients BYOND date up properly
If the client does not have a saved BYOND account creation date, retrieve it from the website If they do have a saved date, use that from the DB, because this value will never change Arguments:
- notify - Do we notify admins of this new accounts date
handle_popup_close
When the popup closes in any way (player or proc call) it calls this.
maxview
Returns the biggest number from client.view so we can do easier maths
register_map_obj
Registers screen obj with the client, which makes it visible on the assigned map, and becomes a part of the assigned map's lifecycle.
retrieve_byondacc_data
Retrieves the BYOND accounts data from the BYOND servers
Makes a web request to byond.com to retrieve the details for the BYOND account associated with the clients ckey. Returns the data in a parsed, associative list
set_macros
This proc sets the built in BYOND macros for keypresses to pass inputs on to the rebindable input system or the legacy system If you plan on ripping out the legacy system, see the set_macros() proc at the following commit: https://github.com/S34NW/Paradise/commit/83a0a0b0c633807cc5a88a630f623cec24e16027
setup_popup
Create the popup, and get it ready for generic use by giving it a background.
Width and height are multiplied by 64 by default.
timer_log
Opens a log of timers
In-round ability to view what has created a timer, and how many times a timer for that path has been created
uiclose
verb
Called by UIs when they are closed. Must be a verb so winset() can call it.
required uiref ref The UI that was closed.
uid_log
Opens a log of UIDs
In-round ability to view what has created a UID, and how many times a UID for that path has been declared