17 lines
345 B
C#
17 lines
345 B
C#
using CookComputing.XmlRpc;
|
|
|
|
public struct StateStructRequest
|
|
{
|
|
public int state1;
|
|
public int state2;
|
|
public int state3;
|
|
}
|
|
|
|
public interface IStateName
|
|
{
|
|
[XmlRpcMethod("examples.getStateName")]
|
|
string GetStateName(int stateNumber);
|
|
|
|
[XmlRpcMethod("examples.getStateStruct")]
|
|
string GetStateNames(StateStructRequest request);
|
|
}
|