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

Developer

API Reference

IACTORFRAME_CREATESTRUCTCONTAINER()

Brew Release
Brew MP 1.0.2
See Also
IActorFrame_SetEventHandler()
Description
specified ActorBase object.
Params
name
[in]:
Name of the new container
items
[in]:
Number of initial items in the container *
Interface
Prototype
  •    IVfsStructContainer *IActorFrame_CreateStructContainer(
          ActorBase *pMe,
          VfsPathElement name,
          uint16 items,
          IVfsContainer *pParent
       )
    
Return
  • IVfsStructContainer *: The newly created struct container if successful, otherwise NULL. If successful, the new struct container will have also been added to the pParent container.
Comments
The returned interface MUST NOT be released by the caller. It is associated with the ActorBase object and will be released automatically. This method will fail gracefully (return NULL) if pParent is NULL.