public override void Load(BinaryReader BR)
            {
                SpawnPositionX = BR.ReadInt32();
                SpawnPositionY = BR.ReadInt32();

                SpawnPlayer        = BR.ReadInt32();
                IsEventSquad       = BR.ReadBoolean();
                IsPlayerControlled = BR.ReadBoolean();

                TimerType      = (ScriptSpawnSquadHelper.TimerTypes)BR.ReadInt32();
                EndingValue    = BR.ReadInt32();
                AnimationPath  = BR.ReadString();
                AnimationSpeed = BR.ReadSingle();
                SFXPath        = BR.ReadString();
                AIPath         = BR.ReadString();

                Leader.ID = BR.ReadUInt32();
                Leader.Load(BR);

                WingmanA.ID = BR.ReadUInt32();
                WingmanA.Load(BR);

                WingmanB.ID = BR.ReadUInt32();
                WingmanB.Load(BR);
            }
示例#2
0
            public override void Load(BinaryReader BR)
            {
                SpawnPositionX = BR.ReadInt32();
                SpawnPositionY = BR.ReadInt32();

                SpawnPlayer        = BR.ReadInt32();
                IsEventSquad       = BR.ReadBoolean();
                IsPlayerControlled = BR.ReadBoolean();

                TimerType             = (ScriptSpawnSquadHelper.TimerTypes)BR.ReadInt32();
                EndingValue           = BR.ReadInt32();
                AnimationPath         = BR.ReadString();
                AnimationSpeed        = BR.ReadSingle();
                SFXPath               = BR.ReadString();
                AIPath                = BR.ReadString();
                DefenseBattleBehavior = BR.ReadString();
                PartDropPath          = BR.ReadString();

                LeaderUnitId = BR.ReadUInt32();
                Leader.Load(BR);
            }