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

Is there any option for mpu.exe to generate Serializers for inner class ? #56

Closed
shuidong opened this issue Dec 24, 2014 · 1 comment
Closed
Labels

Comments

@shuidong
Copy link

I am developing game for IOS, so I used mpu.exe to generate pre-serializer.
Usually, I used mpu like this(on mac):

mono mpu.exe -s ClassA.cs

For example, to ClassA like below:

public class ClassA {
        public int a = 0;

        public class ClassB{
                //...ryaku
        }
        //...
}

it will generate only one result file. (ClassASerializer.cs).
Sometimes I wanna generate ClassBSerializer.cs too(For inner class).
I type

mono mpu.exe -?

and it seems there is not related options.

Is there any option for mpu.exe to generate ClassBSerializer.cs (classB is inner class in classA) ?

Any help would be appreciated.
Thanks
shuidong

@yfakariya
Copy link
Member

It is supported now by default.

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

No branches or pull requests

2 participants