Merge pull request #53 from alexguirre/scenario-type-groups

Support for ScenarioTypeGroups in scenario files
This commit is contained in:
dexyfex
2019-10-30 22:40:04 +11:00
committed by GitHub
Unverified
4 changed files with 210 additions and 23 deletions
@@ -4714,7 +4714,7 @@ namespace CodeWalker.GameFiles
public byte TypeId { get { return _Data.iType; } set { _Data.iType = value; } }
public ScenarioType Type { get; set; }
public ScenarioTypeRef? Type { get; set; }
public byte ModelSetId { get { return _Data.ModelSetId; } set { _Data.ModelSetId = value; } }
public AmbientModelSet ModelSet { get; set; }
@@ -5298,7 +5298,7 @@ namespace CodeWalker.GameFiles
public Vector3 Position { get { return _Data.Position; } set { _Data.Position = value; } }
public MetaHash Unk1 { get { return _Data.Unk_2602393771; } set { _Data.Unk_2602393771 = value; } }
public MetaHash TypeHash { get { return _Data.ScenarioType; } set { _Data.ScenarioType = value; } }
public ScenarioType Type { get; set; }
public ScenarioTypeRef? Type { get; set; }
public bool NotFirst { get { return _Data.Unk_407126079_NotFirst == 1; } set { _Data.Unk_407126079_NotFirst = (byte)(value ? 1 : 0); } }
public bool NotLast { get { return _Data.Unk_1308720135_NotLast == 1; } set { _Data.Unk_1308720135_NotLast = (byte)(value ? 1 : 0); } }