2015-08-20 01:06:44 -04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace SharedLibrary
|
|
|
|
|
{
|
|
|
|
|
public struct dvar
|
|
|
|
|
{
|
|
|
|
|
public String name;
|
|
|
|
|
public String description;
|
|
|
|
|
public int flags;
|
|
|
|
|
public short type;
|
|
|
|
|
public String current;
|
|
|
|
|
public String latched;
|
|
|
|
|
public String _default;
|
|
|
|
|
public int min;
|
|
|
|
|
public int max;
|
|
|
|
|
}
|
2017-05-26 18:49:27 -04:00
|
|
|
|
|
|
|
|
|
public class _DVAR<T>
|
|
|
|
|
{
|
|
|
|
|
public string Name { get; private set; }
|
|
|
|
|
public T Value;
|
|
|
|
|
|
|
|
|
|
public _DVAR(string name)
|
|
|
|
|
{
|
|
|
|
|
Name = name;
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-08-20 01:06:44 -04:00
|
|
|
|
}
|