using System.Collections;
|
using System.Collections.Generic;
|
using UnityEngine;
|
|
public partial class EquipSuitNameConfig : IConfigPostProcess
|
{
|
static Dictionary<int, string> suitNames = new Dictionary<int, string>();
|
|
public void OnConfigParseCompleted()
|
{
|
var key = level * 10000 + place * 1000 + job;
|
suitNames[key] = name;
|
}
|
|
public static string GetSuitName(int level, int place, int job)
|
{
|
var key = level * 10000 + place * 1000 + job;
|
return suitNames.ContainsKey(key) ? suitNames[key] : string.Empty;
|
}
|
|
}
|