Drag[en]gine Script Module DragonScript Script API  1.0
ResourceNotifier Interface Reference

Resource notifier interface. More...

Inheritance diagram for ResourceNotifier:
LoadSpeechAnimation.LoadedSpeechAnimation Preloader.ResourceFinishedListener StubDecal StubElementTexture StubWorldDecal ECPAnimation ECPFont ECPImage ECPModel ECPOcclusionMesh ECPRig ECPSkin ECPSound ECPSoundList ElementClass

Public Member Functions

Notification
void finishedLoading (String filename, int resourceType, Object resource)
 Resource finished loading successfully. More...
 
void failedLoading (String filename, int resourceType)
 Resource failed loading. More...
 

Detailed Description

Resource notifier interface.

This is a native class.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ failedLoading()

void failedLoading ( String  filename,
int  resourceType 
)

Resource failed loading.

Parameters
filenameFilename used to load the resource.
resourceTypeValue from ResourceManager resource type constants.

Implemented in ElementClass, StubWorldDecal, StubDecal, StubElementTexture, ECPSoundList, ECPAnimation, ECPFont, ECPImage, ECPModel, ECPOcclusionMesh, ECPRig, ECPSkin, ECPSound, Preloader.ResourceFinishedListener, and LoadSpeechAnimation.LoadedSpeechAnimation.

§ finishedLoading()

void finishedLoading ( String  filename,
int  resourceType,
Object  resource 
)

Resource finished loading successfully.

Parameters
filenameFilename used to load the resource.
resourceTypeValue from ResourceManager resource type constants.
resourceLoaded resource.

Implemented in ElementClass, StubWorldDecal, StubDecal, StubElementTexture, ECPSoundList, ECPAnimation, ECPFont, ECPImage, ECPModel, ECPOcclusionMesh, ECPRig, ECPSkin, ECPSound, Preloader.ResourceFinishedListener, LoadSpeechAnimation.LoadedSpeechAnimation, and PreloadDynamicMusic.PartMusicFinishedListener.


The documentation for this interface was generated from the following file: