CollabVM 1.2 Protocol Reference: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
<tr><td>3</td><td>Sent if the client tried to start a vote, however there is an active cooldown. Only the time parameter is given.</td></tr>
</table>
=== turnTurn queue update ===
 
Indicates an update of the VM's turn queue
 
<table class="wikitable">
==== Parameters ====
<tr><td>Opcode</td><td><code>turn</code></td></tr>
 
'''Turn time''':<tr><td>Parameter 1</td><td>How much time is left on the current user's turn in milliseconds.</td></tr>
'''Queue count''':<tr><td>Parameter 2</td><td>The amount of users in the queue.</td></tr>
 
'''Queue''':<tr><td>Parameter 3-?</td><td>Each userusername in the queue given as separate parameters</td></tr>
'''Queue count''': The amount of users in the queue.
'''Waiting timer''':<tr><td>End parameter</td><td>How much longer until the client will get a turn in milliseconds. Only sent if the client is waiting.</td></tr>
 
</table>
'''Queue''': Each user in the queue given as separate parameters
 
'''Waiting timer''': How much longer until the client will get a turn in milliseconds. Only sent if the client is waiting.
 
== Client-to-Server Opcodes ==
 
TODO
 
 
== Rank ==

Navigation menu