|
Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
|
Go to the documentation of this file.
128 proto
bool GetCLIParam(
string param, out
string val);
146 proto native
void StartVideo(
string name);
148 proto native
void StopVideo();
531 proto native
bool CopyFile(
string sourceName,
string destName);
proto void FPrintln(FileHandle file, void var)
Write to file and add new line.
proto native void ClearKey(KeyCode key)
proto void CloseFile(FileHandle file)
Close the File.
@ KC_UP
UpArrow on arrow keypad.
proto native float GetGamepadAxis(GamepadAxis axis)
return value in gamepad axis <-1000; 1000>
@ KC_SLASH
/ on main keyboard
proto native bool IsCLIParam(string param)
Returns if command line argument is present.
proto bool GetCLIParam(string param, out string val)
Returns command line argument.
proto FileHandle OpenFile(string name, FileMode mode)
Opens File.
proto int ReadFile(FileHandle file, void param_array, int length)
proto native bool MakeDirectory(string name)
Makes a directory.
@ KC_DELETE
Delete on arrow keypad.
@ KC_LWIN
Left Windows key.
proto void FPrint(FileHandle file, void var)
Write to file.
proto native void MemoryValidation(bool enable)
Switches memory validation (huge slowdown! Use with care only for certain section of code!...
proto int ParseLine(ParseHandle tp, int num, string tokens[])
proto void GetMousePos(out int x, out int y)
DIRECTORIES
Looks for files in fs directories only.
@ KC_RIGHT
RightArrow on arrow keypad.
proto void GetScreenSize(out int x, out int y)
proto bool FileExist(string name)
Check existence of file.
@ KC_RWIN
Right Windows key.
@ KC_PERIOD
. on main keyboard
proto bool FindNextFile(FindFileHandle handle, out string fileName, out FileAttr fileAttributes)
@ KC_PRIOR
PgUp on arrow keypad.
@ KC_NUMPADCOMMA
, on numeric keypad (NEC PC98)
proto void GetHourMinuteSecondUTC(out int hour, out int minute, out int second)
Returns UTC world time.
ARCHIVES
Looks for files in archive only. (.pak)
proto native ParseHandle BeginParse(string filename)
proto string GetMachineName()
@ DIRECTORY
File is directory.
ALL
<Looks in archives and fs directories.
proto void GetYearMonthDay(out int year, out int month, out int day)
Returns world date.
@ KC_LEFT
LeftArrow on arrow keypad.
@ KC_HOME
Home on arrow keypad.
@ KC_NEXT
PgDn on arrow keypad.
proto native bool DeleteFile(string name)
delete file. Works only on "$profile:" and "$saves:" locations
proto native bool CopyFile(string sourceName, string destName)
copy file. destName must be "$profile:" or "$saves:" location
proto void GetHourMinuteSecond(out int hour, out int minute, out int second)
Returns world time.
proto void GetYearMonthDayUTC(out int year, out int month, out int day)
Returns UTC world date.
proto native int TickCount(int prev)
performance counter. Returns number of CPU ticks between 'prev' and 'now'
proto int FGets(FileHandle file, string var)
Get line from file, every next call of this function returns next line.
proto native int KeyState(KeyCode key)
@ KC_OEM_102
< > | on UK/Germany keyboards
@ KC_INSERT
Insert on arrow keypad.
enum FindFileFlags FindFile(string pattern, out string fileName, out FileAttr fileAttributes, FindFileFlags flags)
proto string GetProfileName()
@ KC_NEXTTRACK
Next Track.
@ KC_DOWN
DownArrow on arrow keypad.
proto native void EndParse(ParseHandle file)
proto native void CloseFindFile(FindFileHandle handle)
@ KC_RETURN
Enter on main keyboard.
proto native int GetMouseState(MouseState index)
@ READONLY
File is read-only.
@ KC_PLAYPAUSE
Play / Pause.
@ KC_DECIMAL
. on numeric keypad
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
@ KC_MEDIASTOP
Media Stop.
@ KC_NUMPADENTER
Enter on numeric keypad.
@ KC_MEDIASELECT
Media Select.
@ KC_END
End on arrow keypad.
@ KC_CALCULATOR
Calculator.
@ KC_PREVTRACK
Previous Track (DIKC_CIRCUMFLEX on Japanese keyboard)
@ KC_NUMPADEQUALS
= on numeric keypad (NEC PC98)
@ KC_DIVIDE
/ on numeric keypad
proto native int GetGamepadButton(GamepadButton button)
return if the button is pressed or not