From e78c7a7be9e4263cb962cf0ae3cf3811c78f36a9 Mon Sep 17 00:00:00 2001 From: Krowe Moh <27891447+Krowe-moh@users.noreply.github.com> Date: Sun, 6 Jul 2025 12:21:10 +1000 Subject: [PATCH] Cpp xshd by Masus added projectstore as it said unknown type --- FModel/Resources/Cpp.xshd | 433 +++++++++++++----------- FModel/ViewModels/CUE4ParseViewModel.cs | 1 + 2 files changed, 240 insertions(+), 194 deletions(-) diff --git a/FModel/Resources/Cpp.xshd b/FModel/Resources/Cpp.xshd index c7396ae4..5c3cc352 100644 --- a/FModel/Resources/Cpp.xshd +++ b/FModel/Resources/Cpp.xshd @@ -1,195 +1,240 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - [?,.;()\[\]{}+\-/%*<>^=~!&]+ - - - __abstract - __box - __delegate - __gc - __identifier - __nogc - __pin - __property - __sealed - __try_cast - __typeof - __value - __event - __hook - __raise - __unhook - __interface - ref class - ref struct - value class - value struct - interface class - interface struct - enum class - enum struct - delegate - event - property - abstract - override - sealed - generic - where - finally - for each - gcnew - in - initonly - literal - nullptr - - - this - - - and - and_eq - bitand - bitor - new - not - not_eq - or - or_eq - xor - xor_eq - - - using - namespace - - - friend - - - private - protected - public - const - volatile - static - - - bool - char - unsigned - union - virtual - double - float - short - signed - void - class - enum - struct - - - false - true - - - do - for - while - - - break - continue - goto - return - - - catch - throw - try - - - case - else - if - switch - default - - - asm - auto - compl - mutable - const_cast - delete - dynamic_cast - explicit - export - extern - inline - int - long - operator - register - reinterpret_cast - sizeof - static_cast - template - typedef - typeid - typename - - - \# - - - // - - - /\* - \*/ - - - " - " - - - - - - ' - ' - - - - - [\d\w_]+(?=(\s*\()) - \b0[xX][0-9a-fA-F]+|(\b\d+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)? - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BlueprintGeneratedClass + Class + FSoftObjectPath + UScriptArray + NavmeshGeneratorComponent + EndGameComponent + USceneComponent + + + + bool + char + unsigned + union + virtual + double + float + short + signed + void + class + enum + struct + + + \b(BlueprintGeneratedClass|Class|FSoftObjectPath|UScriptArray|NavmeshGeneratorComponent|EndGameComponent|USceneComponent)\b + + ABP_[A-Za-z0-9_]+_C + + \bF[A-Z][A-Za-z0-9_]*\b + \bU[A-Z][A-Za-z0-9_]*\b + \bA[A-Z][A-Za-z0-9_]*\b + \bE[A-Z][A-Za-z0-9_]*\b + + Label_[0-9]+ + + CallFunc_[A-Za-z0-9_]+ + K2Node_[A-Za-z0-9_]+ + Temp_delegate_Variable(_[0-9]+)? + + ExecuteUbergraph_[A-Za-z0-9_]+ + UserConstructionScript + ReceiveBeginPlay + OnBeginFadeOut + .*__UpdateFunc + .*__FinishedFunc + + goto + nullptr + + FindObject<[A-Za-z0-9_]+> + + "[^"]*" + \b[0-9]+(\.[0-9]+)?\b + [\[\]\{\}] + + UKismetMathLibrary + UKismetSystemLibrary + + [?,.;()\[\]{}+\-/%*<>^=~!&]+ + + + __abstract + __box + __delegate + __gc + __identifier + __nogc + __pin + __property + __sealed + __try_cast + __typeof + __value + __event + __hook + __raise + __unhook + __interface + ref class + ref struct + value class + value struct + interface class + interface struct + enum class + enum struct + delegate + event + property + abstract + override + sealed + generic + where + finally + for each + gcnew + in + initonly + literal + nullptr + + + + this + + + and + and_eq + bitand + bitor + new + not + not_eq + or + or_eq + xor + xor_eq + + + using + namespace + + + friend + + + private + protected + public + const + volatile + static + + + true + false + NULL + + + break + case + catch + const_cast + continue + default + delete + dynamic_cast + else + explicit + export + extern + false + for + friend + goto + if + mutable + namespace + new + operator + private + protected + public + register + reinterpret_cast + return + sizeof + static_cast + template + throw + try + typedef + typeid + typename + using + virtual + volatile + while + + + do + for + while + break + continue + + + goto + return + throw + + + try + catch + throw + finally + + + if + else + switch + case + default + break + continue + return + + + diff --git a/FModel/ViewModels/CUE4ParseViewModel.cs b/FModel/ViewModels/CUE4ParseViewModel.cs index f635458f..598c4ce9 100644 --- a/FModel/ViewModels/CUE4ParseViewModel.cs +++ b/FModel/ViewModels/CUE4ParseViewModel.cs @@ -588,6 +588,7 @@ public class CUE4ParseViewModel : ViewModel break; } case "upluginmanifest": + case "projectstore": case "uproject": case "manifest": case "uplugin":