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

Add method for getting type of var from serializer #5070

Merged
merged 1 commit into from
May 6, 2024

Conversation

amylizzle
Copy link
Contributor

OpenDream is abusing the serializer to do DMF parsing, and as a result of OpenDreamProject/OpenDream#1757 I need to know the subtype of the vars at runtime.

This PR adds a function on the SerializationManager which gets the Type of a variable on another Type by it's DataField tag.

Copy link
Member

@DrSmugleaf DrSmugleaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PJB3005 PJB3005 merged commit ccbb6dd into space-wizards:master May 6, 2024
1 of 4 checks passed
@amylizzle amylizzle deleted the SerializerGetType branch May 6, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants