Conversion - lnx00/Lmaobox-Library GitHub Wiki

lnxLib.Utils.Conversion

Contains utils to convert various values.

Functions

  • .ID3_to_ID64(steamID3) Converts the given SteamID3 to a SteamID64.
  • .ID64_to_ID3(steamID64) Converts the given SteamID64 to a SteamID3.
  • .Hex_to_RGB(pHex) Converts the given Hex string to RGB values.
  • .RGB_to_Hex(r, g, b) Converts the given RGB values to a Hex string.
  • .HSV_to_RGB(h, s, v) Converts the given HSV values to RGB values.
  • .RGB_to_HSV(r, g, b) Converts the given RGB values to HSV values.
  • .Time_to_Ticks(time) Calculates the given time into game ticks.
  • .Ticks_to_Time(ticks) Calculates the given ticks into time.