/* call-seq: * player.current_flag -> String * * This method returns the current flag of the player. */ static VALUE playerRecord_getCurrentFlag(VALUE self) { bz_PlayerRecord *playerRecord; Data_Get_Struct(self, bz_PlayerRecord, playerRecord); return rb_str_new2(playerRecord->currentFlag.c_str()); }