6 partial class AbandonedOutpostMission : Mission
10 get {
return base.State; }
29 base.ClientReadInitial(msg);
31 for (
int i = 0; i < targetItemCount; i++)
37 byte characterCount = msg.
ReadByte();
39 for (
int i = 0; i < characterCount; i++)
48 if (allowOrderingRescuees)
55 for (
int j = 0; j < itemCount; j++)
61 enemyAi.UnattackableSubmarines.Add(character.
Submarine);
65 enemyAi.UnattackableSubmarines.Add(sub);
71 throw new System.Exception(
"Error in AbandonedOutpostMission.ClientReadInitial: character list contains null (mission: " +
Prefab.
Identifier +
")");
75 throw new System.Exception(
"Error in AbandonedOutpostMission.ClientReadInitial: character count does not match the server count (" +
characters +
" != " +
characters.Count +
"mission: " +
Prefab.
Identifier +
")");
override bool DisplayAsCompleted
override bool DisplayAsFailed
override void ClientReadInitial(IReadMessage msg)
readonly List< Character > characters
readonly HashSet< Character > requireRescue
readonly HashSet< Character > requireKill
const int HostagesKilledState
virtual AIController AIController
static Character ReadSpawnData(IReadMessage inc)
GUIComponent AddCharacterToCrewList(Character character)
Add character to the list without actually adding it to the crew
static GameSession?? GameSession
static Item ReadSpawnData(IReadMessage msg, bool spawn=true)
void CreateMessageBox(LocalizedString header, LocalizedString message)
readonly Identifier Identifier
IEnumerable< Submarine > DockedTo