public EmoteEntry(EmoteType type, string path, string stringKey, InitSpellFunc func)
 {
     this.m_emoteType           = type;
     this.m_emoteSoundSpellPath = path;
     this.m_emoteGameStringKey  = stringKey;
     this.m_initSpellFunc       = func;
 }
 public CardEffect(string path, List <string> soundPathes, InitSpellFunc spellFunc = null, InitSpellFunc soundSpellFunc = null)
 {
     this.m_spellPath        = path;
     this.m_soundSpellPathes = soundPathes;
     this.m_initSpell        = spellFunc;
     this.m_initSoundSpell   = soundSpellFunc;
     if (this.m_soundSpellPathes != null)
     {
         this.m_soundSpells = new List <CardSoundSpell>(this.m_soundSpellPathes.Count);
         for (int i = 0; i < this.m_soundSpellPathes.Count; i++)
         {
             this.m_soundSpells.Add(null);
         }
     }
 }
 public CardEffect(CardEffectDef def, InitSpellFunc spellFunc = null, InitSpellFunc soundSpellFunc = null)
 {
     this.m_spellPath        = def.m_SpellPath;
     this.m_soundSpellPathes = def.m_SoundSpellPaths;
     this.m_initSpell        = spellFunc;
     this.m_initSoundSpell   = soundSpellFunc;
     if (this.m_soundSpellPathes != null)
     {
         this.m_soundSpells = new List <CardSoundSpell>(this.m_soundSpellPathes.Count);
         for (int i = 0; i < this.m_soundSpellPathes.Count; i++)
         {
             this.m_soundSpells.Add(null);
         }
     }
 }
 public CardEffect(string path, InitSpellFunc spellFunc = null, InitSpellFunc soundSpellFunc = null)
 {
     this.m_spellPath      = path;
     this.m_initSpell      = spellFunc;
     this.m_initSoundSpell = soundSpellFunc;
 }