本文整理汇总了Java中com.infinityraider.infinitylib.network.INetworkWrapper类的典型用法代码示例。如果您正苦于以下问题:Java INetworkWrapper类的具体用法?Java INetworkWrapper怎么用?Java INetworkWrapper使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
INetworkWrapper类属于com.infinityraider.infinitylib.network包,在下文中一共展示了INetworkWrapper类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: registerMessages
import com.infinityraider.infinitylib.network.INetworkWrapper; //导入依赖的package包/类
@Override
public void registerMessages(INetworkWrapper wrapper) {
wrapper.registerMessage(MessageBoostUsed.class);
wrapper.registerMessage(MessageDartAnchored.class);
wrapper.registerMessage(MessageEquipManeuverGear.class);
wrapper.registerMessage(MessageManeuverGearEquipped.class);
wrapper.registerMessage(MessageSpawnSteamParticles.class);
}
示例2: registerMessages
import com.infinityraider.infinitylib.network.INetworkWrapper; //导入依赖的package包/类
@Override
public void registerMessages(INetworkWrapper wrapper) {
wrapper.registerMessage(MessageCloseContainer.class);
wrapper.registerMessage(MessageDialogueOptionSelected.class);
wrapper.registerMessage(MessageSettlerInteractWithEntity.class);
wrapper.registerMessage(MessageSettlerLeftClickEntity.class);
wrapper.registerMessage(MessageSettlerRightClickAir.class);
wrapper.registerMessage(MessageSettlerRightClickItem.class);
wrapper.registerMessage(MessageSettlerSleeping.class);
wrapper.registerMessage(MessageSyncBuildingsToClient.class);
wrapper.registerMessage(MessageSyncDialogueText.class);
wrapper.registerMessage(MessageSyncSettlementsToClient.class);
}
示例3: registerMessages
import com.infinityraider.infinitylib.network.INetworkWrapper; //导入依赖的package包/类
@Override
public void registerMessages(INetworkWrapper wrapper) {
wrapper.registerMessage(MessageContainerSeedStorage.class);
wrapper.registerMessage(MessageFertilizerApplied.class);
wrapper.registerMessage(MessageGuiSeedStorageClearSeed.class);
wrapper.registerMessage(MessagePeripheralCheckNeighbours.class);
wrapper.registerMessage(MessageSyncFluidLevel.class);
wrapper.registerMessage(MessageTileEntitySeedStorage.class);
wrapper.registerMessage(MessageSyncSoilJson.class);
wrapper.registerMessage(MessageSyncPlantJson.class);
wrapper.registerMessage(MessageSyncMutationJson.class);
}
示例4: registerMessages
import com.infinityraider.infinitylib.network.INetworkWrapper; //导入依赖的package包/类
@Override
public void registerMessages(INetworkWrapper wrapper) {
wrapper.registerMessage(MessageInvisibility.class);
wrapper.registerMessage(MessageUpdateGadgetRenderMaskClient.class);
wrapper.registerMessage(MessageUpdateGadgetRenderMaskServer.class);
}
示例5: registerMessages
import com.infinityraider.infinitylib.network.INetworkWrapper; //导入依赖的package包/类
@Override
public void registerMessages(INetworkWrapper wrapper) {
wrapper.registerMessage(MessageRequestBoatSync.class);
wrapper.registerMessage(MessageSyncBoatId.class);
}
示例6: registerMessages
import com.infinityraider.infinitylib.network.INetworkWrapper; //导入依赖的package包/类
@Override
public void registerMessages(INetworkWrapper wrapper) {
wrapper.registerMessage(MessageSetEntityDead.class);
wrapper.registerMessage(MessageSyncTile.class);
Module.getActiveModules().stream().sorted().forEach(m -> m.registerMessages(wrapper));
}
示例7: registerMessages
import com.infinityraider.infinitylib.network.INetworkWrapper; //导入依赖的package包/类
@Override
public void registerMessages(INetworkWrapper wrapper) {
wrapper.registerMessage(MessageSyncState.class);
}
示例8: registerMessages
import com.infinityraider.infinitylib.network.INetworkWrapper; //导入依赖的package包/类
@Override
public void registerMessages(INetworkWrapper wrapper) {
wrapper.registerMessage(MessageAttackDualWielded.class);
wrapper.registerMessage(MessageMouseButtonPressed.class);
wrapper.registerMessage(MessageSwingArm.class);
}
示例9: registerMessages
import com.infinityraider.infinitylib.network.INetworkWrapper; //导入依赖的package包/类
@Override
public void registerMessages(INetworkWrapper wrapper) {
wrapper.registerMessage(MessageSyncPotions.class);
}
示例10: getNetworkWrapper
import com.infinityraider.infinitylib.network.INetworkWrapper; //导入依赖的package包/类
public final INetworkWrapper getNetworkWrapper() {
return this.networkWrapper;
}
示例11: registerMessages
import com.infinityraider.infinitylib.network.INetworkWrapper; //导入依赖的package包/类
/**
* Register all messages added by this mod
* @param wrapper NetworkWrapper instance to register messages to
*/
public void registerMessages(INetworkWrapper wrapper) {}
示例12: registerMessages
import com.infinityraider.infinitylib.network.INetworkWrapper; //导入依赖的package包/类
public void registerMessages(INetworkWrapper wrapper) {}