Class LuaManager.GlobalObject
java.lang.Object
zombie.Lua.LuaManager.GlobalObject
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
acceptFactionInvite
(Faction faction, String host) static void
acceptSafehouseInvite
(SafeHouse safeHouse, String string, IsoPlayer isoPlayer) static void
acceptTrading
(IsoPlayer you, IsoPlayer other, boolean accept) static void
static void
static void
static void
static void
static void
static void
static void
static void
addAllVehicles
(Predicate<VehicleScript> predicate) static IsoAnimal
addAnimal
(IsoCell isoCell, int int0, int int1, int int2, String string, AnimalBreed animalBreed) static IsoAnimal
addAnimal
(IsoCell isoCell, int int0, int int1, int int2, String string, AnimalBreed animalBreed, boolean boolean0) static void
addAreaHighlight
(int int0, int int1, int int2, int int3, int int4, float float0, float float1, float float2, float float3) static void
addAreaHighlightForPlayer
(int int0, int int1, int int2, int int3, int int4, int int5, float float0, float float1, float float2, float float3) void
addBloodSplat
(IsoGridSquare sq, int nbr) void
addBloodSplat
(IsoGridSquare isoGridSquare, int int1, float float1, float float0) static void
static void
AddNoiseToken
(IsoGridSquare sq, int radius) static BaseVehicle
static void
void
static void
static void
addUserlog
(String user, String type, String text) static void
addVariableToSyncList
(String string) static BaseVehicle
addVehicle
(String string, int int1, int int0, int int2) static BaseVehicle
addVehicleDebug
(String scriptName, IsoDirections dir, Integer skinIndex, IsoGridSquare sq) static void
addVirtualZombie
(int x, int y) static void
addWarningPoint
(String user, String reason, int amount) static void
AddWorldSound
(IsoPlayer player, int radius, int volume) void
addXp
(IsoPlayer isoPlayer, PerkFactory.Perk perk, float float0) void
addXpMultiplier
(IsoPlayer isoPlayer, PerkFactory.Perk perk, float float0, int int0, int int1) void
addXpNoMultiplier
(IsoPlayer isoPlayer, PerkFactory.Perk perk, float float0) void
addZombiesEating
(int x, int y, int z, int totalZombies, boolean skeletonBody) addZombiesInBuilding
(BuildingDef def, int totalZombies, String outfit, RoomDef room, Integer femaleChance) addZombiesInOutfit
(int x, int y, int z, int totalZombies, String outfit, Integer femaleChance) addZombiesInOutfit
(int int0, int int1, int int2, int int3, String string, Integer integer, boolean boolean0, boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4, boolean boolean5, float float0) addZombiesInOutfit
(int int0, int int1, int int2, int int4, String string, Integer integer, boolean boolean1, boolean boolean3, boolean boolean2, boolean boolean0, boolean boolean4, boolean boolean5, float float0, boolean boolean6) addZombiesInOutfitArea
(int x1, int y1, int x2, int y2, int z, int totalZombies, String outfit, Integer femaleChance) void
addZombieSitting
(int x, int y, int z) static void
static void
attachTrailerToPlayerVehicle
(int playerIndex) static void
static void
static boolean
cacheFileExists
(String string1) static void
static Boolean
callLuaBool
(String string, Object object) callLuaReturn
(String string, ArrayList<Object> arrayList0) static boolean
static boolean
static boolean
Deprecated.static boolean
static byte
changeItemTypeTransaction
(IsoPlayer isoPlayer, InventoryItem inventoryItem, String string) static void
checkModsNeedUpdate
(UdpConnection udpConnection) static boolean
checkPermissions
(IsoPlayer isoPlayer, Capability capability) static Boolean
checkPlayerCanUseChat
(String chatCommand) static boolean
checkPlayerExistsInDatabase
(String string2, String string0, String string1) static boolean
static boolean
static boolean
checkServerName
(String name) static boolean
checkStringPattern
(String pattern) static void
static Item
cloneItemType
(String newName, String oldName) static void
configureLighting
(float darkStep) static void
connectionManagerLog
(String string0, String string1) static void
connectToServerStateCallback
(String button) static se.krka.kahlua.vm.KahluaTable
convertToPZNetTable
(se.krka.kahlua.vm.KahluaTable kahluaTable) static se.krka.kahlua.vm.KahluaTable
copyTable
(se.krka.kahlua.vm.KahluaTable kahluaTable) static se.krka.kahlua.vm.KahluaTable
copyTable
(se.krka.kahlua.vm.KahluaTable kahluaTable0, se.krka.kahlua.vm.KahluaTable kahluaTable1) static byte
createBuildAction
(IsoPlayer isoPlayer, float float0, float float1, float float2, boolean boolean0, String string1, se.krka.kahlua.vm.KahluaTable kahluaTable) static void
createHordeFromTo
(float spawnX, float spawnY, float targetX, float targetY, int count) static void
createHordeInAreaTo
(int spawnX, int spawnY, int spawnW, int spawnH, int targetX, int targetY, int count) static byte
createItemTransaction
(IsoPlayer isoPlayer, InventoryItem inventoryItem, ItemContainer itemContainer0, ItemContainer itemContainer1) static byte
createItemTransactionWithPosData
(IsoPlayer isoPlayer, InventoryItem inventoryItem, ItemContainer itemContainer0, ItemContainer itemContainer1, String string, float float0, float float1, float float2) Deprecated.static Item
static Texture
createQRCodeTex
(String string1, String string2) static IsoDeadBody
createRandomDeadBody
(IsoGridSquare square, int blood) static se.krka.kahlua.vm.KahluaTable
static void
createStory
(String storyName) static void
createTile
(String tile, IsoGridSquare square) static void
createWorld
(String worldName) static IsoZombie
createZombie
(float x, float y, float z, SurvivorDesc desc, int palette, IsoDirections dir) static void
debugFullyStreamedIn
(int x, int y) static void
debugLuaTable
(Object param) static void
debugLuaTable
(Object param, int depth) static void
debugSetRoomType
(Double roomType) static void
deleteAllGameModeSaves
(String gameMode) static void
deletePlayerFromDatabase
(String string2, String string0, String string1) static void
deletePlayerSave
(String fileName) static void
deleteRole
(String string) static void
deleteSandboxPreset
(String name) static void
deleteSave
(String file) static void
static void
displayLUATable
(se.krka.kahlua.vm.KahluaTable kahluaTable) static void
doChallenge
(se.krka.kahlua.vm.KahluaTable kahluaTable) static void
doKeyPress
(boolean doIt) static void
doLuaDebuggerAction
(String action) static void
doTutorial
(se.krka.kahlua.vm.KahluaTable kahluaTable) static void
drawOverheadMap
(UIElement uIElement, int int0, float float0, float float1, float float2) static void
emulateAnimEvent
(NetTimedAction netTimedAction, long long0, String string0, String string1) static void
emulateAnimEventOnce
(NetTimedAction netTimedAction, long long0, String string0, String string1) static void
static void
static void
static void
static void
executeQuery
(String string, se.krka.kahlua.vm.KahluaTable kahluaTable) static float
fastfloor
(float float0) static boolean
fileExists
(String filename) static void
focusOnTab
(Short id) static void
forceChangeState
(GameState state) static void
static void
static String
generateSecretKey
(String string) static String
static String
Deprecated.static int
getActionDuration
(byte byte0) static ArrayList
<AnimalDefinitions> getAllHairStyles
(boolean female) static se.krka.kahlua.vm.KahluaTable
getAllItemsForBodyLocation
(String string) getAllOutfits
(boolean female) static List
<BufferedReader> Deprecated.static ArrayList
<VoiceStyle> static BaseAmbientStreamManager
static ArrayList
<AnimalTracks> getAndFindNearestTracks
(IsoGameCharacter isoGameCharacter) static IsoAnimal
getAnimal
(int int0) static AnimalChunk
getAnimalChunk
(int int1, int int0) static AnimationViewerState
static AttachmentEditorState
static void
static BaseSoundBank
static BeardStyles
static IsoGameCharacter
static GameVersion
static int
getButtonCount
(int joypad) static int
getCallframeTop
(se.krka.kahlua.vm.Coroutine coroutine) static float
static float
static ArrayList
<Capability> static IsoCell
getCell()
static int
static int
static int
static int
static Double
static Double
static Double
static Field
getClassField
(Object o, int i) static Object
getClassFieldVal
(Object o, Field field) static Method
getClassFunction
(Object o, int i) static String
static ClimateManager
static ClimateMoon
static int
getControllerAxisCount
(int c) static float
getControllerAxisValue
(int c, int axis) static int
getControllerButtonCount
(int c) static int
static float
getControllerDeadZone
(int c, int axis) static String
getControllerGUID
(int joypad) static String
getControllerName
(int joypad) static float
getControllerPovX
(int c) static float
getControllerPovY
(int c) static Core
getCore()
static se.krka.kahlua.vm.LuaCallFrame
getCoroutineCallframeStack
(se.krka.kahlua.vm.Coroutine coroutine, int int0) static Object
getCoroutineObjStack
(se.krka.kahlua.vm.Coroutine coroutine, int int0) static Object
getCoroutineObjStackWithBase
(se.krka.kahlua.vm.Coroutine coroutine, int int0) static int
getCoroutineTop
(se.krka.kahlua.vm.Coroutine coroutine) long
long
static se.krka.kahlua.vm.Coroutine
static String
static String
static String
static void
getCustomizationData
(String string0, String string1, String string2, String string3, String string4, String string5, boolean boolean0) static void
static boolean
getDebug()
static DebugOptions
static IsoDirections
getDirectionTo
(IsoGameCharacter chara, IsoObject objTarget) static EditVehicleState
static ErosionMain
static Stack
<EvolvedRecipe> static IsoGameCharacter
static DataInputStream
getFileInput
(String filename) static String
getFilenameOfCallframe
(se.krka.kahlua.vm.LuaCallFrame luaCallFrame) static String
getFilenameOfClosure
(se.krka.kahlua.vm.LuaClosure luaClosure) static DataOutputStream
getFileOutput
(String filename) static BufferedReader
getFileReader
(String filename, boolean createIfNull) static String
getFileWriter
(String filename, boolean createIfNull, boolean append) static int
getFirstLineOfClosure
(se.krka.kahlua.vm.LuaClosure luaClosure) static BaseSoundBank
static se.krka.kahlua.vm.KahluaTable
static se.krka.kahlua.vm.KahluaTable
static GameClient
static DataInputStream
getGameFilesInput
(String filename) static BufferedReader
getGameFilesTextInput
(String filename) static int
static GameTime
static long
static String
long
long
static HairStyles
static String
static IsoHutch
getHutch
(int int0, int int1, int int2) static ArrayList
<GameEntity> static IsoMarkers
static Item
static float
getItemActualWeight
(String string) static int
getItemConditionMax
(String string) static int
getItemCount
(String string) static String
getItemDisplayName
(String string) static String
getItemEvolvedRecipeName
(String string) static String
getItemFoodType
(String string) static String
getItemName
(String string0) static String
getItemNameFromFullType
(String fullType) static String
getItemStaticModel
(String string) static Texture
getItemTex
(String string) static String
getItemText
(String txt) static String
getItemTextureName
(String string) static int
getItemTransactionDuration
(byte byte0) static float
getItemWeight
(String string) static int
getJoypadAButton
(int joypad) static float
getJoypadAimingAxisX
(int joypad) static float
getJoypadAimingAxisY
(int joypad) static int
getJoypadBackButton
(int joypad) static int
getJoypadBButton
(int joypad) static int
getJoypadLBumper
(int joypad) static int
getJoypadLeftStickButton
(int joypad) static float
getJoypadMovementAxisX
(int joypad) static float
getJoypadMovementAxisY
(int joypad) static int
getJoypadRBumper
(int joypad) static int
getJoypadRightStickButton
(int joypad) static int
getJoypadStartButton
(int joypad) static int
getJoypadXButton
(int joypad) static int
getJoypadYButton
(int joypad) static int
getKeyCode
(String keyName) static String
getKeyName
(int key) static String
getLastPlayedDate
(String filename) static String
static se.krka.kahlua.vm.KahluaTable
static int
getLineNumber
(se.krka.kahlua.vm.LuaCallFrame luaCallFrame) static String
getLoadedLua
(int n) static int
static int
getLocalVarCount
(se.krka.kahlua.vm.Coroutine coroutine) static int
getLocalVarCount
(se.krka.kahlua.vm.LuaCallFrame luaCallFrame) static String
getLocalVarName
(se.krka.kahlua.vm.Coroutine coroutine, int int0) static String
getLocalVarName
(se.krka.kahlua.vm.LuaCallFrame luaCallFrame, int int0) static int
getLocalVarStack
(se.krka.kahlua.vm.Coroutine coroutine, int int0) static int
getLocalVarStackIndex
(se.krka.kahlua.vm.LuaCallFrame luaCallFrame, int int0) static int
static se.krka.kahlua.vm.KahluaTable
getMapFoldersForMod
(String modID) static se.krka.kahlua.vm.KahluaTable
getMapInfo
(String string0) static int
static Double
static Double
static String
getMethodParameter
(Method o, int i) static int
static Double
static se.krka.kahlua.vm.KahluaTable
static BufferedReader
getModFileReader
(String modId, String filename, boolean createIfNull) getModFileWriter
(String modId, String filename, boolean createIfNull, boolean append) static ChooseGameInfo.Mod
getModInfo
(String modDir) static ChooseGameInfo.Mod
getModInfoByID
(String modID) getMods()
static int
static int
static int
static int
static se.krka.kahlua.vm.KahluaTable
static String
static int
static int
static int
static String
static se.krka.kahlua.vm.KahluaTable
getPacketCounts
(int int0) static PerformanceSettings
getPickedUpFish
(IsoPlayer isoPlayer) static IsoPlayer
static IsoPlayer
getPlayerByOnlineID
(int id) static IsoPlayer
getPlayerFromUsername
(String username) static se.krka.kahlua.vm.KahluaTable
getPlayerInfo
(IsoPlayer isoPlayer) static int
getPlayerScreenHeight
(int player) static int
getPlayerScreenLeft
(int player) static int
getPlayerScreenTop
(int player) static int
getPlayerScreenWidth
(int player) static se.krka.kahlua.vm.KahluaTable
static IsoPuddles
static RadioAPI
static String
getRadioText
(String txt) getRadioTranslators
(Language language) static RagdollSettingsManager
static String
static String
getRecipeDisplayName
(String name) static String
static Boolean
static SpriteRenderer
getRoles()
getSandboxFileWriter
(String filename, boolean createIfNull, boolean append) static SandboxOptions
getSaveDirectory
(String folder) static se.krka.kahlua.vm.KahluaTable
static se.krka.kahlua.vm.KahluaTable
getSaveInfo
(String string0) static String
getSaveName
(File file) static ScriptManager
static SeamEditorState
static SearchMode
static String
int
static String
static se.krka.kahlua.vm.KahluaTable
static String
static void
static String
static ServerOptions
static String
static String
static int
getServerSavedWorldVersion
(String saveFolder) static ServerSettingsManager
static se.krka.kahlua.vm.KahluaTable
static se.krka.kahlua.vm.KahluaTable
static boolean
static String
static SleepingEvent
static SLSoundManager
static BaseSoundManager
static IsoPlayer
getSpecificPlayer
(int player) static IsoSprite
static IsoSpriteManager
getSpriteManager
(String sprite) static SpriteModelEditorState
static IsoGridSquare
getSquare
(double x, double y, double z) static se.krka.kahlua.vm.KahluaTable
static Texture
getSteamAvatarFromSteamID
(String steamID) static Texture
getSteamAvatarFromUsername
(String username) static String
getSteamIDFromUsername
(String username) static Boolean
static String
getSteamProfileNameFromSteamID
(String steamID) static String
getSteamProfileNameFromUsername
(String username) static boolean
static ArrayList
<ChooseGameInfo.Mod> getSteamWorkshopItemMods
(String itemIDStr) static ArrayList
<SteamWorkshopItem> static Boolean
static void
getTableResult
(String tableName, int numberPerPages) static String
static String
static String
static String
static String
static TextManager
static String
getTextMediaEN
(String txt) static String
getTextOrNull
(String txt) static String
getTextOrNull
(String txt, Object arg1) static String
getTextOrNull
(String txt, Object arg1, Object arg2) static String
getTextOrNull
(String txt, Object arg1, Object arg2, Object arg3) static String
static Texture
getTexture
(String filename) static Texture
getTextureFromSaveDir
(String filename, String saveName) static void
getTickets
(String author) static TileGeometryState
static long
static long
static long
getTranslatorCredits
(Language language) static ArrayList
<NetworkUser> getUsers()
static BaseVehicle
getVehicleById
(int id) static se.krka.kahlua.vm.KahluaTable
getVehicleInfo
(BaseVehicle baseVehicle) static VehicleZone
getVehicleZoneAt
(int int0, int int1, int int2) static VideoTexture
static VoiceStyles
static WarManager.War
static ArrayList
<WarManager.War> getWars()
static IsoWorld
getWorld()
static WorldMarkers
static WorldSoundManager
static se.krka.kahlua.vm.KahluaTable
getZombieInfo
(IsoZombie isoZombie) static ZomboidRadio
static Zone
getZone
(int int0, int int1, int int2) getZones
(int x, int y, int z) static boolean
hasBreakpoint
(String file, int line) static boolean
hasDataBreakpoint
(se.krka.kahlua.vm.KahluaTable kahluaTable, Object object) static boolean
hasDataReadBreakpoint
(se.krka.kahlua.vm.KahluaTable kahluaTable, Object object) static boolean
hasItemTag
(String string0, String string1) static boolean
haveAccess
(String string) Deprecated.static void
static InventoryItem
instanceItem
(String item) static InventoryItem
instanceItem
(String string, float float0) static InventoryItem
instanceItem
(Item item) static boolean
static void
static void
inviteFriend
(String steamID) static void
InvMngGetItem
(long long0, String string0, int int0, String string1) static void
InvMngRemoveItem
(long long0, int int0, String string) static boolean
is64bit()
static boolean
isAccessLevel
(String accessLevel) Deprecated.static boolean
isActionDone
(byte byte0) static boolean
isActionRejected
(byte byte0) static boolean
isAdmin()
static boolean
static boolean
isClient()
static boolean
isControllerConnected
(int index) static boolean
static boolean
static boolean
isCurrentExecutionPoint
(String file, int line) static boolean
static boolean
isDemo()
static boolean
static boolean
static boolean
static boolean
static boolean
isItemFood
(String string) static boolean
isItemFresh
(String string, float float0) static boolean
isItemTransactionConsistent
(InventoryItem inventoryItem, ItemContainer itemContainer0, ItemContainer itemContainer1, String string) static boolean
isItemTransactionDone
(byte byte0) static boolean
isItemTransactionRejected
(byte byte0) static boolean
isJoypadConnected
(int index) static boolean
isJoypadDown
(int joypad) static boolean
isJoypadLBPressed
(int joypad) static boolean
isJoypadLeft
(int joypad) static boolean
isJoypadLeftStickButtonPressed
(int joypad) static boolean
isJoypadLTPressed
(int joypad) static boolean
isJoypadPressed
(int joypad, int button) static boolean
isJoypadRBPressed
(int joypad) static boolean
isJoypadRight
(int joypad) static boolean
isJoypadRightStickButtonPressed
(int joypad) static boolean
isJoypadRTPressed
(int joypad) static boolean
isJoypadUp
(int joypad) static boolean
isKeyDown
(int key) static boolean
static boolean
isKeyPressed
(int key) static boolean
isKeyPressed
(String string) static boolean
static boolean
isMouseButtonDown
(int number) static boolean
isMouseButtonPressed
(int int0) static boolean
static IsoRegionsRenderer
static float
isoToScreenX
(int player, float x, float y, float z) static float
isoToScreenY
(int player, float x, float y, float z) static boolean
isPlaystationController
(int int0) static boolean
static boolean
static boolean
isServer()
static boolean
static boolean
static boolean
static boolean
static boolean
isSoundPlaying
(Object sound) static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
isValidUserName
(String user) static boolean
static Object
javaListRemoveAt
(List<?> list, int int0) listFilesInModDirectory
(String string0, String string1) listFilesInZomboidLuaDirectory
(String string0) static Model
loadSkinnedZomboidModel
(String name, String loc, String tex) static Model
loadStaticZomboidModel
(String name, String loc, String tex) static Model
loadVehicleModel
(String name, String loc, String tex) static Model
loadZomboidModel
(String name, String mesh, String tex, String shader, boolean bStatic) static String
localVarName
(se.krka.kahlua.vm.Coroutine coroutine, int var1) static void
static void
luaDebug()
static void
manipulateSavefile
(String folder, String action) static String
moduleDotType
(String module, String type) static void
networkUserAction
(String string0, String string1, String string2) void
NewMapBinaryFile
(String string) static void
static void
static void
static void
playServerSound
(String sound, IsoGridSquare sq) static void
ProceedFactionMessage
(String message) static String
static void
ProcessAdminChatMessage
(String message) static void
processGeneralMessage
(String message) static void
ProcessSafehouseMessage
(String message) static void
processSayMessage
(String message) static void
processShoutMessage
(String message) static void
querySteamWorkshopItemDetails
(ArrayList<String> arrayList, se.krka.kahlua.vm.LuaClosure luaClosure, Object object) static void
queueCharEvent
(String eventChar) static void
queueKeyEvent
(int lwjglKeyCode) static void
rainConfig
(String cmd, int arg) static boolean
static void
refreshAnimSets
(boolean reload) static void
static void
static void
static void
static void
reloadEntityDebug
(GameEntity gameEntity) static void
reloadEntityFromScriptDebug
(GameEntity gameEntity) static void
static void
reloadLuaFile
(String filename) static void
reloadModelsMatching
(String meshName) static void
reloadScripts
(ScriptType scriptType) static void
reloadServerLuaFile
(String filename) static void
static void
static void
reloadVehicleTextures
(String scriptName) static void
static void
removeAction
(byte byte0, boolean boolean0) static void
removeAnimal
(int int0) static void
removeItemTransaction
(byte byte0, boolean boolean0) static void
removeTicket
(int ticketID) static void
removeUserlog
(String user, String type, String text) static boolean
renameSaveFile
(String gameMode, String oldName, String newName) void
Render3DItem
(InventoryItem item, IsoGridSquare sq, float xoffset, float yoffset, float zoffset, float rotation) static void
renderIsoCircle
(float x, float y, float z, float radius, float r, float g, float b, float a, int thickness) static void
renderIsoRect
(float float3, float float2, float float1, float float6, float float8, float float9, float float10, float float11, int int0) static void
renderLine
(float float0, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9) static void
replaceItemInContainer
(ItemContainer itemContainer, InventoryItem inventoryItem0, InventoryItem inventoryItem1) static String
replaceWith
(String toReplace, String regex, String by) static void
static void
static void
static void
requestTrading
(IsoPlayer you, IsoPlayer other) static void
requestUserlog
(String user) static void
static Object
static void
static void
static void
static String
sanitizeWorldName
(String worldName) static void
save
(boolean doCharacter) static void
saveControllerSettings
(int c) static void
saveGame()
static void
static void
static float
screenToIsoX
(int player, float x, float y, float z) static float
screenToIsoY
(int player, float x, float y, float z) void
void
static void
sendAddAnimalFromHandsInTrailer
(IsoAnimal isoAnimal, IsoPlayer isoPlayer, BaseVehicle baseVehicle) static void
sendAddAnimalFromHandsInTrailer
(IsoDeadBody isoDeadBody, IsoPlayer isoPlayer, BaseVehicle baseVehicle) static void
sendAddAnimalInTrailer
(IsoAnimal isoAnimal, IsoPlayer isoPlayer, BaseVehicle baseVehicle) static void
sendAddAnimalInTrailer
(IsoDeadBody isoDeadBody, IsoPlayer isoPlayer, BaseVehicle baseVehicle) static void
sendAddItemsToContainer
(ItemContainer itemContainer, ArrayList<InventoryItem> arrayList) static void
sendAddItemToContainer
(ItemContainer itemContainer, InventoryItem inventoryItem) void
sendAddXp
(IsoPlayer isoPlayer, PerkFactory.Perk perk, float float0, boolean boolean0) static void
sendAnimalGenome
(IsoAnimal isoAnimal) static void
sendAttachAnimalToPlayer
(IsoAnimal isoAnimal, IsoPlayer isoPlayer, IsoObject var2, boolean boolean0) static void
sendAttachAnimalToTree
(IsoAnimal isoAnimal, IsoPlayer isoPlayer, IsoObject isoObject, boolean boolean0) static void
sendButcherAnimal
(IsoDeadBody isoDeadBody, IsoPlayer isoPlayer) static void
sendClientCommand
(String string0, String string1, se.krka.kahlua.vm.KahluaTable kahluaTable) static void
sendClientCommand
(IsoPlayer isoPlayer, String string0, String string1, se.krka.kahlua.vm.KahluaTable kahluaTable) void
sendClientCommandV
(IsoPlayer isoPlayer, String string0, String string1, Object... object) static void
sendClothing
(IsoPlayer isoPlayer, String string, InventoryItem inventoryItem) static void
SendCommandToServer
(String command) static void
sendDamage
(IsoPlayer isoPlayer) static void
sendDebugStory
(IsoGridSquare isoGridSquare, int int0, String string) static void
static void
static void
sendFactionInvite
(Faction faction, IsoPlayer host, String invited) static void
sendFeedAnimalFromHand
(IsoAnimal isoAnimal, IsoPlayer isoPlayer, InventoryItem inventoryItem) static void
sendGoogleAuth
(String string0, String string1) static void
sendHitPlayer
(IsoPlayer isoPlayer, String string0, String string2, String string1, boolean boolean1, boolean boolean0, boolean boolean2, boolean boolean3) static void
sendHitVehicle
(IsoGameCharacter isoGameCharacter, String string2, boolean boolean0, String string1, String string0, boolean boolean1) static void
sendHumanVisual
(IsoPlayer isoPlayer) static void
sendHutchGrabAnimal
(IsoAnimal isoAnimal, IsoPlayer isoPlayer, IsoObject isoObject, InventoryItem inventoryItem) static void
sendHutchGrabCorpseAction
(IsoAnimal isoAnimal, IsoPlayer isoPlayer, IsoObject isoObject, InventoryItem inventoryItem) static void
sendHutchRemoveAnimalAction
(IsoAnimal isoAnimal, IsoPlayer isoPlayer, IsoObject isoObject) void
sendIconFound
(IsoPlayer isoPlayer, String string, float float0) static boolean
sendItemListNet
(IsoPlayer sender, ArrayList<InventoryItem> items, IsoPlayer receiver, String transferID, String custom) static void
sendItemsInContainer
(IsoObject obj, ItemContainer container) static void
sendItemStats
(InventoryItem inventoryItem) static void
sendPersonalColor
(IsoPlayer player) static void
sendPickupAnimal
(IsoAnimal isoAnimal, IsoPlayer isoPlayer, AnimalInventoryItem animalInventoryItem) static void
sendPing()
static void
sendPlayerEffects
(IsoPlayer isoPlayer) static void
static void
sendPlayerStatsChange
(IsoPlayer player) void
sendPlaySound
(String string, boolean boolean0, IsoMovingObject isoMovingObject) static void
sendRemoveAndGrabAnimalFromTrailer
(IsoAnimal isoAnimal, IsoPlayer isoPlayer, BaseVehicle baseVehicle, AnimalInventoryItem animalInventoryItem) static void
sendRemoveAndGrabAnimalFromTrailer
(IsoDeadBody isoDeadBody, IsoPlayer isoPlayer, BaseVehicle baseVehicle, AnimalInventoryItem animalInventoryItem) static void
sendRemoveAnimalFromTrailer
(IsoAnimal isoAnimal, IsoPlayer isoPlayer, BaseVehicle baseVehicle) static void
sendRemoveItemFromContainer
(ItemContainer itemContainer, InventoryItem inventoryItem) static void
sendRemoveItemsFromContainer
(ItemContainer itemContainer, ArrayList<InventoryItem> arrayList) static void
sendReplaceItemInContainer
(ItemContainer itemContainer, InventoryItem inventoryItem0, InventoryItem inventoryItem1) static void
sendRequestInventory
(int int0, String string) static void
sendSafehouseChangeMember
(SafeHouse safeHouse, String string) static void
sendSafehouseChangeOwner
(SafeHouse safeHouse, String string) static void
sendSafehouseChangeRespawn
(SafeHouse safeHouse, String string, boolean boolean0) static void
sendSafehouseChangeTitle
(SafeHouse safeHouse, String string) static void
sendSafehouseClaim
(IsoGridSquare isoGridSquare, IsoPlayer isoPlayer, String string) static void
sendSafehouseInvite
(SafeHouse safehouse, IsoPlayer host, String invited) static void
sendSafehouseRelease
(SafeHouse safeHouse) static void
sendSafezoneClaim
(String string0, int int3, int int2, int int1, int int0, String string1) static void
sendSecretKey
(String string0, String string1, String string2, String string3, boolean boolean0, int int0, String string4) static void
sendServerCommand
(String string0, String string1, se.krka.kahlua.vm.KahluaTable kahluaTable) static void
sendServerCommand
(IsoPlayer isoPlayer, String string0, String string1, se.krka.kahlua.vm.KahluaTable kahluaTable) void
sendServerCommandV
(String string0, String string1, Object... object) static void
sendSwitchSeat
(BaseVehicle vehicle, IsoGameCharacter chr, int seatFrom, int seatTo) static void
sendSyncPlayerFields
(IsoPlayer isoPlayer, byte byte0) static void
sendVisual
(IsoPlayer player) static void
sendWarManagerUpdate
(int int0, String string, WarManager.State state) static void
serverConnect
(String string0, String string1, String string2, String string3, String string4, String string5, String string6, boolean boolean0, boolean boolean1, int int0, String string7) static void
serverConnectCoop
(String serverSteamID) static boolean
serverFileExists
(String filename) static void
setActivePlayer
(int id) static void
setAdmin()
static void
setAggroTarget
(int id, int x, int y) static void
setBehaviorStep
(boolean b) static void
setControllerDeadZone
(int c, int axis, float value) static void
setDebugToggleControllerPluggedIn
(int index) static void
setDefaultRoleFor
(String string0, String string1) static void
setGameSpeed
(int NewSpeed) static void
setMinMaxZombiesPerChunk
(float float0, float float1) static void
setModelMetaData
(String name, String mesh, String tex, String shader, boolean bStatic) static void
setMouseXY
(int x, int y) static void
setPlayerJoypad
(int player, int joypad, IsoPlayer playerObj, String username) static void
setPlayerMouse
(IsoPlayer playerObj) static void
setPlayerMovementActive
(int id, boolean bActive) static void
setProgressBarValue
(IsoPlayer player, int value) static void
setPuddles
(float initialPuddles) static void
setSavefilePlayer1
(String gameMode, String saveDir, int sqlID) static void
setServerStatisticEnable
(boolean enable) static void
setShowConnectionInfo
(boolean enabled) static void
setShowPausedMessage
(boolean b) static void
setShowServerInfo
(boolean enabled) static void
setSpawnRegion
(String string) static void
static void
setZoomLevels
(Double... double0) static void
static void
static void
static void
showDebugInfoInChat
(String string) static void
showFolderInDesktop
(String folder) static void
static void
static void
static boolean
showSteamFloatingGamepadTextInput
(boolean multiLine, int x, int y, int width, int height) static boolean
showSteamGamepadTextInput
(boolean password, boolean multiLine, String description, int maxChars, String existingText) static void
showVehicleEditor
(String scriptName) static void
showWorldMapEditor
(String value) static void
showWrongChatTabMessage
(int actualTabID, int rightTabID, String chatCommand) static void
sledgeDestroy
(IsoObject object) static void
spawnHorde
(float x, float y, float x2, float y2, float z, int count) static boolean
spawnpointsExistsForMod
(String modID, String mapFolder) static byte
startFishingAction
(IsoPlayer isoPlayer, InventoryItem inventoryItem, IsoGridSquare isoGridSquare, se.krka.kahlua.vm.KahluaTable kahluaTable) static Server
steamGetInternetServerDetails
(int index) static void
static int
static void
static boolean
steamRequestServerDetails
(String host, int port) static boolean
steamRequestServerRules
(String host, int port) static void
static void
static void
stopPing()
static void
static void
stopSound
(long sound) void
syncBodyPart
(BodyPart bodyPart, long long0) void
syncHandWeaponFields
(IsoPlayer isoPlayer, HandWeapon handWeapon) void
syncItemFields
(IsoPlayer isoPlayer, InventoryItem inventoryItem) void
syncItemModData
(IsoPlayer isoPlayer, InventoryItem inventoryItem) void
syncPlayerStats
(IsoPlayer isoPlayer, int int0) static void
syncVisuals
(IsoPlayer isoPlayer) void
static String
static void
static void
takeScreenshot
(String fileName) static void
static void
static void
static void
toggleBreakOnChange
(se.krka.kahlua.vm.KahluaTable kahluaTable, Object object) static void
toggleBreakOnRead
(se.krka.kahlua.vm.KahluaTable kahluaTable, Object object) static void
toggleBreakpoint
(String file, int line) static void
toggleModActive
(ChooseGameInfo.Mod mod, boolean active) static void
static int
toInt
(double val) static void
tradingUISendAddItem
(IsoPlayer you, IsoPlayer other, InventoryItem i) static void
tradingUISendRemoveItem
(IsoPlayer isoPlayer0, IsoPlayer isoPlayer1, InventoryItem inventoryItem) static void
tradingUISendUpdateState
(IsoPlayer you, IsoPlayer other, int state) static se.krka.kahlua.vm.KahluaTable
transformIntoKahluaTable
(HashMap<Object, Object> hashMap) static float
translatePointXInOverheadMapToWindow
(float x, UIElement ui, float zoom, float xpos) static float
translatePointXInOverheadMapToWorld
(float x, UIElement ui, float zoom, float xpos) static float
translatePointYInOverheadMapToWindow
(float y, UIElement ui, float zoom, float ypos) static float
translatePointYInOverheadMapToWorld
(float y, UIElement ui, float zoom, float ypos) static void
transmitBigWaterSplash
(int int0, int int1, float float0, float float1) static void
triggerEvent
(String event) static void
triggerEvent
(String event, Object param) static void
triggerEvent
(String event, Object param, Object param2) static void
triggerEvent
(String event, Object param, Object param2, Object param3) static void
static Texture
tryGetTexture
(String string) static void
updateChatSettings
(String fontSize, boolean showTimestamp, boolean showTitle) static void
static void
useStaticErosionRand
(boolean use) static void
useTextureFiltering
(boolean bUse) static boolean
wasKeyDown
(int key) static boolean
wasKeyDown
(String string) static boolean
static void
static double
ZombRand
(double max) static double
ZombRand
(double min, double max) static double
ZombRandBetween
(double min, double max) static float
ZombRandFloat
(float min, float max) static void
zpopClearZombies
(int cellX, int cellY) static ZombiePopulationRenderer
static void
zpopSpawnNow
(int cellX, int cellY) static void
zpopSpawnTimeToZero
(int cellX, int cellY)
-
Constructor Details
-
GlobalObject
public GlobalObject()
-
-
Method Details
-
loadVehicleModel
-
loadStaticZomboidModel
-
loadSkinnedZomboidModel
-
loadZomboidModel
-
setModelMetaData
-
reloadModelsMatching
-
getSLSoundManager
-
getRadioAPI
-
getRadioTranslators
-
getTranslatorCredits
-
getBehaviourDebugPlayer
-
setBehaviorStep
public static void setBehaviorStep(boolean b) -
getPuddlesManager
-
getAllAnimalsDefinitions
-
setPuddles
public static void setPuddles(float initialPuddles) -
fastfloor
public static float fastfloor(float float0) -
getZomboidRadio
-
getRandomUUID
-
sendItemListNet
-
convertToPZNetTable
public static se.krka.kahlua.vm.KahluaTable convertToPZNetTable(se.krka.kahlua.vm.KahluaTable kahluaTable) -
instof
-
serverConnect
-
serverConnectCoop
-
sendPing
public static void sendPing() -
connectionManagerLog
-
forceDisconnect
public static void forceDisconnect() -
checkPermissions
-
backToSinglePlayer
public static void backToSinglePlayer() -
isIngameState
public static boolean isIngameState() -
requestPacketCounts
public static void requestPacketCounts() -
canConnect
public static boolean canConnect() -
getReconnectCountdownTimer
-
getPacketCounts
public static se.krka.kahlua.vm.KahluaTable getPacketCounts(int int0) -
sendEvent
-
sendAnimalGenome
-
addAnimal
public static IsoAnimal addAnimal(IsoCell isoCell, int int0, int int1, int int2, String string, AnimalBreed animalBreed, boolean boolean0) -
addAnimal
public static IsoAnimal addAnimal(IsoCell isoCell, int int0, int int1, int int2, String string, AnimalBreed animalBreed) -
removeAnimal
public static void removeAnimal(int int0) -
getFakeAttacker
-
sendHitPlayer
-
sendHitVehicle
public static void sendHitVehicle(IsoGameCharacter isoGameCharacter, String string2, boolean boolean0, String string1, String string0, boolean boolean1) -
requestUsers
public static void requestUsers() -
requestPVPEvents
public static void requestPVPEvents() -
clearPVPEvents
public static void clearPVPEvents() -
getUsers
-
networkUserAction
-
requestRoles
public static void requestRoles() -
getRoles
-
getCapabilities
-
addRole
-
setupRole
-
deleteRole
-
setDefaultRoleFor
-
getWarNearest
-
getWars
-
getHutch
-
getAnimal
-
sendAddAnimalFromHandsInTrailer
public static void sendAddAnimalFromHandsInTrailer(IsoAnimal isoAnimal, IsoPlayer isoPlayer, BaseVehicle baseVehicle) -
sendAddAnimalFromHandsInTrailer
public static void sendAddAnimalFromHandsInTrailer(IsoDeadBody isoDeadBody, IsoPlayer isoPlayer, BaseVehicle baseVehicle) -
sendAddAnimalInTrailer
public static void sendAddAnimalInTrailer(IsoAnimal isoAnimal, IsoPlayer isoPlayer, BaseVehicle baseVehicle) -
sendAddAnimalInTrailer
public static void sendAddAnimalInTrailer(IsoDeadBody isoDeadBody, IsoPlayer isoPlayer, BaseVehicle baseVehicle) -
sendRemoveAnimalFromTrailer
public static void sendRemoveAnimalFromTrailer(IsoAnimal isoAnimal, IsoPlayer isoPlayer, BaseVehicle baseVehicle) -
sendRemoveAndGrabAnimalFromTrailer
public static void sendRemoveAndGrabAnimalFromTrailer(IsoAnimal isoAnimal, IsoPlayer isoPlayer, BaseVehicle baseVehicle, AnimalInventoryItem animalInventoryItem) -
sendRemoveAndGrabAnimalFromTrailer
public static void sendRemoveAndGrabAnimalFromTrailer(IsoDeadBody isoDeadBody, IsoPlayer isoPlayer, BaseVehicle baseVehicle, AnimalInventoryItem animalInventoryItem) -
sendAttachAnimalToPlayer
-
sendAttachAnimalToTree
-
sendPickupAnimal
public static void sendPickupAnimal(IsoAnimal isoAnimal, IsoPlayer isoPlayer, AnimalInventoryItem animalInventoryItem) -
sendButcherAnimal
-
sendFeedAnimalFromHand
public static void sendFeedAnimalFromHand(IsoAnimal isoAnimal, IsoPlayer isoPlayer, InventoryItem inventoryItem) -
sendHutchGrabAnimal
public static void sendHutchGrabAnimal(IsoAnimal isoAnimal, IsoPlayer isoPlayer, IsoObject isoObject, InventoryItem inventoryItem) -
sendHutchGrabCorpseAction
public static void sendHutchGrabCorpseAction(IsoAnimal isoAnimal, IsoPlayer isoPlayer, IsoObject isoObject, InventoryItem inventoryItem) -
sendHutchRemoveAnimalAction
-
getAllItems
-
scoreboardUpdate
public static void scoreboardUpdate() -
save
public static void save(boolean doCharacter) -
saveGame
public static void saveGame() -
getAllRecipes
-
requestUserlog
-
addUserlog
-
removeUserlog
-
tabToX
-
isType
-
isoToScreenX
public static float isoToScreenX(int player, float x, float y, float z) -
isoToScreenY
public static float isoToScreenY(int player, float x, float y, float z) -
screenToIsoX
public static float screenToIsoX(int player, float x, float y, float z) -
screenToIsoY
public static float screenToIsoY(int player, float x, float y, float z) -
getAmbientStreamManager
-
getSleepingEvent
-
setPlayerMovementActive
public static void setPlayerMovementActive(int id, boolean bActive) -
setActivePlayer
public static void setActivePlayer(int id) -
getPlayer
-
getNumActivePlayers
public static int getNumActivePlayers() -
playServerSound
-
getMaxActivePlayers
public static int getMaxActivePlayers() -
getPlayerScreenLeft
public static int getPlayerScreenLeft(int player) -
getPlayerScreenTop
public static int getPlayerScreenTop(int player) -
getPlayerScreenWidth
public static int getPlayerScreenWidth(int player) -
getPlayerScreenHeight
public static int getPlayerScreenHeight(int player) -
getPlayerByOnlineID
-
initUISystem
public static void initUISystem() -
getPerformance
-
getDBSchema
public static void getDBSchema() -
getTableResult
-
getWorldSoundManager
-
getAnimalChunk
-
AddWorldSound
-
AddNoiseToken
-
pauseSoundAndMusic
public static void pauseSoundAndMusic() -
resumeSoundAndMusic
public static void resumeSoundAndMusic() -
isDemo
public static boolean isDemo() -
getTimeInMillis
public static long getTimeInMillis() -
getCurrentCoroutine
public static se.krka.kahlua.vm.Coroutine getCurrentCoroutine() -
reloadLuaFile
-
reloadServerLuaFile
-
setSpawnRegion
-
getServerSpawnRegions
public static se.krka.kahlua.vm.KahluaTable getServerSpawnRegions() -
getServerOptions
-
getServerName
-
getServerIP
-
getServerPort
-
isShowConnectionInfo
public static boolean isShowConnectionInfo() -
setShowConnectionInfo
public static void setShowConnectionInfo(boolean enabled) -
isShowServerInfo
public static boolean isShowServerInfo() -
setShowServerInfo
public static void setShowServerInfo(boolean enabled) -
getSpecificPlayer
-
getCameraOffX
public static float getCameraOffX() -
getLatestSave
public static se.krka.kahlua.vm.KahluaTable getLatestSave() -
isCurrentExecutionPoint
-
toggleBreakOnChange
-
isDebugEnabled
public static boolean isDebugEnabled() -
toggleBreakOnRead
-
toggleBreakpoint
-
sendVisual
-
sendSyncPlayerFields
-
sendClothing
-
syncVisuals
-
sendEquip
-
sendDamage
-
sendPlayerEffects
-
sendItemStats
-
hasDataReadBreakpoint
public static boolean hasDataReadBreakpoint(se.krka.kahlua.vm.KahluaTable kahluaTable, Object object) -
hasDataBreakpoint
-
hasBreakpoint
-
getLoadedLuaCount
public static int getLoadedLuaCount() -
getLoadedLua
-
isServer
public static boolean isServer() -
isServerSoftReset
public static boolean isServerSoftReset() -
isClient
public static boolean isClient() -
isMultiplayer
public static boolean isMultiplayer() -
executeQuery
-
canSeePlayerStats
public static boolean canSeePlayerStats() -
getAccessLevel
Deprecated. -
haveAccess
Deprecated. -
getOnlinePlayers
-
getDebug
public static boolean getDebug() -
getCameraOffY
public static float getCameraOffY() -
createRegionFile
public static se.krka.kahlua.vm.KahluaTable createRegionFile() -
getMapDirectoryTable
public static se.krka.kahlua.vm.KahluaTable getMapDirectoryTable() -
deleteSave
-
sendPlayerExtraInfo
-
getServerAddressFromArgs
-
getServerPasswordFromArgs
-
getServerListFile
-
getServerList
public static se.krka.kahlua.vm.KahluaTable getServerList() -
ping
-
getCustomizationData
-
stopPing
public static void stopPing() -
transformIntoKahluaTable
-
getSaveDirectory
-
getFullSaveDirectoryTable
public static se.krka.kahlua.vm.KahluaTable getFullSaveDirectoryTable() -
getSaveName
-
getSaveDirectoryTable
public static se.krka.kahlua.vm.KahluaTable getSaveDirectoryTable() -
getCurrentSaveName
-
getMods
-
doChallenge
public static void doChallenge(se.krka.kahlua.vm.KahluaTable kahluaTable) -
doTutorial
public static void doTutorial(se.krka.kahlua.vm.KahluaTable kahluaTable) -
setMinMaxZombiesPerChunk
public static void setMinMaxZombiesPerChunk(float float0, float float1) -
deleteAllGameModeSaves
-
sledgeDestroy
-
getBannedIPs
public static void getBannedIPs() -
getTickets
-
addTicket
-
removeTicket
public static void removeTicket(int ticketID) -
sendFactionInvite
-
acceptFactionInvite
-
sendSafehouseInvite
-
acceptSafehouseInvite
-
sendSafehouseChangeMember
-
sendSafehouseChangeOwner
-
sendSafehouseChangeRespawn
-
sendSafehouseChangeTitle
-
sendSafezoneClaim
-
sendSafehouseClaim
public static void sendSafehouseClaim(IsoGridSquare isoGridSquare, IsoPlayer isoPlayer, String string) -
sendSafehouseRelease
-
createHordeFromTo
public static void createHordeFromTo(float spawnX, float spawnY, float targetX, float targetY, int count) -
createHordeInAreaTo
public static void createHordeInAreaTo(int spawnX, int spawnY, int spawnW, int spawnH, int targetX, int targetY, int count) -
spawnHorde
public static void spawnHorde(float x, float y, float x2, float y2, float z, int count) -
createZombie
public static IsoZombie createZombie(float x, float y, float z, SurvivorDesc desc, int palette, IsoDirections dir) -
triggerEvent
-
triggerEvent
-
triggerEvent
-
triggerEvent
-
triggerEvent
-
debugLuaTable
-
debugLuaTable
-
sendItemsInContainer
-
getModDirectoryTable
public static se.krka.kahlua.vm.KahluaTable getModDirectoryTable() -
getModInfoByID
-
getModInfo
-
getMapFoldersForMod
-
spawnpointsExistsForMod
-
getFileSeparator
-
getScriptManager
-
checkSaveFolderExists
-
getAbsoluteSaveFolderName
-
checkSaveFileExists
-
checkSavePlayerExists
public static boolean checkSavePlayerExists() -
cacheFileExists
-
fileExists
-
serverFileExists
-
takeScreenshot
public static void takeScreenshot() -
takeScreenshot
-
checkStringPattern
-
instanceItem
-
instanceItem
-
instanceItem
-
createNewScriptItem
-
cloneItemType
-
moduleDotType
-
require
-
getRenderer
-
getGameTime
-
getStatistics
public static se.krka.kahlua.vm.KahluaTable getStatistics() -
getMPStatus
public static se.krka.kahlua.vm.KahluaTable getMPStatus() -
getMaxPlayers
-
callLua
-
callLuaReturn
-
callLuaBool
-
getWorld
-
getCell
-
getCellSizeInChunks
-
getCellSizeInSquares
-
getChunkSizeInSquares
-
getMinimumWorldLevel
-
getMaximumWorldLevel
-
getSandboxOptions
-
getFileOutput
-
getLastStandPlayersDirectory
-
getLastStandPlayerFileNames
- Throws:
IOException
-
getAllSavedPlayers
Deprecated.- Throws:
IOException
-
getSandboxPresets
- Throws:
IOException
-
deleteSandboxPreset
-
getFileReader
public static BufferedReader getFileReader(String filename, boolean createIfNull) throws IOException - Throws:
IOException
-
getModFileReader
public static BufferedReader getModFileReader(String modId, String filename, boolean createIfNull) throws IOException - Throws:
IOException
-
listFilesInZomboidLuaDirectory
- Throws:
IOException
-
listFilesInModDirectory
public static ArrayList<String> listFilesInModDirectory(String string0, String string1) throws IOException - Throws:
IOException
-
refreshAnimSets
public static void refreshAnimSets(boolean reload) -
reloadActionGroups
public static void reloadActionGroups() -
getModFileWriter
public static LuaManager.GlobalObject.LuaFileWriter getModFileWriter(String modId, String filename, boolean createIfNull, boolean append) -
updateFire
public static void updateFire() -
deletePlayerFromDatabase
-
checkPlayerExistsInDatabase
-
deletePlayerSave
-
getControllerCount
public static int getControllerCount() -
isControllerConnected
public static boolean isControllerConnected(int index) -
getControllerGUID
-
getControllerName
-
getControllerAxisCount
public static int getControllerAxisCount(int c) -
getControllerAxisValue
public static float getControllerAxisValue(int c, int axis) -
getControllerDeadZone
public static float getControllerDeadZone(int c, int axis) -
setControllerDeadZone
public static void setControllerDeadZone(int c, int axis, float value) -
saveControllerSettings
public static void saveControllerSettings(int c) -
getControllerButtonCount
public static int getControllerButtonCount(int c) -
getControllerPovX
public static float getControllerPovX(int c) -
getControllerPovY
public static float getControllerPovY(int c) -
reloadControllerConfigFiles
public static void reloadControllerConfigFiles() -
isJoypadPressed
public static boolean isJoypadPressed(int joypad, int button) -
isJoypadDown
public static boolean isJoypadDown(int joypad) -
isJoypadLTPressed
public static boolean isJoypadLTPressed(int joypad) -
isJoypadRTPressed
public static boolean isJoypadRTPressed(int joypad) -
isJoypadLeftStickButtonPressed
public static boolean isJoypadLeftStickButtonPressed(int joypad) -
isJoypadRightStickButtonPressed
public static boolean isJoypadRightStickButtonPressed(int joypad) -
getJoypadAimingAxisX
public static float getJoypadAimingAxisX(int joypad) -
getJoypadAimingAxisY
public static float getJoypadAimingAxisY(int joypad) -
getJoypadMovementAxisX
public static float getJoypadMovementAxisX(int joypad) -
getJoypadMovementAxisY
public static float getJoypadMovementAxisY(int joypad) -
getJoypadAButton
public static int getJoypadAButton(int joypad) -
getJoypadBButton
public static int getJoypadBButton(int joypad) -
getJoypadXButton
public static int getJoypadXButton(int joypad) -
getJoypadYButton
public static int getJoypadYButton(int joypad) -
getJoypadLBumper
public static int getJoypadLBumper(int joypad) -
getJoypadRBumper
public static int getJoypadRBumper(int joypad) -
getJoypadBackButton
public static int getJoypadBackButton(int joypad) -
getJoypadStartButton
public static int getJoypadStartButton(int joypad) -
getJoypadLeftStickButton
public static int getJoypadLeftStickButton(int joypad) -
getJoypadRightStickButton
public static int getJoypadRightStickButton(int joypad) -
wasMouseActiveMoreRecentlyThanJoypad
public static boolean wasMouseActiveMoreRecentlyThanJoypad() -
activateJoypadOnSteamDeck
public static void activateJoypadOnSteamDeck() -
reactivateJoypadAfterResetLua
public static boolean reactivateJoypadAfterResetLua() -
isJoypadConnected
public static boolean isJoypadConnected(int index) -
toInt
public static int toInt(double val) -
getClientUsername
-
setPlayerJoypad
-
setPlayerMouse
-
revertToKeyboardAndMouse
public static void revertToKeyboardAndMouse() -
isJoypadUp
public static boolean isJoypadUp(int joypad) -
isJoypadLeft
public static boolean isJoypadLeft(int joypad) -
isJoypadRight
public static boolean isJoypadRight(int joypad) -
isJoypadLBPressed
public static boolean isJoypadLBPressed(int joypad) -
isJoypadRBPressed
public static boolean isJoypadRBPressed(int joypad) -
getButtonCount
public static int getButtonCount(int joypad) -
setDebugToggleControllerPluggedIn
public static void setDebugToggleControllerPluggedIn(int index) -
getFileWriter
public static LuaManager.GlobalObject.LuaFileWriter getFileWriter(String filename, boolean createIfNull, boolean append) -
getSandboxFileWriter
public static LuaManager.GlobalObject.LuaFileWriter getSandboxFileWriter(String filename, boolean createIfNull, boolean append) -
createStory
-
createWorld
-
sanitizeWorldName
-
forceChangeState
-
endFileOutput
public static void endFileOutput() -
getFileInput
- Throws:
IOException
-
getGameFilesInput
-
getGameFilesTextInput
-
endTextFileInput
public static void endTextFileInput() -
endFileInput
public static void endFileInput() -
getLineNumber
public static int getLineNumber(se.krka.kahlua.vm.LuaCallFrame luaCallFrame) -
ZombRand
public static double ZombRand(double max) -
ZombRandBetween
public static double ZombRandBetween(double min, double max) -
ZombRand
public static double ZombRand(double min, double max) -
ZombRandFloat
public static float ZombRandFloat(float min, float max) -
getShortenedFilename
-
isKeyDown
public static boolean isKeyDown(int key) -
isKeyDown
-
wasKeyDown
public static boolean wasKeyDown(int key) -
wasKeyDown
-
isKeyPressed
public static boolean isKeyPressed(int key) -
isKeyPressed
-
getBaseSoundBank
-
getFMODSoundBank
-
isSoundPlaying
-
stopSound
public static void stopSound(long sound) -
isShiftKeyDown
public static boolean isShiftKeyDown() -
isCtrlKeyDown
public static boolean isCtrlKeyDown() -
isAltKeyDown
public static boolean isAltKeyDown() -
setZoomLevels
-
getCore
-
getGameVersion
-
getBreakModGameVersion
-
getSquare
-
getDebugOptions
-
setShowPausedMessage
public static void setShowPausedMessage(boolean b) -
getFilenameOfCallframe
-
getFilenameOfClosure
-
getFirstLineOfClosure
public static int getFirstLineOfClosure(se.krka.kahlua.vm.LuaClosure luaClosure) -
getLocalVarCount
public static int getLocalVarCount(se.krka.kahlua.vm.Coroutine coroutine) -
getLocalVarCount
public static int getLocalVarCount(se.krka.kahlua.vm.LuaCallFrame luaCallFrame) -
isSystemLinux
public static boolean isSystemLinux() -
isSystemMacOS
public static boolean isSystemMacOS() -
isSystemWindows
public static boolean isSystemWindows() -
isModActive
-
openURl
-
isDesktopOpenSupported
public static boolean isDesktopOpenSupported() -
showFolderInDesktop
-
getActivatedMods
-
toggleModActive
-
saveModsFile
public static void saveModsFile() -
manipulateSavefile
-
getLocalVarName
-
getLocalVarName
-
getLocalVarStack
public static int getLocalVarStack(se.krka.kahlua.vm.Coroutine coroutine, int int0) -
getLocalVarStackIndex
public static int getLocalVarStackIndex(se.krka.kahlua.vm.LuaCallFrame luaCallFrame, int int0) -
getCallframeTop
public static int getCallframeTop(se.krka.kahlua.vm.Coroutine coroutine) -
getCoroutineTop
public static int getCoroutineTop(se.krka.kahlua.vm.Coroutine coroutine) -
getCoroutineObjStack
-
getCoroutineObjStackWithBase
-
localVarName
-
getCoroutineCallframeStack
public static se.krka.kahlua.vm.LuaCallFrame getCoroutineCallframeStack(se.krka.kahlua.vm.Coroutine coroutine, int int0) -
getLuaStackTrace
-
createTile
-
getNumClassFunctions
-
getClassFunction
-
getNumClassFields
-
getClassField
-
getDirectionTo
-
translatePointXInOverheadMapToWindow
public static float translatePointXInOverheadMapToWindow(float x, UIElement ui, float zoom, float xpos) -
translatePointYInOverheadMapToWindow
public static float translatePointYInOverheadMapToWindow(float y, UIElement ui, float zoom, float ypos) -
translatePointXInOverheadMapToWorld
public static float translatePointXInOverheadMapToWorld(float x, UIElement ui, float zoom, float xpos) -
translatePointYInOverheadMapToWorld
public static float translatePointYInOverheadMapToWorld(float y, UIElement ui, float zoom, float ypos) -
drawOverheadMap
public static void drawOverheadMap(UIElement uIElement, int int0, float float0, float float1, float float2) -
assaultPlayer
public static void assaultPlayer() -
isoRegionsRenderer
-
zpopNewRenderer
-
zpopSpawnTimeToZero
public static void zpopSpawnTimeToZero(int cellX, int cellY) -
zpopClearZombies
public static void zpopClearZombies(int cellX, int cellY) -
zpopSpawnNow
public static void zpopSpawnNow(int cellX, int cellY) -
addVirtualZombie
public static void addVirtualZombie(int x, int y) -
luaDebug
public static void luaDebug() -
setAggroTarget
public static void setAggroTarget(int id, int x, int y) -
debugFullyStreamedIn
public static void debugFullyStreamedIn(int x, int y) -
getClassFieldVal
-
getMethodParameter
-
getMethodParameterCount
-
breakpoint
public static void breakpoint() -
getLuaDebuggerErrorCount
public static int getLuaDebuggerErrorCount() -
getLuaDebuggerErrors
-
doLuaDebuggerAction
-
isQuitCooldown
public static boolean isQuitCooldown() -
getGameSpeed
public static int getGameSpeed() -
setGameSpeed
public static void setGameSpeed(int NewSpeed) -
stepForward
public static void stepForward() -
isGamePaused
public static boolean isGamePaused() -
getMouseXScaled
public static int getMouseXScaled() -
getMouseYScaled
public static int getMouseYScaled() -
getMouseX
public static int getMouseX() -
setMouseXY
public static void setMouseXY(int x, int y) -
isMouseButtonDown
public static boolean isMouseButtonDown(int number) -
isMouseButtonPressed
public static boolean isMouseButtonPressed(int int0) -
getMouseY
public static int getMouseY() -
getSoundManager
-
getLastPlayedDate
-
getTextureFromSaveDir
-
getSaveInfo
-
renameSaveFile
-
setSavefilePlayer1
-
getServerSavedWorldVersion
-
getZombieInfo
-
getPlayerInfo
-
getMapInfo
-
getVehicleInfo
-
getLotDirectories
-
useTextureFiltering
public static void useTextureFiltering(boolean bUse) -
getTexture
-
tryGetTexture
-
sendSecretKey
-
stopSendSecretKey
public static void stopSendSecretKey() -
generateSecretKey
-
sendGoogleAuth
-
createQRCodeTex
public static Texture createQRCodeTex(String string1, String string2) throws com.google.zxing.WriterException, IOException - Throws:
com.google.zxing.WriterException
IOException
-
getVideo
-
getTextManager
-
setProgressBarValue
-
getText
-
getText
-
getText
-
getText
-
getText
-
getTextOrNull
-
getTextOrNull
-
getTextOrNull
-
getTextOrNull
-
getTextOrNull
-
getItemText
-
getRadioText
-
getTextMediaEN
-
getItemNameFromFullType
-
getItem
-
getItemStaticModel
-
isItemFood
-
getItemFoodType
-
isItemFresh
-
getItemCount
-
getItemWeight
-
getItemActualWeight
-
getItemConditionMax
-
getItemEvolvedRecipeName
-
hasItemTag
-
getItemDisplayName
-
getItemName
-
getItemTextureName
-
getAndFindNearestTracks
-
getItemTex
-
getRecipeDisplayName
-
getMyDocumentFolder
-
getSpriteManager
-
getSprite
-
getServerModData
public static void getServerModData() -
isXBOXController
public static boolean isXBOXController() -
isPlaystationController
public static boolean isPlaystationController(int int0) -
sendClientCommand
-
sendClientCommand
-
sendServerCommand
-
sendServerCommand
-
sendServerCommandV
-
sendClientCommandV
-
addVariableToSyncList
-
getOnlineUsername
-
isValidUserName
-
getHourMinute
-
SendCommandToServer
-
isAdmin
public static boolean isAdmin() -
canModifyPlayerScoreboard
Deprecated. -
isAccessLevel
Deprecated. -
sendHumanVisual
-
stopFire
-
getGameClient
-
sendRequestInventory
-
InvMngGetItem
-
InvMngRemoveItem
-
getConnectedPlayers
-
getPlayerFromUsername
-
isCoopHost
public static boolean isCoopHost() -
setAdmin
public static void setAdmin() -
addWarningPoint
-
disconnect
public static void disconnect() -
writeLog
-
doKeyPress
public static void doKeyPress(boolean doIt) -
getEvolvedRecipes
-
getZone
-
getZones
-
getVehicleZoneAt
-
getCellMinX
public static int getCellMinX() -
getCellMaxX
public static int getCellMaxX() -
getCellMinY
public static int getCellMinY() -
getCellMaxY
public static int getCellMaxY() -
replaceWith
-
getTimestamp
public static long getTimestamp() -
getTimestampMs
public static long getTimestampMs() -
forceSnowCheck
public static void forceSnowCheck() -
getGametimeTimestamp
public static long getGametimeTimestamp() -
canInviteFriends
public static boolean canInviteFriends() -
inviteFriend
-
getFriendsList
public static se.krka.kahlua.vm.KahluaTable getFriendsList() -
getSteamModeActive
-
getStreamModeActive
-
getRemotePlayModeActive
-
isValidSteamID
-
getCurrentUserSteamID
-
getCurrentUserProfileName
-
getSteamScoreboard
public static boolean getSteamScoreboard() -
isSteamOverlayEnabled
public static boolean isSteamOverlayEnabled() -
activateSteamOverlayToWorkshop
public static void activateSteamOverlayToWorkshop() -
activateSteamOverlayToWorkshopUser
public static void activateSteamOverlayToWorkshopUser() -
activateSteamOverlayToWorkshopItem
-
activateSteamOverlayToWebPage
-
getSteamProfileNameFromSteamID
-
getSteamAvatarFromSteamID
-
getSteamIDFromUsername
-
resetRegionFile
public static void resetRegionFile() -
getSteamProfileNameFromUsername
-
getSteamAvatarFromUsername
-
getSteamWorkshopStagedItems
-
getSteamWorkshopItemIDs
-
getSteamWorkshopItemMods
-
isSteamRunningOnSteamDeck
public static boolean isSteamRunningOnSteamDeck() -
showSteamGamepadTextInput
-
showSteamFloatingGamepadTextInput
public static boolean showSteamFloatingGamepadTextInput(boolean multiLine, int x, int y, int width, int height) -
isFloatingGamepadTextInputVisible
public static boolean isFloatingGamepadTextInputVisible() -
sendPlayerStatsChange
-
sendPersonalColor
-
requestTrading
-
acceptTrading
-
tradingUISendAddItem
-
tradingUISendRemoveItem
public static void tradingUISendRemoveItem(IsoPlayer isoPlayer0, IsoPlayer isoPlayer1, InventoryItem inventoryItem) -
tradingUISendUpdateState
-
sendWarManagerUpdate
-
querySteamWorkshopItemDetails
-
connectToServerStateCallback
-
getPublicServersList
public static se.krka.kahlua.vm.KahluaTable getPublicServersList() -
steamRequestInternetServersList
public static void steamRequestInternetServersList() -
steamReleaseInternetServersRequest
public static void steamReleaseInternetServersRequest() -
steamRequestInternetServersCount
public static int steamRequestInternetServersCount() -
steamGetInternetServerDetails
-
steamRequestServerRules
-
steamRequestServerDetails
-
isPublicServerListAllowed
public static boolean isPublicServerListAllowed() -
isSteamServerBrowserEnabled
public static boolean isSteamServerBrowserEnabled() -
is64bit
public static boolean is64bit() -
testSound
public static void testSound() -
getFMODEventPathList
-
debugSetRoomType
-
copyTable
public static se.krka.kahlua.vm.KahluaTable copyTable(se.krka.kahlua.vm.KahluaTable kahluaTable) -
copyTable
public static se.krka.kahlua.vm.KahluaTable copyTable(se.krka.kahlua.vm.KahluaTable kahluaTable0, se.krka.kahlua.vm.KahluaTable kahluaTable1) -
renderIsoCircle
public static void renderIsoCircle(float x, float y, float z, float radius, float r, float g, float b, float a, int thickness) -
renderIsoRect
public static void renderIsoRect(float float3, float float2, float float1, float float6, float float8, float float9, float float10, float float11, int int0) -
renderLine
public static void renderLine(float float0, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9) -
configureLighting
public static void configureLighting(float darkStep) -
invalidateLighting
public static void invalidateLighting() -
testHelicopter
public static void testHelicopter() -
endHelicopter
public static void endHelicopter() -
getServerSettingsManager
-
rainConfig
-
sendSwitchSeat
public static void sendSwitchSeat(BaseVehicle vehicle, IsoGameCharacter chr, int seatFrom, int seatTo) -
getVehicleById
-
addBloodSplat
-
addBloodSplat
-
addCarCrash
public static void addCarCrash() -
createRandomDeadBody
-
addZombieSitting
public void addZombieSitting(int x, int y, int z) -
addZombiesEating
public void addZombiesEating(int x, int y, int z, int totalZombies, boolean skeletonBody) -
addZombiesInOutfitArea
-
addZombiesInOutfit
-
addZombiesInOutfit
-
addZombiesInOutfit
-
addZombiesInBuilding
-
addVehicleDebug
public static BaseVehicle addVehicleDebug(String scriptName, IsoDirections dir, Integer skinIndex, IsoGridSquare sq) -
addVehicle
-
attachTrailerToPlayerVehicle
public static void attachTrailerToPlayerVehicle(int playerIndex) -
getKeyName
-
getKeyCode
-
queueCharEvent
-
queueKeyEvent
public static void queueKeyEvent(int lwjglKeyCode) -
addAllVehicles
public static void addAllVehicles() -
addAllBurntVehicles
public static void addAllBurntVehicles() -
addAllSmashedVehicles
public static void addAllSmashedVehicles() -
addAllVehicles
-
addPhysicsObject
-
toggleVehicleRenderToTexture
public static void toggleVehicleRenderToTexture() -
reloadSoundFiles
public static void reloadSoundFiles() -
getAnimationViewerState
-
getAttachmentEditorState
-
getEditVehicleState
-
getSpriteModelEditorState
-
showAnimationViewer
public static void showAnimationViewer() -
showAttachmentEditor
public static void showAttachmentEditor() -
showChunkDebugger
public static void showChunkDebugger() -
getTileGeometryState
-
showGlobalObjectDebugger
public static void showGlobalObjectDebugger() -
showSeamEditor
public static void showSeamEditor() -
getSeamEditorState
-
showSpriteModelEditor
public static void showSpriteModelEditor() -
showVehicleEditor
-
showWorldMapEditor
-
reloadVehicles
public static void reloadVehicles() -
reloadEngineRPM
public static void reloadEngineRPM() -
reloadXui
public static void reloadXui() -
reloadScripts
-
reloadEntityScripts
public static void reloadEntityScripts() -
reloadEntitiesDebug
public static void reloadEntitiesDebug() -
reloadEntityDebug
-
reloadEntityFromScriptDebug
-
getIsoEntitiesDebug
-
proceedPM
-
processSayMessage
-
processGeneralMessage
-
processShoutMessage
-
ProceedFactionMessage
-
ProcessSafehouseMessage
-
ProcessAdminChatMessage
-
showWrongChatTabMessage
-
focusOnTab
-
updateChatSettings
-
checkPlayerCanUseChat
-
reloadVehicleTextures
-
useStaticErosionRand
public static void useStaticErosionRand(boolean use) -
getClimateManager
-
getRagdollSettingsManager
-
getClimateMoon
-
getWorldMarkers
-
getIsoMarkers
-
getErosion
-
getAllOutfits
-
getAllVehicles
-
getAllHairStyles
-
getHairStylesInstance
-
getBeardStylesInstance
-
getAllBeardStyles
-
getVoiceStylesInstance
-
getAllVoiceStyles
-
getAllItemsForBodyLocation
-
getAllDecalNamesForItem
-
screenZoomIn
public void screenZoomIn() -
screenZoomOut
public void screenZoomOut() -
addSound
-
sendPlaySound
-
sendAddXp
-
sendIconFound
-
addXpNoMultiplier
-
addXp
-
addXpMultiplier
public void addXpMultiplier(IsoPlayer isoPlayer, PerkFactory.Perk perk, float float0, int int0, int int1) -
syncBodyPart
-
syncPlayerStats
-
SyncXp
-
checkServerName
-
Render3DItem
public void Render3DItem(InventoryItem item, IsoGridSquare sq, float xoffset, float yoffset, float zoffset, float rotation) -
getContainerOverlays
-
getTileOverlays
-
NewMapBinaryFile
- Throws:
IOException
-
getAverageFSP
-
getCPUTime
public long getCPUTime() -
getGPUTime
public long getGPUTime() -
getCPUWait
public long getCPUWait() -
getGPUWait
public long getGPUWait() -
getServerFPS
public int getServerFPS() -
createItemTransaction
public static byte createItemTransaction(IsoPlayer isoPlayer, InventoryItem inventoryItem, ItemContainer itemContainer0, ItemContainer itemContainer1) -
createItemTransactionWithPosData
@Deprecated public static byte createItemTransactionWithPosData(IsoPlayer isoPlayer, InventoryItem inventoryItem, ItemContainer itemContainer0, ItemContainer itemContainer1, String string, float float0, float float1, float float2) Deprecated. -
changeItemTypeTransaction
public static byte changeItemTypeTransaction(IsoPlayer isoPlayer, InventoryItem inventoryItem, String string) -
removeItemTransaction
public static void removeItemTransaction(byte byte0, boolean boolean0) -
isItemTransactionConsistent
public static boolean isItemTransactionConsistent(InventoryItem inventoryItem, ItemContainer itemContainer0, ItemContainer itemContainer1, String string) -
isItemTransactionDone
public static boolean isItemTransactionDone(byte byte0) -
isItemTransactionRejected
public static boolean isItemTransactionRejected(byte byte0) -
getItemTransactionDuration
public static int getItemTransactionDuration(byte byte0) -
isActionDone
public static boolean isActionDone(byte byte0) -
isActionRejected
public static boolean isActionRejected(byte byte0) -
getActionDuration
public static int getActionDuration(byte byte0) -
removeAction
public static void removeAction(byte byte0, boolean boolean0) -
emulateAnimEvent
public static void emulateAnimEvent(NetTimedAction netTimedAction, long long0, String string0, String string1) -
emulateAnimEventOnce
public static void emulateAnimEventOnce(NetTimedAction netTimedAction, long long0, String string0, String string1) -
showDebugInfoInChat
-
createBuildAction
-
startFishingAction
public static byte startFishingAction(IsoPlayer isoPlayer, InventoryItem inventoryItem, IsoGridSquare isoGridSquare, se.krka.kahlua.vm.KahluaTable kahluaTable) -
syncItemModData
-
syncItemFields
-
syncHandWeaponFields
-
getPickedUpFish
-
sendAddItemToContainer
-
sendAddItemsToContainer
public static void sendAddItemsToContainer(ItemContainer itemContainer, ArrayList<InventoryItem> arrayList) -
sendReplaceItemInContainer
public static void sendReplaceItemInContainer(ItemContainer itemContainer, InventoryItem inventoryItem0, InventoryItem inventoryItem1) -
sendRemoveItemFromContainer
public static void sendRemoveItemFromContainer(ItemContainer itemContainer, InventoryItem inventoryItem) -
sendRemoveItemsFromContainer
public static void sendRemoveItemsFromContainer(ItemContainer itemContainer, ArrayList<InventoryItem> arrayList) -
replaceItemInContainer
public static void replaceItemInContainer(ItemContainer itemContainer, InventoryItem inventoryItem0, InventoryItem inventoryItem1) -
getServerStatistic
public static se.krka.kahlua.vm.KahluaTable getServerStatistic() -
log
-
setServerStatisticEnable
public static void setServerStatisticEnable(boolean enable) -
getServerStatisticEnable
public static boolean getServerStatisticEnable() -
checkModsNeedUpdate
-
getSearchMode
-
transmitBigWaterSplash
public static void transmitBigWaterSplash(int int0, int int1, float float0, float float1) -
addAreaHighlight
public static void addAreaHighlight(int int0, int int1, int int2, int int3, int int4, float float0, float float1, float float2, float float3) -
addAreaHighlightForPlayer
public static void addAreaHighlightForPlayer(int int0, int int1, int int2, int int3, int int4, int int5, float float0, float float1, float float2, float float3) -
timSort
-
javaListRemoveAt
-
sendDebugStory
-
displayLUATable
public static void displayLUATable(se.krka.kahlua.vm.KahluaTable kahluaTable)
-