mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 10:56:53 -05:00
f56d01419f
-Non-creator will switch teams upon joining a sync pvp game, if creator is on same team -Team swapping should only affect level session -Real-time multiplayer submit now reloads PlayLevelView to ease loading both player’s latest level sessions, and then automatically starts real-time playback.
21 lines
921 B
CoffeeScript
21 lines
921 B
CoffeeScript
c = require 'schemas/schemas'
|
|
|
|
module.exports =
|
|
'real-time-multiplayer:created-game': c.object {title: 'Multiplayer created game', required: ['realTimeSessionID']},
|
|
realTimeSessionID: {type: 'string'}
|
|
|
|
'real-time-multiplayer:joined-game': c.object {title: 'Multiplayer joined game', required: ['realTimeSessionID']},
|
|
realTimeSessionID: {type: 'string'}
|
|
|
|
'real-time-multiplayer:left-game': c.object {title: 'Multiplayer left game'},
|
|
userID: {type: 'string'}
|
|
|
|
'real-time-multiplayer:manual-cast': c.object {title: 'Multiplayer manual cast'}
|
|
|
|
'real-time-multiplayer:new-opponent-code': c.object {title: 'Multiplayer new opponent code', required: ['code', 'codeLanguage']},
|
|
code: {type: 'object'}
|
|
codeLanguage: {type: 'string'}
|
|
team: {type: 'string'}
|
|
|
|
'real-time-multiplayer:player-status': c.object {title: 'Multiplayer player status', required: ['status']},
|
|
status: {type: 'string'}
|