terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ GetFileName()

static string Terraria.Utilities.FileUtilities.GetFileName ( string path,
bool includeExtension = true )
inlinestatic

Definition at line 179 of file FileUtilities.cs.

180 {
181 if (!true)
182 {
183 }
184 Match match;
185 Group group;
186 if (match == null || group == null)
187 {
188 return "";
189 }
191 string value = group2.Value;
193 if (group3 != null)
194 {
196 return group4.Value;
197 }
198 return value + "";
199 }
class f__AnonymousType0<< Count > j__TPar

References j__TPar, System.match, System.value, and System.Text.RegularExpressions.Capture.Value.

Referenced by Terraria.IO.FileData.GetFileName().