예제 #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);
    }
예제 #2
0
    public MSBS.Part.Collision Serialize(GameObject parent)
    {
        var part = new MSBS.Part.Collision();

        _Serialize(part, parent);
        part.Unk1                   = Unk1.Serialize();
        part.Unk2                   = Unk2.Serialize();
        part.Unk5                   = Unk5.Serialize();
        part.Unk6                   = new MSBS.Part.UnkStruct6();
        part.Unk6.Unk3C             = Unk3C;
        part.Unk6.Unk40             = Unk40;
        part.HitFilterID            = HitFilterID;
        part.SoundSpaceType         = SoundSpaceType;
        part.ReflectPlaneHeight     = ReflectPlaneHeight;
        part.MapNameID              = MapNameID;
        part.DisableStart           = DisableStart;
        part.UnkT17                 = UnkT17;
        part.DisableBonfireEntityID = DisableBonfireEntityID;
        part.UnkT24                 = UnkT24;
        part.UnkT25                 = UnkT25;
        part.UnkT26                 = UnkT26;
        part.MapVisibility          = MapVisibility;
        part.PlayRegionID           = PlayRegionID;
        part.LockCamParamID         = LockCamParamID;
        part.UnkT3C                 = UnkT3C;
        part.UnkT40                 = UnkT40;
        part.UnkT44                 = UnkT44;
        part.UnkT48                 = UnkT48;
        part.UnkT4C                 = UnkT4C;
        part.UnkT50                 = UnkT50;
        part.UnkT54                 = UnkT54;
        return(part);
    }
예제 #3
0
    public MSBS.Part.MapPiece Serialize(GameObject parent)
    {
        var part = new MSBS.Part.MapPiece();

        _Serialize(part, parent);
        part.Unk1       = Unk1.Serialize();
        part.Gparam     = Gparam.Serialize();
        part.Unk7       = new MSBS.Part.UnkStruct7();
        part.Unk7.Unk00 = Unk00;
        part.Unk7.Unk04 = Unk04;
        part.Unk7.Unk08 = Unk08;
        part.Unk7.Unk0C = Unk0C;
        part.Unk7.Unk10 = Unk10;
        part.Unk7.Unk14 = Unk14;
        return(part);
    }
예제 #4
0
    public new MSBS.Part.Object Serialize(GameObject parent)
    {
        var part = new MSBS.Part.Object();

        _Serialize(part, parent);
        part.Gparam                        = Gparam.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);
    }