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

Method makeTypeId

ZezeJava/ZezeJava/src/main/java/Zeze/Net/Protocol.java:137–139  ·  view source on GitHub ↗
(int moduleId, int protocolId)

Source from the content-addressed store, hash-verified

135 }
136
137 public static long makeTypeId(int moduleId, int protocolId) {
138 return (long)moduleId << 32 | (protocolId & 0xffff_ffffL);
139 }
140
141 public static int getModuleId(long typeId) {
142 return (int)(typeId >> 32);

Callers 15

createDispatchMethod · 0.95
getTypeIdMethod · 0.95
sendResponseMethod · 0.95
getTypeIdMethod · 0.95
setRoleProtocolAuthMethod · 0.95
setRoleModuleAuthMethod · 0.95
getAccountAuthMethod · 0.95
getTypeIdMethod · 0.95
decodeMethod · 0.95
KeyExchangeClass · 0.95
LogoutClass · 0.80
RegisterClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected