Make runtime item catalog key-only
This commit is contained in:
parent
c245538793
commit
ffe9d6d7bf
7 changed files with 20 additions and 63 deletions
|
|
@ -26,11 +26,6 @@ public class AetheriaRuntimeItemReference
|
|||
ItemKey = itemKey;
|
||||
}
|
||||
|
||||
public AetheriaRuntimeItemReference(Guid legacyItemId)
|
||||
: this(FromLegacyId(legacyItemId))
|
||||
{
|
||||
}
|
||||
|
||||
public Guid LegacyItemId => TryParseLegacyId(ItemKey, out var itemId) ? itemId : Guid.Empty;
|
||||
|
||||
public static string FromLegacyId(Guid legacyItemId)
|
||||
|
|
|
|||
Loading…
Reference in a new issue