mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-06-06 08:02:27 +00:00
* 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
11 lines
No EOL
246 B
C#
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");
|
|
} |