BlackICE Scripting

class re

Ui

re.Ui

  • 0 properties
  • 14 functions

Properties

None.

Functions

  • static bool BindOverlayProviderToSurface(ulong provider, ulong surface) staticextension
  • static ulong CreateNodeSurfaceOverlay(ulong node) staticextension

    Creates a surface overlay on a streamed world mesh node (e.g. a billboard). Use the Surface Picker tool to get the identity. The overlay is applied whenever the node streams in. A surface belongs to one bundle until it is released or the bundle unloads. Calling this again from the same bundle returns the same handle, and it returns 0 when another bundle owns the node.

  • static ulong CreateOverlayProvider(string url, uint width, uint height, bool sixty_fps) staticextension
  • static ulong CreateSurfaceOverlay(ulong identity, CName component) staticextension

    Creates a surface overlay on an entity's mesh components. If you don't specify a component all of them are targeted. A surface belongs to one bundle until it is released or the bundle unloads. Calling this again from the same bundle returns the same handle, and it returns 0 when another bundle owns the surface or an overlapping one.

  • static bool HasSurfaceOverlay(ulong identity, CName component) staticextension

    Returns true if an overlay is already registered for this surface, by any bundle. A registration without a component covers every mesh component of the entity.

    identity
    Entity ID of the surface owner
    component
    Mesh component name, as passed to CreateSurfaceOverlay
  • static bool NavigateOverlayProvider(ulong provider, string url) staticextension
  • void OnMessage<T>(string name, Action<T> func) where T : Serde.IDeserializeProvider<T> staticextension
  • static bool ReleaseOverlayProvider(ulong provider) staticextension
  • static bool ReleaseSurfaceOverlay(ulong surface) staticextension
  • void SendMessage<T>(T data) where T : Serde.ISerializeProvider<T> staticextension
    1 more overload void SendMessageRaw(string payload)
  • static void SetInputPolicy(bool accept_input, bool exclusive_input, bool cursor_active) staticextension
  • static bool SetOverlayProviderInputPolicy(ulong provider, bool accept_input, bool exclusive_input, bool cursor_active) staticextension

    Routes input to an overlay provider. Mouse input is projected from the cursor (or the screen center while the cursor is hidden) onto the surfaces the provider is bound to, keyboard input goes to the provider as is. Returns false if the provider is unknown or not owned by this bundle.

    provider
    Provider handle from CreateOverlayProvider
    accept_input
    Forward keyboard input and projected mouse input to the provider
    exclusive_input
    Stop the forwarded input from reaching the game
    cursor_active
    Show the cursor and project mouse input from it instead of the screen center
  • static bool ShowBodyGenderSelector(bool? continue_to_customization) staticextension
  • static bool UnbindOverlayProviderFromSurface(ulong provider, ulong surface) staticextension