zed_com

me_interface_doc.tmp

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