MordhauBuddy


RenderUtils

Namespace: MordhauBuddy.App

Helper modules and functions for renderer processes

Nested types and modules

ModuleDescription
Directory

Directory helper functions

EngineMods

Module to hold all the engine.ini modification operations

MaterialUI

MaterialUI library extensions

RenderTypes
String
Validation

Input validation

Functions and values

Function or valueDescription
eventPersist(e)
Signature: e:(type) -> unit
Attributes:
[<Emit("$0.persist()")>]

Persist an event

getElementAtPos x y
Signature: x:int -> y:int -> (type) option
Attributes:
[<Emit("try{document.elementFromPoint($0, $1)}catch(e){}")>]

Get the closest element at given position

getMousePositions()
Signature: unit -> (type)

Get the current mouse position

getRemoteWin()
Signature: unit -> (type)

Get the current window from the main process

isWindows
Signature: bool

Returns true if the environment is Windows

quitApplication()
Signature: unit -> unit

Exit the application

stat(s)
Signature: s:string -> string

Prefixes the string with the static asset root path.