/* call-seq: * event_data.shot_id -> Fixnum * * Returns the shot id of the ended shot */ static VALUE shotEndedEventData_getShotID(VALUE self) { bz_ShotEndedEventData *eventData; Data_Get_Struct(self, bz_ShotEndedEventData, eventData); return INT2FIX(eventData->shotID); }