Skip to content

static class Mds (client-side)

Available since version: 0.1.0

This class represents mds manager for conversion between mds id & mds instance.
This manager will work for every registered mds in mds.xml file.

Properties

No properties.


Methods

id

Available since version: 0.1.0

This method will convert the mds name to mds id.

int id(string mdsName)

Parameters:

  • string mdsName: the mds name, e.g: "HumanS_Sprint.mds".

Returns int:

the unique mds id.


name

Available since version: 0.1.0

This method will convert the mds id to mds name.

string name(int mdsId)

Parameters:

  • int mdsId: the mds id.

Returns string:

the mds name, e.g: "HumanS_Sprint.mds"