/* call-seq: * player.global_user? -> true or false * * This method returns true if the player is a global user, else it * returns false */ static VALUE playerRecord_isGlobalUser(VALUE self) { bz_PlayerRecord *playerRecord; Data_Get_Struct(self, bz_PlayerRecord, playerRecord); if (playerRecord->globalUser) return Qtrue; return Qfalse; }