Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CMessagePathResult Class Referencefinal

Sent by CCmpPathfinder after async path requests. More...

#include <MessageTypes.h>

Inheritance diagram for CMessagePathResult:
Collaboration diagram for CMessagePathResult:

Public Member Functions

virtual int GetType () const
 
virtual const char * GetScriptHandlerName () const
 
virtual const char * GetScriptGlobalHandlerName () const
 
virtual JS::Value ToJSVal (const ScriptRequest &rq) const
 
 CMessagePathResult (u32 ticket, const WaypointPath &path)
 
- Public Member Functions inherited from CMessage
virtual ~CMessage ()
 
virtual int GetType () const =0
 
virtual const char * GetScriptHandlerName () const =0
 
virtual const char * GetScriptGlobalHandlerName () const =0
 
virtual JS::Value ToJSVal (const ScriptRequest &) const =0
 
JS::Value ToJSValCached (const ScriptRequest &) const
 

Static Public Member Functions

static CMessageFromJSVal (const ScriptRequest &, JS::HandleValue val)
 

Public Attributes

u32 ticket
 
WaypointPath path
 

Additional Inherited Members

- Protected Member Functions inherited from CMessage
 CMessage ()
 

Detailed Description

Sent by CCmpPathfinder after async path requests.

Constructor & Destructor Documentation

◆ CMessagePathResult()

CMessagePathResult::CMessagePathResult ( u32  ticket,
const WaypointPath path 
)
inline

Member Function Documentation

◆ FromJSVal()

CMessage * CMessagePathResult::FromJSVal ( const ScriptRequest rq,
JS::HandleValue  val 
)
static

◆ GetScriptGlobalHandlerName()

virtual const char * CMessagePathResult::GetScriptGlobalHandlerName ( ) const
inlinevirtual

Implements CMessage.

◆ GetScriptHandlerName()

virtual const char * CMessagePathResult::GetScriptHandlerName ( ) const
inlinevirtual

Implements CMessage.

◆ GetType()

virtual int CMessagePathResult::GetType ( ) const
inlinevirtual

Implements CMessage.

◆ ToJSVal()

JS::Value CMessagePathResult::ToJSVal ( const ScriptRequest rq) const
virtual

Implements CMessage.

Member Data Documentation

◆ path

WaypointPath CMessagePathResult::path

◆ ticket

u32 CMessagePathResult::ticket

The documentation for this class was generated from the following files: