Ejemplo n.º 1
0
 /// <summary>
 /// Registers a event so the user can customize it. No default values will be provided (Use the BindEvent method for this)
 /// </summary>
 /// <param name="eventName">Name of the event.</param>
 /// <param name="minValue">The minimum value.</param>
 /// <param name="maxValue">The maximum value.</param>
 /// <param name="iconId">The icon identifier.</param>
 /// <returns>JSON response string from SSE3</returns>
 public string RegisterEvent(string eventName, int minValue, int maxValue, EventIcon iconId)
 {
     return(RegisterEvent(eventName, minValue, maxValue, (int)iconId));
 }
Ejemplo n.º 2
0
 public string BindEvent(string eventName, int minValue, int maxValue, EventIcon iconId, List <BaseHandler> handlers)
 {
     return(BindEvent(eventName, minValue, maxValue, (int)iconId, handlers));
 }
Ejemplo n.º 3
0
 public void SetIconSprit(EventIcon eventIcon)
 {
     _setSprite.sprite = _iconTbl[(int)eventIcon];
 }