/* call-seq: * event_data.explode? -> true or false * * Returns true if the ended shot is exploded, false when not. */ static VALUE shotEndedEventData_isExplode(VALUE self) { bz_ShotEndedEventData *eventData; Data_Get_Struct(self, bz_ShotEndedEventData, eventData); if (eventData->explode) return Qtrue; return Qfalse; }