/* call-seq: * event_data.world_file=(String world_file) -> self * * This method makes it possible to set the worldfile. */ static VALUE generateWorldEventData_setWorldFile(VALUE self, VALUE worldFile) { bz_GenerateWorldEventData *eventData; Data_Get_Struct(self, bz_GenerateWorldEventData, eventData); eventData->worldFile = RSTRING(StringValue(worldFile))->ptr; return self; }