9577c53313
Added a new concept of NetworkId, allowing to transfer ids over the network instead of strings. RPCs are now all handled the same way (except RPC Pipes, to be completed when actually used).
14 lines
165 B
Java
Executable file
14 lines
165 B
Java
Executable file
package buildcraft.core.network.serializers;
|
|
|
|
public class NetworkId {
|
|
|
|
private String str;
|
|
private String id;
|
|
|
|
public NetworkId(String str) {
|
|
id = str;
|
|
}
|
|
|
|
|
|
}
|