/* call-seq: * event_data.time -> Float * * This method returns the time when the player typed in the command. */ static VALUE unknownSlashCommandEventData_getTime(VALUE self) { bz_UnknownSlashCommandEventData *eventData; Data_Get_Struct(self, bz_UnknownSlashCommandEventData, eventData); return rb_float_new(eventData->time); }