// Token: 0x06003209 RID: 12809 RVA: 0x000BF164 File Offset: 0x000BD364
 public override global::InventoryItem.MenuItemResult ExecuteMenuOption(global::InventoryItem.MenuItem option, global::IInventoryItem item)
 {
     if (option != global::InventoryItem.MenuItem.Use)
     {
         return(base.ExecuteMenuOption(option, item));
     }
     return(global::InventoryItem.MenuItemResult.DoneOnServer);
 }
 // Token: 0x06003376 RID: 13174 RVA: 0x000C1868 File Offset: 0x000BFA68
 public override global::InventoryItem.MenuItemResult ExecuteMenuOption(global::InventoryItem.MenuItem option, global::IInventoryItem item)
 {
     if (option == this.GetConsumeMenuItem())
     {
         return(global::InventoryItem.MenuItemResult.DoneOnServer);
     }
     return(base.ExecuteMenuOption(option, item));
 }
    // Token: 0x060039B6 RID: 14774 RVA: 0x000CB4B0 File Offset: 0x000C96B0
    public override global::InventoryItem.MenuItemResult OnMenuOption(global::InventoryItem.MenuItem option)
    {
        DB db = this.datablock;

        global::InventoryItem.MenuItemResult menuItemResult  = db.ExecuteMenuOption(option, this.iface);
        global::InventoryItem.MenuItemResult menuItemResult2 = menuItemResult;
        if (menuItemResult2 == global::InventoryItem.MenuItemResult.Unhandled || menuItemResult2 == global::InventoryItem.MenuItemResult.DoneOnServer)
        {
            base.inventory.NetworkItemAction(base.slot, option);
        }
        return(menuItemResult);
    }
예제 #4
0
 // Token: 0x060034CD RID: 13517 RVA: 0x000C34AC File Offset: 0x000C16AC
 public virtual global::InventoryItem.MenuItemResult ExecuteMenuOption(global::InventoryItem.MenuItem option, global::IInventoryItem item)
 {
     if (option == global::InventoryItem.MenuItem.Info)
     {
         global::RPOS.OpenInfoWindow(this);
         return(global::InventoryItem.MenuItemResult.DoneOnClient);
     }
     if (option != global::InventoryItem.MenuItem.Split)
     {
         return(global::InventoryItem.MenuItemResult.Unhandled);
     }
     item.inventory.SplitStack(item.slot);
     return(global::InventoryItem.MenuItemResult.Complete);
 }
예제 #5
0
 // Token: 0x060039A9 RID: 14761
 public abstract global::InventoryItem.MenuItemResult OnMenuOption(global::InventoryItem.MenuItem option);