MCPcopy Create free account
hub / github.com/e2wugui/zeze / getTypeId

Method getTypeId

ZezeJava/ZezeJava/src/main/java/Zeze/Net/Protocol.java:133–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131 public abstract int getProtocolId();
132
133 public long getTypeId() {
134 return makeTypeId(getModuleId(), getProtocolId());
135 }
136
137 public static long makeTypeId(int moduleId, int protocolId) {
138 return (long)moduleId << 32 | (protocolId & 0xffff_ffffL);

Callers

nothing calls this directly

Calls 3

makeTypeIdMethod · 0.95
getModuleIdMethod · 0.95
getProtocolIdMethod · 0.95

Tested by

no test coverage detected