add ToMessage() to VmcExtSettingWin

This commit is contained in:
Cassandra de la Cruz-Munoz 2023-08-17 10:24:11 -04:00
parent a4879eed0d
commit cb93f0bb1c

View File

@ -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<godotOscSharp.OscArgument>{
new godotOscSharp.OscArgument(isTopMost, 'i'),
new godotOscSharp.OscArgument(isTransparent, 'i'),
new godotOscSharp.OscArgument(windowClickThrough, 'i'),
new godotOscSharp.OscArgument(hideBorder, 'i')
});
}
}
}