Show / Hide Table of Contents

Enum BlockFunction.Function

The function name.

Namespace: RuriLib
Assembly: RuriLib.dll
Syntax
public enum Function

Fields

Name Description
AESDecrypt

Decrypts an AES-encrypted string.

AESEncrypt

Encrypts a string with AES.

Base64Decode

Decodes the string from a base64-encoded input.

Base64Encode

Encodes an input as a base64 string.

Ceil

Rounds a decimal input to the upper integer.

CharAt

Retrieves the character at a given index in the input string.

ClearCookies

Clears the cookie jar used for HTTP requests.

Compute

Computes mathematical operations between decimal numbers.

Constant

Simply replaced the variables of the input.

CountOccurrences

Counts the occurrences of a string in another string.

CurrentUnixTime

Retrieves the current time as a unix timestamp.

DateToUnixTime

Converts a formatted date to a unix timestamp.

Delay

Waits a given amount of milliseconds.

Floor

Rounds a decimal input to the lower integer.

GetRandomUA

Gets a valid random User-Agent header.

Hash

Hashes an input string.

HMAC

Generates a HMAC for a given string.

Length

Gets the length of a string.

RandomNum

Generates a random integer.

RegexMatch

Gets the first match for a specific regex pattern.

Replace

Replaces some text with something else, with or without using regex.

ReverseString

Reverses the input string.

Round

Rounds a decimal input to the nearest integer.

RSA

Encrypts a string with RSA given a Key.

Substring

Gets a substring of the input.

ToLowercase

Converts all uppercase caracters in a string to lowercase.

ToUppercase

Converts all lowercase characters in a string to uppercase.

Translate

Translates words in a given string.

Trim

Removes leading or trailing whitespaces from a string.

UnixTimeToDate

Converts a unix timestamp to a formatted date.

UnixTimeToISO8601

Converts a unix timestamp to the ISO8601 format.

URLDecode

Decodes a URL-encoded input.

URLEncode

Encodes the input to be used in a URL.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX