PlayerSession.type

Gets the game type as an unsigned byte identifier. The types are indicated in module sel.server.client, in the Client's class.

class PlayerSession
final shared nothrow @property @safe @nogc
ubyte
type
()

Examples

import sel.hncom.about;

if(player.type == Client.JAVA) {
   log(player.username, " is on Java Edition");
}

Meta