add ToMessage() to VmcExtSetRes

This commit is contained in:
Cassandra de la Cruz-Munoz 2023-08-17 10:12:33 -04:00
parent b33324bd0a
commit a72f184f00

View File

@ -18,6 +18,7 @@
using Godot; using Godot;
using godotOscSharp; using godotOscSharp;
using System.Collections.Generic;
namespace godotVmcSharp namespace godotVmcSharp
{ {
@ -44,5 +45,10 @@ namespace godotVmcSharp
{ {
response = _response; response = _response;
} }
public godotOscSharp.OscMessage ToMessage()
{
return new godotOscSharp.OscMessage(addr, new List<godotOscSharp.OscArgument>{new godotOscSharp.OscArgument(response, 's')});
}
} }
} }