/* call-seq: * event_data.from -> Fixnum * * This method returns the player id of the player who send the * message. */ static VALUE chatEventData_getFrom(VALUE self) { bz_ChatEventData *eventData; Data_Get_Struct(self, bz_ChatEventData, eventData); return INT2FIX(eventData->from); }