mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
new protocol code
This commit is contained in:
parent
ba8d40211c
commit
888a64b0fd
25 changed files with 487 additions and 333 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue