Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mono] Make all structs serializable #31191

Merged
merged 1 commit into from
Aug 8, 2019

Conversation

aaronfranke
Copy link
Member

Give all structs the [Serializable] attribute, so they can be used with C# serialization. @neikeq

Also, it seems that [StructLayout(LayoutKind.Sequential)] was included occasionally but missing in some places without an apparent reason, so I've included it for every struct.

@neikeq neikeq added this to the 3.2 milestone Aug 8, 2019
@neikeq neikeq merged commit e37e71d into godotengine:master Aug 8, 2019
@neikeq
Copy link
Contributor

neikeq commented Aug 8, 2019

Thanks :)

@aaronfranke aaronfranke deleted the serializable branch August 8, 2019 04:19
aaronfranke added a commit to aaronfranke/godot that referenced this pull request Aug 19, 2019
@aaronfranke aaronfranke changed the title [Mono] Make all structs seralizable [Mono] Make all structs serializable Aug 20, 2019
@akien-mga
Copy link
Member

Already cherry-picked via #31493.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants