diff --git a/VmcMessages/VmcExtSettingWin.cs b/VmcMessages/VmcExtSettingWin.cs index b5f8b25..b21267d 100644 --- a/VmcMessages/VmcExtSettingWin.cs +++ b/VmcMessages/VmcExtSettingWin.cs @@ -18,6 +18,7 @@ using Godot; using godotOscSharp; +using System.Collections.Generic; namespace godotVmcSharp { @@ -108,5 +109,15 @@ namespace godotVmcSharp windowClickThrough = _windowClickThrough; hideBorder = _hideBorder; } + + public godotOscSharp.OscMessage ToMessage() + { + return new godotOscSharp.OscMessage(addr, new List{ + new godotOscSharp.OscArgument(isTopMost, 'i'), + new godotOscSharp.OscArgument(isTransparent, 'i'), + new godotOscSharp.OscArgument(windowClickThrough, 'i'), + new godotOscSharp.OscArgument(hideBorder, 'i') + }); + } } } \ No newline at end of file