Update Transpiler

Jori 2026-05-08 09:28:33 +00:00
parent 60c06c305f
commit de84d3ac45
1 changed files with 21 additions and 5 deletions

@ -1,20 +1,36 @@
Supported: Supported:
### **Godot Library** ### **Godot Library**
- Convert GDScript Enum Types - Convert GDScript Enum Types `Node.ProcessModeEnum` to `Node.ProcessMode`
`Node.ProcessModeEnum` to `Node.ProcessMode`
- Convert GDScript Enum Values `Node.ProcessModeEnum.Disabled` to `Node.PROCESS_MODE_DISABLED` - Convert GDScript Enum Values `Node.ProcessModeEnum.Disabled` to `Node.PROCESS_MODE_DISABLED`
- Convert Godot.GD functions to global functions `GD.print` to `print`
### **GD Script Injection**
- Add GDScript from comment
- Add GDScript by string
### **C# Files** ### **C# Files**
- Create own files for each class - Create own files for each class
- Create for single file enum wrappers - Create for single file enum wrappers
- Create Prefixed names for Rokojori Classes
### **C# Types** ### **C# System Types**
- List => Array - List => Array
- Array => Array - Array => Array
- Dictionary<K,V> => Dictionary[K,V] - Dictionary<K,V> => Dictionary[K,V]
- HashSet<K> => Dictionary[K,true] - HashSet<K> => Dictionary[K,true]
### **General Expressions** ### **C# Math**
- Remove as expressions of interfaces - float.MaxValue converted to value
### **Generics**
- Prepend/append type as parameter for per class, for all methods
- Prepend/append type as parameter individually for a method
### **Misc Expressions**
- Remove as expressions of interfaces `instance as InterfaceType`