Add prop spotlight parsing
This commit is contained in:
parent
22600a27e5
commit
51e3a3a9e7
|
@ -144,6 +144,7 @@ public class DbFile
|
||||||
"P$OTxtRepr3" => new PropertyChunk<PropString>(),
|
"P$OTxtRepr3" => new PropertyChunk<PropString>(),
|
||||||
"P$Light" => new PropertyChunk<PropLight>(),
|
"P$Light" => new PropertyChunk<PropLight>(),
|
||||||
"P$LightColo" => new PropertyChunk<PropLightColor>(),
|
"P$LightColo" => new PropertyChunk<PropLightColor>(),
|
||||||
|
"P$Spotlight" => new PropertyChunk<PropSpotlight>(),
|
||||||
"P$RenderAlp" => new PropertyChunk<PropFloat>(),
|
"P$RenderAlp" => new PropertyChunk<PropFloat>(),
|
||||||
"LD$MetaProp" => new LinkDataMetaProp(),
|
"LD$MetaProp" => new LinkDataMetaProp(),
|
||||||
_ when entryName.StartsWith("L$") => new LinkChunk(),
|
_ when entryName.StartsWith("L$") => new LinkChunk(),
|
||||||
|
|
|
@ -102,6 +102,7 @@ public class ObjectHierarchy
|
||||||
AddProp<PropFloat>("P$RenderAlp");
|
AddProp<PropFloat>("P$RenderAlp");
|
||||||
AddProp<PropLight>("P$Light");
|
AddProp<PropLight>("P$Light");
|
||||||
AddProp<PropLightColor>("P$LightColo");
|
AddProp<PropLightColor>("P$LightColo");
|
||||||
|
AddProp<PropSpotlight>("P$Spotlight");
|
||||||
}
|
}
|
||||||
|
|
||||||
public T GetProperty<T>(int objectId, string propName) where T : Property
|
public T GetProperty<T>(int objectId, string propName) where T : Property
|
||||||
|
|
Loading…
Reference in New Issue