/* call-seq: * event_data.ip_address -> String * * Returns the ip address which got banned. */ static VALUE playerRecord_getIpAddress(VALUE self) { bz_PlayerRecord *playerRecord; Data_Get_Struct(self, bz_PlayerRecord, playerRecord); return rb_str_new2(playerRecord->ipAddress.c_str()); }