@@ -72,7 +72,7 @@ private void VerifyAlamoFile(string modelPath, IReadOnlyCollection<string> conte
7272 {
7373 var modelNameString = modelName . ToString ( ) ;
7474 var error = VerificationError . Create (
75- VerifierChain ,
75+ this ,
7676 VerifierErrorCodes . FileNotFound ,
7777 $ "Unable to find .ALO file '{ modelNameString } '",
7878 VerificationSeverity . Error ,
@@ -95,7 +95,7 @@ private void VerifyAlamoFile(string modelPath, IReadOnlyCollection<string> conte
9595 {
9696 var aloFilePath = FileSystem . Path . GetGameStrippedPath ( Repository . Path . AsSpan ( ) , modelPath . AsSpan ( ) ) . ToString ( ) ;
9797 var message = $ "'{ aloFilePath } ' is corrupted: { e . Message } ";
98- AddError ( VerificationError . Create ( VerifierChain , VerifierErrorCodes . FileCorrupt , message ,
98+ AddError ( VerificationError . Create ( this , VerifierErrorCodes . FileCorrupt , message ,
9999 VerificationSeverity . Critical , contextInfo , aloFilePath ) ) ;
100100 return ;
101101 }
@@ -139,7 +139,7 @@ private void VerifyParticle(IAloParticleFile file, IReadOnlyCollection<string> c
139139 {
140140 var particlePath = FileSystem . Path . GetGameStrippedPath ( Repository . Path . AsSpan ( ) , file . FilePath . AsSpan ( ) ) . ToString ( ) ;
141141 AddError ( VerificationError . Create (
142- VerifierChain ,
142+ this ,
143143 VerifierErrorCodes . InvalidFilePath ,
144144 $ "Invalid texture file name '{ texture } ' in particle '{ particlePath } '",
145145 VerificationSeverity . Error ,
@@ -154,7 +154,7 @@ private void VerifyParticle(IAloParticleFile file, IReadOnlyCollection<string> c
154154 {
155155 var particlePath = FileSystem . Path . GetGameStrippedPath ( Repository . Path . AsSpan ( ) , file . FilePath . AsSpan ( ) ) . ToString ( ) ;
156156 AddError ( VerificationError . Create (
157- VerifierChain ,
157+ this ,
158158 VerifierErrorCodes . InvalidParticleName ,
159159 $ "The particle name '{ file . Content . Name } ' does not match file name '{ particlePath } '",
160160 VerificationSeverity . Error ,
@@ -173,7 +173,7 @@ private void VerifyModel(IAloModelFile file, IReadOnlyCollection<string> context
173173 {
174174 var modelFilePath = FileSystem . Path . GetGameStrippedPath ( Repository . Path . AsSpan ( ) , file . FilePath . AsSpan ( ) ) . ToString ( ) ;
175175 AddError ( VerificationError . Create (
176- VerifierChain ,
176+ this ,
177177 VerifierErrorCodes . InvalidFilePath ,
178178 $ "Invalid texture file name '{ texture } ' in model '{ modelFilePath } '",
179179 VerificationSeverity . Error ,
@@ -191,7 +191,7 @@ private void VerifyModel(IAloModelFile file, IReadOnlyCollection<string> context
191191 var modelFilePath =
192192 FileSystem . Path . GetGameStrippedPath ( Repository . Path . AsSpan ( ) , file . FilePath . AsSpan ( ) ) . ToString ( ) ;
193193 AddError ( VerificationError . Create (
194- VerifierChain ,
194+ this ,
195195 VerifierErrorCodes . InvalidFilePath ,
196196 $ "Invalid shader file name '{ shader } ' in model '{ modelFilePath } '",
197197 VerificationSeverity . Error ,
@@ -210,7 +210,7 @@ private void VerifyModel(IAloModelFile file, IReadOnlyCollection<string> context
210210 var modelFilePath = FileSystem . Path
211211 . GetGameStrippedPath ( Repository . Path . AsSpan ( ) , file . FilePath . AsSpan ( ) ) . ToString ( ) ;
212212 AddError ( VerificationError . Create (
213- VerifierChain ,
213+ this ,
214214 VerifierErrorCodes . InvalidFilePath ,
215215 $ "Invalid proxy file name '{ proxy } ' for model '{ modelFilePath } '",
216216 VerificationSeverity . Error ,
@@ -238,7 +238,7 @@ private void VerifyProxyExists(IPetroglyphFileHolder model, string proxy, IReadO
238238 {
239239 var message = $ "Proxy particle '{ proxyName } ' not found for model '{ modelFilePath } '";
240240 var error = VerificationError . Create (
241- VerifierChain ,
241+ this ,
242242 VerifierErrorCodes . FileNotFound ,
243243 message ,
244244 VerificationSeverity . Error ,
@@ -261,7 +261,7 @@ private void VerifyShaderExists(IPetroglyphFileHolder model, string shader, IRea
261261 var modelFilePath = FileSystem . Path . GetGameStrippedPath ( Repository . Path . AsSpan ( ) , model . FilePath . AsSpan ( ) ) . ToString ( ) ;
262262 var message = $ "Shader effect '{ shader } ' not found for model '{ modelFilePath } '.";
263263 var error = VerificationError . Create (
264- VerifierChain ,
264+ this ,
265265 VerifierErrorCodes . FileNotFound ,
266266 message ,
267267 VerificationSeverity . Error ,
0 commit comments