public CacheItemGemEntry(ItemGemEntry entry) { SnoId = entry.SnoId; var pluginGemType = (PluginGemType)entry.Type; Type = (GemType)Enum.Parse(typeof(GemType), pluginGemType.ToString()); Quality = entry.Quality; }
public CacheItemGemEntry(ItemGemEntry entry) { SnoId = entry.SnoId; var pluginGemType = (PluginGemType)entry.Type; Type=(GemType)Enum.Parse(typeof(GemType), pluginGemType.ToString()); Quality = entry.Quality; }