当前位置: 首页>>代码示例>>Java>>正文


Java INetworkWrapper类代码示例

本文整理汇总了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);
}
 
开发者ID:InfinityRaider,项目名称:3DManeuverGear,代码行数:9,代码来源:ManeuverGear.java

示例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);
}
 
开发者ID:InfinityRaider,项目名称:SettlerCraft,代码行数:14,代码来源:SettlerCraft.java

示例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);
}
 
开发者ID:AgriCraft,项目名称:AgriCraft,代码行数:13,代码来源:AgriCraft.java

示例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);
}
 
开发者ID:InfinityRaider,项目名称:NinjaGear,代码行数:7,代码来源:NinjaGear.java

示例5: registerMessages

import com.infinityraider.infinitylib.network.INetworkWrapper; //导入依赖的package包/类
@Override
public void registerMessages(INetworkWrapper wrapper) {
    wrapper.registerMessage(MessageRequestBoatSync.class);
    wrapper.registerMessage(MessageSyncBoatId.class);
}
 
开发者ID:InfinityRaider,项目名称:Boatifull,代码行数:6,代码来源:Boatifull.java

示例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));
}
 
开发者ID:InfinityRaider,项目名称:InfinityLib,代码行数:7,代码来源:InfinityLib.java

示例7: registerMessages

import com.infinityraider.infinitylib.network.INetworkWrapper; //导入依赖的package包/类
@Override
public void registerMessages(INetworkWrapper wrapper) {
    wrapper.registerMessage(MessageSyncState.class);
}
 
开发者ID:InfinityRaider,项目名称:InfinityLib,代码行数:5,代码来源:ModulePlayerState.java

示例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);
}
 
开发者ID:InfinityRaider,项目名称:InfinityLib,代码行数:7,代码来源:ModuleDualWield.java

示例9: registerMessages

import com.infinityraider.infinitylib.network.INetworkWrapper; //导入依赖的package包/类
@Override
public void registerMessages(INetworkWrapper wrapper) {
    wrapper.registerMessage(MessageSyncPotions.class);
}
 
开发者ID:InfinityRaider,项目名称:InfinityLib,代码行数:5,代码来源:ModuleSpecialPotion.java

示例10: getNetworkWrapper

import com.infinityraider.infinitylib.network.INetworkWrapper; //导入依赖的package包/类
public final INetworkWrapper getNetworkWrapper() {
    return this.networkWrapper;
}
 
开发者ID:InfinityRaider,项目名称:InfinityLib,代码行数:4,代码来源:InfinityMod.java

示例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) {}
 
开发者ID:InfinityRaider,项目名称:InfinityLib,代码行数:6,代码来源:InfinityMod.java

示例12: registerMessages

import com.infinityraider.infinitylib.network.INetworkWrapper; //导入依赖的package包/类
public void registerMessages(INetworkWrapper wrapper) {} 
开发者ID:InfinityRaider,项目名称:InfinityLib,代码行数:2,代码来源:Module.java


注:本文中的com.infinityraider.infinitylib.network.INetworkWrapper类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。