/* call-seq: * player.player_id -> Fixnum * * This method returns the player id of the player. */ static VALUE playerRecord_getPlayerID(VALUE self) { bz_PlayerRecord *playerRecord; Data_Get_Struct(self, bz_PlayerRecord, playerRecord); return INT2FIX(playerRecord->playerID); }