public Squad(User owner, SquadSave save) { this.owner = owner; name = save.name; ident = save.ident; location = save.location; atStructure = save.atStructure; if (atStructure) if (GameServer.Instance.Structures.OpExists(location)) defendedStructure = GameServer.Instance.Structures.GetStructure(location); else atStructure = false; if (!atStructure && save.data != null) { data = new TravelData(save.data); } }
public Squad(User owner, SquadSave save) { this.owner = owner; name = save.name; ident = save.ident; location = save.location; atStructure = save.atStructure; if (atStructure) { if (GameServer.Instance.Structures.OpExists(location)) { defendedStructure = GameServer.Instance.Structures.GetStructure(location); } else { atStructure = false; } } if (!atStructure && save.data != null) { data = new TravelData(save.data); } }
public AirSquad(User owner, SquadSave save) : base(owner, save) { }