API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ITRIGMLELEMENT_TRACE()

Brew Release
Brew MP 1.0.2
See Also
ITRIGPLAYEREX_GetTrigmlDebug() ITRIGMLDEBUG_Log()
Description
Issues a trace statement when attached to a TrigBuilder debugger.
Params
node
[]:
the element whose details to use for the trace
type
[]:
the type of the trace statement
category
[]:
the category of the trace statement
pEvent
[]:
an optional TrigmlEvent to include in the trace statement. An event should be included only if is the direct cause or result of the action being traced. To trace without including an event, pass NULL. To trace the Trigplayer's current event, pass the constant TRIGMLELEMENT_TRACE_CURRENT_EVENT.
Interface
  • ITRIGMLELEMENT
Prototype
  •    void ITRIGMLELEMENT_Trace(ITrigmlElement* node, uint16 type, uint16 category, const TRIGMLELEMENT* pEvent);
    
Return
  •    A BREW error code.
    
Side Effect
  • None
Comments
This method is primarily intended for internal use and does NOT provide an extensible tracing API. For a general tracing API that you can use in your own extensions and actors, use ITRIGPLAYEREX_GetTrigmlDebug() and ITRIGMLDEBUG_Log().