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