MCPcopy Create free account
hub / github.com/axhlzy/Il2CppHookScripts / getLine

Function getLine

Il2cppHook/_Ufunc.js:8877–8887  ·  view source on GitHub ↗
(length, fillStr = "-")

Source from the content-addressed store, hash-verified

8875exports.printLogColors = printLogColors;
8876let linesMap = new Map();
8877const getLine = (length, fillStr = "-") => {
8878 if (length == 0)
8879 return "";
8880 let key = length + "|" + fillStr;
8881 if (linesMap.get(key) != null)
8882 return linesMap.get(key);
8883 for (var index = 0, tmpRet = ""; index < length; index++)
8884 tmpRet += fillStr;
8885 linesMap.set(key, tmpRet);
8886 return tmpRet;
8887};
8888exports.getLine = getLine;
8889globalThis.LOG = exports.LOG;
8890globalThis.LOGJSON = exports.LOGJSON;

Callers 15

showImagesMethod · 0.70
showClassesMethod · 0.70
showMethodsMethod · 0.70
findMethodSyncMethod · 0.70
listFieldsFromClsMethod · 0.70
innerImageMethod · 0.70
attachMethodInfoMethod · 0.70
onEnterMethod · 0.70
BreakerClass · 0.70
_Ufunc.jsFile · 0.70
toSimpleStringMethod · 0.70
toShowMethod · 0.70

Calls 2

getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected