diff --git a/VmcMessages/VmcExtConfig.cs b/VmcMessages/VmcExtConfig.cs index 2cd81a8..e9abc3d 100644 --- a/VmcMessages/VmcExtConfig.cs +++ b/VmcMessages/VmcExtConfig.cs @@ -18,6 +18,7 @@ using Godot; using godotOscSharp; +using System.Collections.Generic; namespace godotVmcSharp { @@ -39,5 +40,15 @@ namespace godotVmcSharp } path = (string)m.Data[0].Value; } + + public VmcExtConfig(string _path) : base(new godotOscSharp.Address("/VMC/Ext/Config")) + { + path = _path; + } + + public godotOscSharp.OscMessage ToMessage() + { + return new godotOscSharp.OscMessage(addr, new List{new godotOscSharp.OscArgument(path, 's')}); + } } } \ No newline at end of file