/* call-seq: * player.bz_id -> String * * This method returns the bz id of the player */ static VALUE playerRecord_getBzID(VALUE self) { bz_PlayerRecord *playerRecord; Data_Get_Struct(self, bz_PlayerRecord, playerRecord); return rb_str_new2(playerRecord->bzID.c_str()); }