User Tools

Site Tools


restock_func

Differences

This shows you the differences between two versions of the page.


restock_func [2022/09/03 23:25] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +======Scripting - Restock control function======
 +Here can find some information about Enhanced Scripting function to control restock engine by script!
 +
 +=====Check Status=====
 +
 +{|style="font-size:85%; border:solid 2px; width: 50%;"
 +|style="font-size:150%;  padding: 2px" colspan="2" | **Check Restock Status**
 +|- style="background-color:#f0f0f0;"
 +|**Syntax**
 +|style="width: 90%" | Restock.Status( )
 +|-
 +|colspan="2" |**Description:**
 +|-
 +|colspan="2" |Get a bool value of scavenger engine status, if running or not
 +|- style="background-color:#f0f0f0;"
 +|**Returns**
 +|bool
 +|-
 +|**In Object:**
 +|Restock
 +|- style="background-color:#f0f0f0;"
 +|**Parameters:**
 +|none
 +
 +|}
 +
 +=====Start=====
 +
 +{|style="font-size:85%; border:solid 2px; width: 50%;"
 +|style="font-size:150%;  padding: 2px" colspan="2" | **Start Restock**
 +|- style="background-color:#f0f0f0;"
 +|**Syntax**
 +|style="width: 90%" | Restock.FStart( )
 +|-
 +|colspan="2" |**Description:**
 +|-
 +|colspan="2" |Start Restock engine.
 +|- style="background-color:#f0f0f0;"
 +|**Returns**
 +|void
 +|-
 +|**In Object:**
 +|Restock
 +|- style="background-color:#f0f0f0;"
 +|**Parameters:**
 +|none
 +
 +|}
 +
 +=====Stop=====
 +
 +{|style="font-size:85%; border:solid 2px; width: 50%;"
 +|style="font-size:150%;  padding: 2px" colspan="2" | **Stop Restock engine**
 +|- style="background-color:#f0f0f0;"
 +|**Syntax**
 +|style="width: 90%" | Restock.FStop( )
 +|-
 +|colspan="2" |**Description:**
 +|-
 +|colspan="2" |Stop Restock engine.
 +|- style="background-color:#f0f0f0;"
 +|**Returns**
 +|void
 +|-
 +|**In Object:**
 +|Restock
 +|- style="background-color:#f0f0f0;"
 +|**Parameters:**
 +|none
 +
 +|}
 +
 +=====Change List=====
 +
 +{|style="font-size:85%; border:solid 2px; width: 50%;"
 +|style="font-size:150%;  padding: 2px" colspan="2" | **Change Restock item list**
 +|- style="background-color:#f0f0f0;"
 +|**Syntax**
 +|style="width: 90%" | Restock.ChangeList(string)
 +|-
 +|colspan="2" |**Description:**
 +|-
 +|colspan="2" |Change list of Restock item, List must be exist in organizer GUI configuration
 +|- style="background-color:#f0f0f0;"
 +|**Returns**
 +|void
 +|-
 +|**In Object:**
 +|Restock
 +|- style="background-color:#f0f0f0;"
 +|**Parameters:**
 +|ListName
 +
 +|}
  
restock_func.txt · Last modified: 2022/09/03 23:25 by 127.0.0.1

Exception: Git command failed to perform periodic pull: From https://github.com/RazorEnhanced/razorenhanced.github.io * branch main -> FETCH_HEAD error

Exception: Git command failed to perform periodic pull: From https://github.com/RazorEnhanced/razorenhanced.github.io * branch main -> FETCH_HEAD error

An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the gitbacked plugin.

More info has been written to the DokuWiki error log.