e2 docs custom remoteupload - wiremod/wire GitHub Wiki

Jump to table of contents

Custom/remoteupload

Entity:remoteUpload(String Filepath)

Uploads the code from your computer to the server (1000 ops)

Entity:remoteSetCode(String Code)

Sets the E2's code with main file (250 ops)

Entity:remoteSetCode(String Main, Table Includes)

Sets the E2's code with main file & includes (250 ops)

String = getCode()

Returns the code of the E2 as a string (20 ops)

Table = getCodeIncludes()

Returns a table where indices (keys) are names of included files and entries are their codes (20 ops)