isPlayer

Checks whether or not the given symbol is of a connected player class.

enum isPlayer (
T
)

Return Value

true if the given symbol is or extends Player and not Puppet

Examples

assert(isPlayer!Player);
assert(!isPlayer!Puppet);
assert(isPlayer!PocketPlayerBase);
assert(isPlayer!(MinecraftPlayer!210));
assert(!isPlayer!(Projection!Puppet));

Meta