hch
7 小时以前 8ab9fbf1e44b842646f00bc70dcd99d49f30f2e0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using UnityEngine;
using System.Threading;
 
public partial class FrameAnimationConfig : ConfigBase<string, FrameAnimationConfig>
{
    //<表情包ID,List<Name>>
    private static Dictionary<int, List<string>> resultDict = new Dictionary<int, List<string>>();
 
    protected override void OnConfigParseCompleted()
    {
        if (frameType == 1)
        {
            if (!resultDict.ContainsKey(EmojiPackID))
            {
                resultDict[EmojiPackID] = new List<string>();
            }
            resultDict[EmojiPackID].Add(name);
        }
    }
 
    public static Dictionary<int, List<string>> GetEmojiPackList()
    {
        return resultDict;
    }
}