Exemplo n.º 1
0
 public EmoteSet_KeyValue(EmoteScript.EmoteSet emoteSet)
 {
     key   = (int)emoteSet.Category;
     value = new List <EmoteSet>()
     {
         new EmoteSet(emoteSet)
     };
 }
Exemplo n.º 2
0
        public EmoteSet(EmoteScript.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));
            }
        }