Advertisement
Guest User

me_controller_doc.tmp

a guest
Oct 22nd, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.67 KB | None | 0 0
  1. >> Метод: getAvgPowerUsage
  2. Документация: function():number -- Get the average power usage of the network.
  3. >> Метод: pullItemIntoSlot
  4. Документация: 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
  5. >> Метод: pushItemIntoSlot
  6. Документация: 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
  7. >> Метод: getDemandedEnergy
  8. Документация: function():number -- Get the maximum safe EU input
  9. >> Метод: getAvailableItems
  10. Документация: function(details:string{NONE,PROXY,ALL}?):table -- Get a list of the stored and craftable items in the network.
  11. >> Метод: getCraftingCPUs
  12. Документация: function():table -- Get a list of tables representing the available CPUs in the network.
  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. >> Метод: getAllStacks
  22. Документация: function(proxy:boolean?):table -- Get a table with all the items of the chest
  23. >> Метод: address
  24. Документация: 2e61ebb0-f314-4958-8091-148b3ae1103a
  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. >> Метод: isEnergyProvider
  30. Документация: function():number -- Returns whether this component can provide energy.
  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. >> Метод: condenseItems
  40. Документация: function() -- Condense and tidy the stacks in an inventory
  41. >> Метод: getEUSinkTier
  42. Документация: function():number -- Determine the tier of this energy sink (1 = LV, 2 = MV, 3 = HV, 4 = EV)
  43. >> Метод: listSources
  44. Документация: function():table -- List all method sources
  45. >> Метод: isEnergyReceiver
  46. Документация: function():number -- Returns whether this component can receive energy.
  47. >> Метод: doc
  48. Документация: function(method:string):string -- Brief description of method
  49. >> Метод: getCpus
  50. Документация: function():table -- Get a list of tables representing the available CPUs in the network.
  51. >> Метод: getMaxEnergyStored
  52. Документация: function([direction:number=6]):number -- Returns the maximum amount of stored energy for the given side.
  53. >> Метод: expandStack
  54. Документация: function(stack:{id:string,dmg:number?,qty:number?,...}):table -- Get full stack information from id and/or damage
  55. >> Метод: listMethods
  56. Документация: function(filterSource:string?):string -- List all the methods available
  57. >> Метод: getSinkTier
  58. Документация: function
  59. >> Метод: getCraftables
  60. Документация: function([filter:table]):table -- Get a list of known item recipes. These can be used to issue crafting requests.
  61. >> Метод: pushItem
  62. Документация: 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
  63. >> Метод: swapStacks
  64. Документация: 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
  65. >> Метод: type
  66. Документация: me_controller
  67. >> Метод: getStoredPower
  68. Документация: function():number -- Get the stored power in the network.
  69. >> Метод: pullItem
  70. Документация: 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
  71. >> Метод: getFluidsInNetwork
  72. Документация: function():table -- Get a list of the stored fluids in the network.
  73. >> Метод: getStackInSlot
  74. Документация: function(slotNumber:number,proxy:boolean?):object -- Get details of an item in a particular slot
  75. >> Метод: getEnergyStored
  76. Документация: function([direction:number=6]):number -- Returns the amount of stored energy for the given side.
  77. >> Метод: getInventorySize
  78. Документация: function():number -- Get the size of this inventory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement