Package com.golden.gamedev.engine.network.packet

Examples of com.golden.gamedev.engine.network.packet.NetworkObject


  public static void registerPacket(short id, NetworkPacket packet) {
    NetworkConfig.packetManager.registerPacket(id, packet);
  }
 
  public static void registerPacket(short id, Class type, String description) {
    NetworkConfig.packetManager.registerPacket(id, new NetworkObject(id,
            type).setDescription(description));
  }
View Full Code Here


    NetworkConfig.packetManager.registerPacket(id, new NetworkObject(id,
            type).setDescription(description));
  }
 
  public static void registerPacket(short id, String description) {
    NetworkConfig.packetManager.registerPacket(id, new NetworkObject(id)
            .setDescription(description));
  }
View Full Code Here

TOP

Related Classes of com.golden.gamedev.engine.network.packet.NetworkObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.