public EmoteSet_KeyValue(EmoteScriptLib.EmoteSet emoteSet)
 {
     key   = (int)emoteSet.Category;
     value = new List <EmoteSet>()
     {
         new EmoteSet(emoteSet)
     };
 }
Esempio n. 2
0
        public EmoteSet(EmoteScriptLib.EmoteSet emoteSet)
        {
            category    = (uint)emoteSet.Category;
            probability = emoteSet.Probability ?? 1.0f;
            vendorType  = (uint?)emoteSet.VendorType;
            quest       = emoteSet.Quest;
            classID     = emoteSet.WeenieClassId;
            style       = (uint?)emoteSet.Style;
            substyle    = (uint?)emoteSet.Substyle;
            minhealth   = emoteSet.MinHealth;
            maxhealth   = emoteSet.MaxHealth;

            emotes = new List <Emote>();

            foreach (var emote in emoteSet.Emotes)
            {
                emotes.Add(new Emote(emote));
            }
        }