Advertisement
krot

jass common.j

May 7th, 2023
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. -- String Utility API
  2.  
  3. ---@param i integer
  4. ---@return real
  5. function I2R(i) end
  6.  
  7. ---@param r real
  8. ---@return integer
  9. function R2I(r) end
  10.  
  11. ---@param i integer
  12. ---@return string
  13. function I2S(i) end
  14.  
  15. ---@param r real
  16. ---@return string
  17. function R2S(r) end
  18.  
  19. ---@param r real
  20. ---@param width integer
  21. ---@param precision integer
  22. ---@return string
  23. function R2SW(r, width, precision) end
  24.  
  25. ---@param s string
  26. ---@return integer
  27. function S2I(s) end
  28.  
  29. ---@param s string
  30. ---@return real
  31. function S2R(s) end
  32.  
  33. ---@param h handle
  34. ---@return integer
  35. function GetHandleId(h) end
  36.  
  37. ---@param source string
  38. ---@param start integer
  39. ---@param ending integer
  40. ---@return string
  41. function SubString(source, start, ending) end
  42.  
  43. ---@param s string
  44. ---@return integer
  45. function StringLength(s) end
  46.  
  47. ---@param source string
  48. ---@param upper boolean
  49. ---@return string
  50. function StringCase(source, upper) end
  51.  
  52. ---@param s string
  53. ---@return integer
  54. function StringHash(s) end
  55.  
  56.  
  57. ---@param source string
  58. ---@return string
  59. function GetLocalizedString(source) end
  60.  
  61. ---@param source string
  62. ---@return integer
  63. function GetLocalizedHotkey(source) end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement