mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
1 line
4.4 KiB
HTML
1 line
4.4 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/input_data - Space Station 13</title></head><body><header><a href="index.html">Space Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a> — <a href="datum/input_data.html#var">Var Details</a></header><main><h1>input_data <aside>/<a href="datum.html">datum</a>/<a href="datum/input_data.html">input_data</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/input_data.dm#L1"><img src="git.png" width="16" height="16" title="code/datums/input_data.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/input_data.html#var/desired_move_dir">desired_move_dir</a></th><td>Bitflags of the direction the client wishes to move. Updated instantaneously.</td></tr><tr><th><a href="datum/input_data.html#var/desired_move_dir_add">desired_move_dir_add</a></th><td>Bitflags of the buffered direction the client wishes to move. Reset on client/Move().</td></tr><tr><th><a href="datum/input_data.html#var/desired_move_dir_sub">desired_move_dir_sub</a></th><td>Bitflags of the buffered direction the client wishes not to move. Reset on client/Move().</td></tr><tr><th><a href="datum/input_data.html#var/key_combos_held">key_combos_held</a></th><td>Associative list of currently held key combos.</td></tr><tr><th><a href="datum/input_data.html#var/keys_held">keys_held</a></th><td>Associative list of currently held keys. Format: keys_held[key], associated value is world.time where key was pressed.</td></tr><tr><th><a href="datum/input_data.html#var/move_lock">move_lock</a></th><td>Whether the movement should be locked in place.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/desired_move_dir"><aside class="declaration">var </aside>desired_move_dir <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/input_data.dm#L8"><img src="git.png" width="16" height="16" title="code/datums/input_data.dm 8"></a></h3><p>Bitflags of the direction the client wishes to move. Updated instantaneously.</p><h3 id="var/desired_move_dir_add"><aside class="declaration">var </aside>desired_move_dir_add <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/input_data.dm#L10"><img src="git.png" width="16" height="16" title="code/datums/input_data.dm 10"></a></h3><p>Bitflags of the buffered direction the client wishes to move. Reset on client/Move().</p><h3 id="var/desired_move_dir_sub"><aside class="declaration">var </aside>desired_move_dir_sub <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/input_data.dm#L12"><img src="git.png" width="16" height="16" title="code/datums/input_data.dm 12"></a></h3><p>Bitflags of the buffered direction the client wishes not to move. Reset on client/Move().</p><h3 id="var/key_combos_held"><aside class="declaration">var </aside>key_combos_held <aside>– /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/input_data.dm#L5"><img src="git.png" width="16" height="16" title="code/datums/input_data.dm 5"></a></h3><p>Associative list of currently held key combos.</p><h3 id="var/keys_held"><aside class="declaration">var </aside>keys_held <aside>– /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/input_data.dm#L3"><img src="git.png" width="16" height="16" title="code/datums/input_data.dm 3"></a></h3><p>Associative list of currently held keys. Format: keys_held[key], associated value is world.time where key was pressed.</p><h3 id="var/move_lock"><aside class="declaration">var </aside>move_lock <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/input_data.dm#L14"><img src="git.png" width="16" height="16" title="code/datums/input_data.dm 14"></a></h3><p>Whether the movement should be locked in place.</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html> |