/* call-seq: * event_data.from -> Fixnum * * This method returns the player id who invoked the slash command. */ static VALUE slashCommandEventData_getFrom(VALUE self) { bz_SlashCommandEventData *eventData; Data_Get_Struct(self, bz_SlashCommandEventData, eventData); return INT2FIX(eventData->from); }