game-server.thrift 261 Bytes
Newer Older
1
2
include "common.thrift"

3
4
5
6
namespace java fr.univnantes.alma.thrift

struct JoinRequest {
    1: string name
7
8
9
10
}

service GameServerService {

11
    i32 createGame(i32 numberOfPlayers)
12

13
    i32 join(i32 gameId, JoinRequest request) throws (1:common.GameNotFound e)
14
}