ProjectLighthouse/ProjectLighthouse/Files/ResourceDescriptor.cs
Josh d640c000aa
Implement LBP1 tags, stricter resource checking, and more (#463)
* Add LBP1 tags, more strict resource checking, and more.

* Fix unit tests

* Add more length checking to dependency parser

* Online editor problems

* Fix tests pt 2

* Self code review and fixed digest bugs

* Don't add content length if it was already set

* Fix status endpoint

* Fix review bug and simplify review serialization

* Fix a typo in review serialization

* Remove duplicated code and fix search

* Remove duplicate database call
2022-08-31 20:38:58 -05:00

11 lines
No EOL
246 B
C#

namespace LBPUnion.ProjectLighthouse.Files;
public class ResourceDescriptor
{
public string Hash;
public int Type;
public bool IsScriptType() => this.Type == 0x11;
public bool IsGuidResource() => this.Hash.StartsWith("g");
}