Files
Discord.Net/src/Discord.Net.Rpc/Entities/Users/Pan.cs
2016-10-07 22:54:47 -03:00

21 lines
408 B
C#

using Model = Discord.API.Rpc.Pan;
namespace Discord.Rpc
{
public struct Pan
{
public float Left { get; }
public float Right { get; }
public Pan(float left, float right)
{
Left = left;
Right = right;
}
internal static Pan Create(Model model)
{
return new Pan(model.Left, model.Right);
}
}
}