Exemplo n.º 1
0
    public new MSBS.Part.Enemy Serialize(GameObject parent)
    {
        var part = new MSBS.Part.Enemy();

        _Serialize(part, parent);
        part.Unk5         = Unk5.Serialize();
        part.ThinkParamID = ThinkParamID;
        part.NPCParamID   = NPCParamID;
        part.TalkParamID  = TalkParamID;
        part.ChrManipulatorAllocationParameter = ChrManipulatorAllocationParameter;
        part.CharaInitID           = CharaInitID;
        part.CollisionPartName     = CollisionPartName;
        part.UnkT20                = UnkT20;
        part.UnkT22                = UnkT22;
        part.UnkT24                = UnkT24;
        part.BackupEventAnimID     = BackupEventAnimID;
        part.EventFlagID           = EventFlagID;
        part.EventFlagCompareState = EventFlagCompareState;
        part.UnkT48                = UnkT48;
        part.UnkT4C                = UnkT4C;
        part.UnkT50                = UnkT50;
        part.UnkT78                = UnkT78;
        part.UnkT84                = UnkT84;
        part.Unk1 = Unk1.Serialize();
        return(part);
    }
Exemplo n.º 2
0
    public new MSBS.Part.Object Serialize(GameObject parent)
    {
        var part = new MSBS.Part.Object();

        _Serialize(part, parent);
        part.Unk5 = Unk5.Serialize();
        part.CollisionPartName1            = CollisionPartName1;
        part.UnkT0C                        = UnkT0C;
        part.EnableObjAnimNetSyncStructure = EnableObjAnimNetSyncStructure;
        part.UnkT0E                        = UnkT0E;
        part.SetMainObjStructureBooleans   = SetMainObjStructureBooleans;
        part.AnimID                        = AnimID;
        part.UnkT18                        = UnkT18;
        part.UnkT1A                        = UnkT1A;
        part.UnkT20                        = UnkT20;
        part.CollisionPartName2            = CollisionPartName2;
        part.Unk1 = Unk1.Serialize();
        return(part);
    }