/* call-seq: * event_data.type=(String type) -> String * * Sets the type of the fired shot */ static VALUE shotFiredEventData_setType(VALUE self, VALUE type) { bz_ShotFiredEventData *eventData; Data_Get_Struct(self, bz_ShotFiredEventData, eventData); eventData->type = RSTRING(StringValue(type))->ptr; return self; }