Пример #1
0
    public Image getPackTagByUniquePackId(int uniquePackId)
    {
        int packIdByUniqueId = this.getPackIdByUniqueId(uniquePackId);

        if (packIdByUniqueId != -1)
        {
            return(this.getPackTag(packIdByUniqueId));
        }
        return(!this.m_bakedDLC ? DLCManager.getInstanceBaked().getPackTagByUniquePackId(uniquePackId) : (Image)null);
    }
Пример #2
0
    public DLCPack getDLCPackByUniqueId(int uniquePackId)
    {
        int packIdByUniqueId = this.getPackIdByUniqueId(uniquePackId);

        if (packIdByUniqueId != -1)
        {
            return(this.m_packs[packIdByUniqueId]);
        }
        return(!this.m_bakedDLC ? DLCManager.getInstanceBaked().getDLCPackByUniqueId(uniquePackId) : (DLCPack)null);
    }