CUO
The CUO_Functions class contains invocation of CUO code using reflection DANGER !!
TODO: CUO Constructors
Methods
CUO.CloseGump(serial)
CUO.CloseGump(serial)
Invokes the Method close a gump
Parameters
serialUInt32
Return
Void
CUO.CloseMobileHealthBar(mobileserial)
CUO.CloseMobileHealthBar(mobileserial)
Closes a Mobile Status Gump of an Entity Closes a Mobile Status Gump of an Entity
Parameters
mobileserialUInt32 Int32
Return
Void
CUO.CloseMyStatusBar()
CUO.CloseMyStatusBar()
Invokes the Method to close your status bar gump inside the CUO code
Return
Void
CUO.CloseTMap()
CUO.CloseTMap()
Invokes the CloseWithRightClick function inside the CUO code First T-Map is retrieved, and then only closed if it is a map Returns True if a map was closed, else False
Return
Boolean
CUO.FollowMobile(mobileserial)
CUO.FollowMobile(mobileserial)
Make the ClassicUO client follow the specific mobile. This is the same behavior as alt + left-clicking, which normally shows the overhead message "Now following."
Parameters
mobileserialUInt32
Return
Void
CUO.FollowOff()
CUO.FollowOff()
Stop the ClassicUO client from following, if it was following a mobile.
Return
Void
CUO.Following()
CUO.Following()
Returns the status and target of the ClassicUO client's follow behavior.
Return
ValueTuple[Boolean, UInt32]
bool followingMode, uint followingTarget
CUO.FreeView(free)
CUO.FreeView(free)
Invokes the FreeView function inside the CUO code First value is retrieved, and then only set if its not correct
Parameters
freeBoolean
Return
Void
CUO.GetSetting(settingName)
CUO.GetSetting(settingName)
Retrieve Current CUO Setting
Parameters
settingNameString
Return
String
CUO.GoToMarker(x, y)
CUO.GoToMarker(x, y)
Invokes the GoToMarker function inside the CUO code Map must be open for this to work
Parameters
xInt32 yInt32
Return
Void
CUO.LoadMarkers()
CUO.LoadMarkers()
Invokes the LoadMarkers function inside the CUO code Map must be open for this to work
Return
Void
CUO.MoveGump(serial, x, y)
CUO.MoveGump(serial, x, y)
Invokes the Method move a gump or container if open.
Parameters
serialUInt32 xInt32 yInt32
Return
Void
CUO.OpenContainerAt(bag, x, y)
CUO.OpenContainerAt(bag, x, y)
Set a location that CUO will open the container at Set a location that CUO will open the container at
Parameters
bagUInt32 Item xInt32 yInt32
Return
Void
CUO.OpenMobileHealthBar(mobileserial, x, y, custom)
CUO.OpenMobileHealthBar(mobileserial, x, y, custom)
Open a mobiles health bar at a specified location on the screen Invokes the Method to open your status bar gump inside the CUO code
Parameters
mobileserialUInt32 Int32 xInt32 yInt32 customBoolean
Return
Void
CUO.OpenMyStatusBar(x, y)
CUO.OpenMyStatusBar(x, y)
Invokes the Method to open your status bar gump inside the CUO code
Parameters
xInt32 yInt32
Return
Void
CUO.PlayMacro(macroName)
CUO.PlayMacro(macroName)
Play a CUO macro by name Warning, limited testing !!
Parameters
macroNameString
Return
Void
CUO.ProfilePropertySet(propertyName, enable)
CUO.ProfilePropertySet(propertyName, enable)
Set a bool Config property in CUO by name Set a int Config property in CUO by name Set a string Config property in CUO by name
Parameters
propertyNameString enableString Boolean Int32
Return
Void
CUO.SetGumpOpenLocation(gumpserial, x, y)
CUO.SetGumpOpenLocation(gumpserial, x, y)
Set a location that CUO will open the next gump or container at
Parameters
gumpserialUInt32 xInt32 yInt32
Return
Void