Package zombie.inventory.types
Class Radio
java.lang.Object
zombie.inventory.InventoryItem
zombie.inventory.types.Moveable
zombie.inventory.types.Radio
- All Implemented Interfaces:
Talker
,IUpdater
,WaveSignalDevice
Turbo
-
Field Summary
Fields inherited from class zombie.inventory.InventoryItem
atlasTexture, byteData, CanStack, CanStoreWater, CloseKillMove, col, Cooked, extraItems, fatigueChange, id, IsWaterSource, jobDelta, jobType, keepOnDeplete, mainCategory, ReplaceOnUseOn, RequiresEquippedBothHands, worldItem, worldScale, worldZRotation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
AddDeviceText
(String line, float r, float g, float b, String guid, String codes, int distance) void
AddDeviceText
(ChatMessage msg, float r, float g, float b, String guid, String codes, int distance) void
doReceiveSignal
(int distance) float
getDelta()
int
float
getX()
float
getY()
float
getZ()
boolean
boolean
void
load
(ByteBuffer input, int WorldVersion) boolean
ReadFromWorldSprite
(String sprite) void
render()
void
void
save
(ByteBuffer output, boolean net) void
void
setDelta
(float delta) void
setDeviceData
(DeviceData data) void
update()
Methods inherited from class zombie.inventory.types.Moveable
CanBeDroppedOnFloor, getCustomNameFull, getDisplayName, getLightB, getLightBulbItem, getLightDelta, getLightG, getLightPower, getLightR, getMovableFullName, getName, getSpriteGrid, getWorldSprite, isLight, isLightHasBattery, isLightUseBattery, isMultiGridAnchor, setLight, setLightB, setLightBulbItem, setLightDelta, setLightG, setLightHasBattery, setLightPower, setLightR, setLightUseBattery, setWorldSprite
Methods inherited from class zombie.inventory.InventoryItem
addExtraItem, allowRandomTint, canBeActivated, canBeRemote, canEmitLight, CanStack, canStoreWater, copyConditionModData, copyModData, CopyModData, doBuildingStash, DoTooltip, DoTooltip, finishupdate, getA, getActualWeight, getAge, getAlcoholPower, getAlternateModelName, getAmmoType, getAttachedSlot, getAttachedSlotType, getAttachedToModel, getAttachmentReplacement, getAttachmentsProvided, getAttachmentType, getB, getBandagePower, getBlood, getBloodClothingType, getBodyLocation, getBoredomChange, getBrakeForce, getBreakSound, getBringToBearSound, getBurntString, getByteData, getCat, getCategory, getChanceToSpawnDamaged, getCleanString, getClothingItem, getClothingItemExtra, getClothingItemExtraOption, getClothingItemName, getColor, getColorBlue, getColorGreen, getColorInfo, getColorRed, getCondition, getConditionLowerNormal, getConditionLowerOffroad, getConditionMax, getConsolidateOption, getContainer, getContainerX, getContainerY, getContentsWeight, getCookedString, getCookingTime, getCount, getCountDownSound, getCurrentAmmoCount, getCurrentCondition, getCurrentUses, getCustomMenuOption, getDescription, getDirt, getDisplayCategory, getEatType, getEngineLoudness, getEquipParent, getEquippedWeight, getEquipSound, getEvolvedRecipeName, getExplosionSound, getExtraItems, getExtraItemsWeight, getFabricType, getFatigueChange, getFillFromDispenserSound, getFillFromTapSound, getFullType, getG, getGunType, getHaveBeenRepaired, getHotbarEquippedWeight, getIconsForTexture, getID, getInvHeat, getItemCapacity, getItemHeat, getItemReplacementPrimaryHand, getItemReplacementSecondHand, getItemWhenDry, getJobDelta, getJobType, getKeyId, getLastAged, getLightDistance, getLightStrength, getLuaCreate, getMakeUpType, getMaxAmmo, getMaxCapacity, getMechanicType, getMediaData, getMediaType, getMeltingTime, getMetalValue, getMinutesToBurn, getMinutesToCook, getModData, getModID, getModName, getModule, getNewPlaceDir, getOffAge, getOffAgeMax, getOffString, getOutermostContainer, getPlaceDir, getPlaceMultipleSound, getPlaceOneSound, getPreviousOwner, getR, getRecordedMediaIndex, getReduceInfectionPower, getRegistry_id, getRemoteControlID, getRemoteRange, getReplaceOnUse, getReplaceOnUseFullType, getReplaceOnUseOn, getReplaceOnUseOnString, getReplaceType, getReplaceTypes, getReplaceTypesMap, getRequireInHandOrInventory, getRightClickContainer, getScore, getScriptItem, getSoundByID, getSoundParameter, getStashChance, getStaticModel, getStressChange, getStringItemType, getSuspensionCompression, getSuspensionDamping, getSwingAnim, getTags, getTaken, getTex, getTexture, getTextureBurnt, getTextureCooked, getTexturerotten, getTooltip, getTorchDot, getType, getUnCookedString, getUnequippedWeight, getUnequipSound, getUnhappyChange, getUses, getVisual, getWeight, getWetCooldown, getWheelFriction, getWorker, getWorldItem, getWorldStaticItem, getWorldTexture, hasBlood, hasDirt, hasModData, hasReplaceType, hasTag, haveExtraItems, HowRotten, initialiseItem, isActivated, isAlcoholic, isAlwaysWelcomeGift, isBeingFilled, isBroken, isBurnt, isCanBandage, IsClothing, isConditionAffectsCapacity, isCookable, isCooked, isCustomColor, isCustomName, isCustomWeight, isDisappearOnUse, IsDrainable, isEmittingLight, isEquipped, isEquippedNoSprint, isFavorite, isFishingLure, IsFood, isHairDye, isHidden, isInfected, isInitialised, isInLocalPlayerInventory, isInPlayerInventory, IsInventoryContainer, isIsCookable, IsLiterature, IsMap, isProtectFromRainWhileEquipped, isRecordedMedia, isRemoteController, isRequiresEquippedBothHands, IsRotten, isTaintedWater, isTorchCone, isTrap, isTwoHandWeapon, isUseWorldItem, isVanilla, isWaterSource, IsWeapon, isWet, loadItem, loadItem, ModDataMatches, saveWithSize, setActivated, setActivatedRemote, setActualWeight, setAge, setAlcoholic, setAlcoholPower, setAmmoType, setAttachedSlot, setAttachedSlotType, setAttachedToModel, setAttachmentReplacement, setAttachmentsProvided, setAttachmentType, setAutoAge, setBandagePower, setBeingFilled, setBlood, setBloodClothingType, setBoredomChange, setBrakeForce, setBreakSound, setBroken, setBurnt, setBurntString, setCanBeActivated, setCanBeRemote, setCat, setChanceToSpawnDamaged, setColor, setColorBlue, setColorGreen, setColorRed, setCondition, setCondition, setConditionFromModData, setConditionLowerNormal, setConditionLowerOffroad, setConditionMax, setContainer, SetContainerPosition, setContainerX, setContainerY, setCooked, setCookedString, setCookingTime, setCount, setCountDownSound, setCurrentAmmoCount, setCustomColor, setCustomMenuOption, setCustomName, setCustomWeight, setDescription, setDirt, setDisplayCategory, setEngineLoudness, setEquipParent, setEvolvedRecipeName, setExplosionSound, setFatigueChange, setFavorite, setGunType, setHaveBeenRepaired, setIconsForTexture, setID, setInfected, setInitialised, setIsCookable, setIsWaterSource, setItemCapacity, setItemHeat, setItemWhenDry, setJobDelta, setJobType, setKeyId, setLastAged, setLightDistance, setLightStrength, setMaxAmmo, setMaxCapacity, setMediaType, setMeltingTime, setMetalValue, setMinutesToBurn, setMinutesToCook, setModule, setName, setNewPlaceDir, setOffAge, setOffAgeMax, setOffString, setPlaceDir, setPreviousOwner, setRecordedMediaData, setRecordedMediaIndex, setRecordedMediaIndexInteger, setReduceInfectionPower, setRegistry_id, setRemoteControlID, setRemoteController, setRemoteRange, setReplaceOnUse, setReplaceOnUseOn, setRequireInHandOrInventory, setRightClickContainer, setScriptItem, setStashChance, setStashMap, setStressChange, setSuspensionCompression, setSuspensionDamping, setTaintedWater, setTaken, setTexture, setTextureBurnt, setTextureCooked, setTexturerotten, setTooltip, setTorchCone, setType, setUnCookedString, setUnhappyChange, setUses, setWeight, setWet, setWetCooldown, setWheelFriction, setWorker, setWorldItem, setWorldScale, setWorldTexture, setWorldZRotation, shouldUpdateInWorld, storeInByteData, synchWithVisual, updateAge, updateSound, Use, Use, Use, UseItem
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.radio.devices.WaveSignalDevice
AddDeviceText
-
Constructor Details
-
Radio
-
-
Method Details
-
getDeviceData
- Specified by:
getDeviceData
in interfaceWaveSignalDevice
-
setDeviceData
- Specified by:
setDeviceData
in interfaceWaveSignalDevice
-
doReceiveSignal
public void doReceiveSignal(int distance) -
AddDeviceText
public void AddDeviceText(String line, float r, float g, float b, String guid, String codes, int distance) - Specified by:
AddDeviceText
in interfaceWaveSignalDevice
-
AddDeviceText
public void AddDeviceText(ChatMessage msg, float r, float g, float b, String guid, String codes, int distance) -
HasPlayerInRange
public boolean HasPlayerInRange()- Specified by:
HasPlayerInRange
in interfaceWaveSignalDevice
-
ReadFromWorldSprite
- Overrides:
ReadFromWorldSprite
in classMoveable
-
getSaveType
public int getSaveType()- Overrides:
getSaveType
in classMoveable
-
getDelta
public float getDelta()- Specified by:
getDelta
in interfaceWaveSignalDevice
-
setDelta
public void setDelta(float delta) - Specified by:
setDelta
in interfaceWaveSignalDevice
-
getSquare
- Specified by:
getSquare
in interfaceWaveSignalDevice
-
getX
public float getX()- Specified by:
getX
in interfaceWaveSignalDevice
-
getY
public float getY()- Specified by:
getY
in interfaceWaveSignalDevice
-
getZ
public float getZ()- Specified by:
getZ
in interfaceWaveSignalDevice
-
getPlayer
-
render
public void render() -
renderlast
public void renderlast()- Specified by:
renderlast
in interfaceIUpdater
-
update
public void update()- Specified by:
update
in interfaceIUpdater
- Overrides:
update
in classInventoryItem
-
IsSpeaking
public boolean IsSpeaking()- Specified by:
IsSpeaking
in interfaceTalker
-
Say
-
getSayLine
- Specified by:
getSayLine
in interfaceTalker
-
getTalkerType
- Specified by:
getTalkerType
in interfaceTalker
-
save
- Overrides:
save
in classMoveable
- Throws:
IOException
-
load
- Overrides:
load
in classMoveable
- Throws:
IOException
-