public override bool TryGetObject(byte objectType, string objectId, out NebulaObject obj) { Item item; bool result = ItemCache.TryGetItem(objectType, objectId, out item); obj = item; return(result); }
public bool HasItem(string ID, byte type) { Item it; if (ItemCache.TryGetItem(type, ID, out it)) { return(it != null); } return(false); }