/* call-seq: * event_data.shot_id -> Fixnum * * Returns the shotid of the shot that made the kill. */ static VALUE playerDieEventData_getShotID(VALUE self) { bz_PlayerDieEventData *eventData; Data_Get_Struct(self, bz_PlayerDieEventData, eventData); return INT2FIX(eventData->shotID); }