Advertisement
Guest User

me_interface_doc.tmp

a guest
Oct 22nd, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.73 KB | None | 0 0
  1. >> Метод: requestCrafting
  2. Документация: function(fingerprint:{id:string,dmg:number?,nbt_hash:string?},qty:number?,cpu:string?) -- Requests the specified item to get crafted.
  3. >> Метод: getAvgPowerUsage
  4. Документация: function():number -- Get the average power usage of the network.
  5. >> Метод: pullItemIntoSlot
  6. Документация: function(direction:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN},slot:number,maxAmount:number?,intoSlot:number?):number -- Pull an item from a slot in another inventory into a slot in this one. Returns the amount of items moved
  7. >> Метод: pushItemIntoSlot
  8. Документация: function(direction:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN},slot:number,maxAmount:number?,intoSlot:number?):number -- Push an item from the current inventory into pipe or slot on the other inventory. Returns the amount of items moved
  9. >> Метод: getAvailableItems
  10. Документация: function(details:string{NONE,PROXY,ALL}?):table -- Get a list of the stored and craftable items in the network.
  11. >> Метод: getInterfaceConfiguration
  12. Документация: function([slot:number]):table -- Get the configuration of the interface.
  13. >> Метод: slot
  14. Документация: -1
  15. >> Метод: getIdlePowerUsage
  16. Документация: function():number -- Get the idle power usage of the network.
  17. >> Метод: getAdvancedMethodsData
  18. Документация: function(method:string?):table -- Get a complete table of information about all available methods
  19. >> Метод: getItemsInNetwork
  20. Документация: function([filter:table]):table -- Get a list of the stored items in the network.
  21. >> Метод: getCraftables
  22. Документация: function([filter:table]):table -- Get a list of known item recipes. These can be used to issue crafting requests.
  23. >> Метод: address
  24. Документация: 72019c86-9e1b-4480-b213-137299059094
  25. >> Метод: getMaxStoredPower
  26. Документация: function():number -- Get the maximum stored power in the network.
  27. >> Метод: store
  28. Документация: function(filter:table, dbAddress:string[, startSlot:number[, count:number]]): Boolean -- Store items in the network matching the specified filter in the database with the specified address.
  29. >> Метод: swapStacks
  30. Документация: function(from:number,to:number,fromDirection:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN}?,fromDirection:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN}?) -- Swap two slots in the inventory
  31. >> Метод: getInventoryName
  32. Документация: function():string -- Get the name of this inventory
  33. >> Метод: destroyStack
  34. Документация: function(slotNumber:number) -- Destroy a stack
  35. >> Метод: getItemDetail
  36. Документация: function(item:{id:string,dmg:number?,nbt_hash:string?},proxy:boolean?):object -- Retrieves details about the specified item from the ME Network.
  37. >> Метод: getAvgPowerInjection
  38. Документация: function():number -- Get the average power injection into the network.
  39. >> Метод: getStackInSlot
  40. Документация: function(slotNumber:number,proxy:boolean?):object -- Get details of an item in a particular slot
  41. >> Метод: listSources
  42. Документация: function():table -- List all method sources
  43. >> Метод: getAllStacks
  44. Документация: function(proxy:boolean?):table -- Get a table with all the items of the chest
  45. >> Метод: getCpus
  46. Документация: function():table -- Get a list of tables representing the available CPUs in the network.
  47. >> Метод: doc
  48. Документация: function(method:string):string -- Brief description of method
  49. >> Метод: expandStack
  50. Документация: function(stack:{id:string,dmg:number?,qty:number?,...}):table -- Get full stack information from id and/or damage
  51. >> Метод: exportItem
  52. Документация: function(fingerprint:{id:string,dmg:number?,nbt_hash:string?},direction:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN},maxAmount:number?,intoSlot:number?):table -- Exports the specified item into the target inventory.
  53. >> Метод: listMethods
  54. Документация: function(filterSource:string?):string -- List all the methods available
  55. >> Метод: getCraftingCPUs
  56. Документация: function():table -- Get a list of tables representing the available CPUs in the network.
  57. >> Метод: pushItem
  58. Документация: function(direction:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN},slot:number,maxAmount:number?,intoSlot:number?):number -- Push an item from the current inventory into pipe or slot on the other inventory. Returns the amount of items moved
  59. >> Метод: condenseItems
  60. Документация: function() -- Condense and tidy the stacks in an inventory
  61. >> Метод: type
  62. Документация: me_interface
  63. >> Метод: pullItem
  64. Документация: function(direction:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN},slot:number,maxAmount:number?,intoSlot:number?):number -- Pull an item from a slot in another inventory into a slot in this one. Returns the amount of items moved
  65. >> Метод: setInterfaceConfiguration
  66. Документация: function([slot:number][, database:address, entry:number[, size:number]]):boolean -- Configure the interface.
  67. >> Метод: getFluidsInNetwork
  68. Документация: function():table -- Get a list of the stored fluids in the network.
  69. >> Метод: getStoredPower
  70. Документация: function():number -- Get the stored power in the network.
  71. >> Метод: canExport
  72. Документация: function(direction:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN}):boolean -- Returns true when the interface can export to side.
  73. >> Метод: getInventorySize
  74. Документация: function():number -- Get the size of this inventory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement