MCPcopy Create free account
hub / github.com/Frontrooms/3.0-GC / abilityHash

Method abilityHash

src/main/java/emu/grasscutter/utils/Utils.java:98–105  ·  view source on GitHub ↗
(String str)

Source from the content-addressed store, hash-verified

96 }
97
98 public static int abilityHash(String str) {
99 int v7 = 0;
100 int v8 = 0;
101 while (v8 < str.length()) {
102 v7 = str.charAt(v8++) + 131 * v7;
103 }
104 return v7;
105 }
106
107 /**
108 * Creates a string with the path to a file.

Callers 5

GameConstantsClass · 0.95
ElementTypeMethod · 0.95
onLoadMethod · 0.95
setAbilitiesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected