|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001068||OpenClonk||Engine - C4Script||public||2014-04-22 18:11||2014-04-22 18:12|
|Target Version||Fixed in Version|
|Summary||0001068: Player and Team proplists|
|Description||It would be really nice if players and teams were proplists instead of integers, so you don't have to create arrays every time you want to save something per player or per team.|
It would also allow many function names to be shorter, e.g. player->GetColor() instead of GetPlayerColor(player).
It's a relatively simple change, but a lot of work to do both in the engine and in scripts and documentation.
|Tags||No tags attached.|
|It would also effectively prevent scripters from making mistakes where they try to loop over player numbers instead of using the proper GetPlayerByIndex function.|
|2014-04-22 18:11||Sven2||New Issue|
|2014-04-22 18:12||Sven2||Note Added: 0003021|