public override void Save(BinaryWriter BW) { BW.Write(SpawnPositionX); BW.Write(SpawnPositionY); BW.Write(SpawnPlayer); BW.Write(IsEventSquad); BW.Write(IsPlayerControlled); BW.Write((int)TimerType); BW.Write(EndingValue); BW.Write(AnimationPath); BW.Write(AnimationSpeed); BW.Write(SFXPath); BW.Write(AIPath); BW.Write(DefenseBattleBehavior); BW.Write(PartDropPath); BW.Write(LeaderUnitId); Leader.Save(BW); }
public override void Save(BinaryWriter BW) { BW.Write(SpawnPositionX); BW.Write(SpawnPositionY); BW.Write(SpawnPlayer); BW.Write(IsEventSquad); BW.Write(IsPlayerControlled); BW.Write((int)TimerType); BW.Write(EndingValue); BW.Write(AnimationPath); BW.Write(AnimationSpeed); BW.Write(SFXPath); BW.Write(AIPath); BW.Write(Leader.ID); Leader.Save(BW); BW.Write(WingmanA.ID); WingmanA.Save(BW); BW.Write(WingmanB.ID); WingmanB.Save(BW); }