public PresetMap(PresetMapType type) { int v = (int)type; if (v >= 0 && v < PresetMapEntry.Table.Length) this.InitEntry(PresetMapEntry.Table[v]); }
public PresetMap( PresetMapType type ) { int v = (int)type; name = (string)type.ToString(); if ( v >= 0 && v < PresetMapEntry.Table.Length ) InitEntry( PresetMapEntry.Table[v] ); }
public PresetMap(PresetMapType type) { int v = (int)type; if (v >= 0 && v < PresetMapEntry.Table.Length) { InitEntry(PresetMapEntry.Table[v]); } }
public PresetMap(PresetMapType type) { int v = (int)type; name = (string)type.ToString(); if (v >= 0 && v < PresetMapEntry.Table.Length) { InitEntry(PresetMapEntry.Table[v]); } }