first commit
This commit is contained in:
37
NitroxModel/DataStructures/GameLogic/InitialPDAData.cs
Normal file
37
NitroxModel/DataStructures/GameLogic/InitialPDAData.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using BinaryPack.Attributes;
|
||||
|
||||
namespace NitroxModel.DataStructures.GameLogic
|
||||
{
|
||||
[Serializable]
|
||||
public class InitialPDAData
|
||||
{
|
||||
public List<NitroxTechType> KnownTechTypes { get; set; }
|
||||
public List<NitroxTechType> AnalyzedTechTypes { get; set; }
|
||||
public List<PDALogEntry> PDALogEntries { get; set; }
|
||||
public List<string> EncyclopediaEntries { get; set; }
|
||||
|
||||
// PDA Scanner data
|
||||
public List<NitroxId> ScannerFragments { get; set; }
|
||||
public List<PDAEntry> ScannerPartial { get; set; }
|
||||
public List<NitroxTechType> ScannerComplete { get; set; }
|
||||
|
||||
[IgnoreConstructor]
|
||||
protected InitialPDAData()
|
||||
{
|
||||
//Constructor for serialization. Has to be "protected" for json serialization.
|
||||
}
|
||||
|
||||
public InitialPDAData(List<NitroxTechType> knownTechTypes, List<NitroxTechType> analyzedTechTypes, List<PDALogEntry> pDALogEntries, List<string> encyclopediaEntries, List<NitroxId> scannerFragments, List<PDAEntry> scannerPartial, List<NitroxTechType> scannerComplete)
|
||||
{
|
||||
KnownTechTypes = knownTechTypes;
|
||||
AnalyzedTechTypes = analyzedTechTypes;
|
||||
PDALogEntries = pDALogEntries;
|
||||
EncyclopediaEntries = encyclopediaEntries;
|
||||
ScannerFragments = scannerFragments;
|
||||
ScannerPartial = scannerPartial;
|
||||
ScannerComplete = scannerComplete;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user