MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / getActName

Method getActName

src/main/java/PEP/Activities.java:103–112  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

101
102
103 public String[] getActName(int index) {
104 String[] names = new String[2];
105 if (isGeneral(index)) {
106 names[0] = (String)actKey.elementAt(index);
107 } else {
108 names[0] = (String)actKey.elementAt(getGeneralFor(index));
109 names[1] = (String)actKey.elementAt(index);
110 }
111 return names;
112 }
113 public int getCount() {
114 return actKey.size();
115 }

Callers 1

publishMethod · 0.80

Calls 2

isGeneralMethod · 0.95
getGeneralForMethod · 0.95

Tested by

no test coverage detected