Exemplo n.º 1
0
        private void genSpell(string strParam)
        {
            SpellEventData spellEventData = AnimEventsListener.parseFromString(strParam);

            if (spellEventData == null)
            {
                Debug.LogError("unrecognized spell event:" + strParam);
                return;
            }
            try
            {
                this.genBindSpell(spellEventData);
            }
            catch (NotFoundException ex)
            {
                LSDebug.error(ex.errInfo);
            }
        }
Exemplo n.º 2
0
 public static string encodeStrParam(SpellEventData sb)
 {
     return(string.Format("{0},{1},{2}", sb.bindName, sb.spellPath, (int)sb.bindType));
 }
Exemplo n.º 3
0
 private void genBindSpell(SpellEventData sb)
 {
 }