new protocol code

This commit is contained in:
Max-Wilhelm Bruker 2010-02-26 17:28:02 +01:00
parent ba8d40211c
commit 888a64b0fd
25 changed files with 487 additions and 333 deletions

View file

@ -49,9 +49,9 @@ while (<file>) {
$type = 'game_event';
$namePrefix = 'Event';
$baseClass = 'GameEvent';
$parentConstructorCall = "$baseClass(\"$name1\", _gameId, _playerId)";
$constructorParamsH = "int _gameId = -1, int _playerId = -1";
$constructorParamsCpp = "int _gameId, int _playerId";
$parentConstructorCall = "$baseClass(\"$name1\", _playerId)";
$constructorParamsH = "int _playerId = -1";
$constructorParamsCpp = "int _playerId";
} elsif ($type == 4) {
$type = 'generic_event';
$namePrefix = 'Event';