예제 #1
0
 public ItemShortcut(PlayedCharacter character, ShortcutObjectItem shortcut)
     : base(shortcut.slot)
 {
     Item = character.Inventory.GetItem(shortcut.itemUID);
     Template = DataProvider.Instance.Get<Protocol.Data.Item>(shortcut.itemGID);
 }
예제 #2
0
 public ItemShortcut(PlayedCharacter character, ShortcutObjectItem shortcut)
     : base(character, shortcut.slot)
 {
     Item = character.Inventory.GetItem(shortcut.itemUID);
     Template = ObjectDataManager.Instance.Get<Item>(shortcut.itemGID);
 }