本文整理汇总了Java中com.infinityraider.infinitylib.network.INetworkWrapper.registerMessage方法的典型用法代码示例。如果您正苦于以下问题:Java INetworkWrapper.registerMessage方法的具体用法?Java INetworkWrapper.registerMessage怎么用?Java INetworkWrapper.registerMessage使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.infinityraider.infinitylib.network.INetworkWrapper
的用法示例。
在下文中一共展示了INetworkWrapper.registerMessage方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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);
}