struct with constructors

Discussion and help for Easy Save 3
Post Reply
Gladyon
Posts: 30
Joined: Thu Sep 07, 2017 6:51 am

struct with constructors

Post 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.
User avatar
Joel
Moodkie Staff
Posts: 4824
Joined: Wed Nov 07, 2012 10:32 pm

Re: struct with constructors

Post 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
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Post Reply