MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / getStatus

Method getStatus

src/main/java/Client/StatusList.java:106–113  ·  view source on GitHub ↗
(final int status)

Source from the content-addressed store, hash-verified

104 }
105
106 public ExtendedStatus getStatus(final int status) {
107 ExtendedStatus es=null;
108 for (Enumeration e=statusList.elements(); e.hasMoreElements(); ){
109 es=(ExtendedStatus)e.nextElement();
110 if (status==es.getImageIndex()) break;
111 }
112 return es;
113 }
114}

Callers 7

setAutoAwayMethod · 0.45
setAutoXaMethod · 0.45
restoreStatusMethod · 0.45
sendPresenceMethod · 0.45
sendDirectPresenceMethod · 0.45
messageStoreMethod · 0.45
logoffMethod · 0.45

Calls 2

getImageIndexMethod · 0.95
elementsMethod · 0.80

Tested by

no test coverage detected