ConvertPlayerColor

Parameters
iinteger

The integer representation of the playercolor.

comment

Returns the playercolor that corresponds to the given integer.

pure
This function is pure. For the same values passed to it, it will always return the same value.
patch

1.00

Source
common.j (raise an issue to discuss on Github or submit a PR)
return type
playercolor
Source code
constant native ConvertPlayerColor          takes integer i returns playercolor