Page 1 of 1

struct with constructors

Posted: Mon Sep 18, 2017 11:55 am
by Gladyon
I am trying to use a struct with a constructor, and it doesn't seem to work.
The 'Easy Save Window' is indicating me that the type has no parameterless constructor.

The thing is that all struct have the default parameterless constructor, so it should work.


[edit]
It's my fault, sorry.
I used properties in the struct instead of having public fields.

That said, it would be less misleading if the message about the parameterless constructor were fixed.

Re: struct with constructors

Posted: Mon Sep 18, 2017 12:26 pm
by Joel
Hi there,

We've not yet added the the functionality for structs in the Types pane. This is because structs are automatically supported without having to add an ES3Type, so it's low priority. However, the specific cases for structs will be added to the Types pane in the near future.

All the best,
Joel