CScriptCache Class


Overview

Note

The CScriptCache class handles the script cache

The structure used for this class is CScriptCache


Quick Reference

Quick Ref

void CScriptCache::CScriptCache(long nSize)

void CScriptCache::~CScriptCache()

int CScriptCache::AddKey(CAIScript* var)

CAIScript* CScriptCache::FindKey(CResRef inVarName)

int CScriptCache::Hash(CString name)

void CScriptCache::Resize(long nSize)


Constructors

Name

Description

CScriptCache::CScriptCache

Constructs a CScriptCache object

CScriptCache::CScriptCache

Destroys a CScriptCache object

CScriptCache::CScriptCache

Constructs a CScriptCache object

void CScriptCache::CScriptCache();

Remarks

Constructs a CScriptCache object


CScriptCache::~CScriptCache

Destroys the CScriptCache object

virtual void CScriptCache::~CScriptCache();

Remarks

Destroys the CScriptCache object


Methods

Name

Description

CScriptCache::AddKey

CScriptCache::FindKey

CScriptCache::Hash

CScriptCache::Resize


CScriptCache::AddKey

x;

Parameters

Return Value

Returns

Remarks


CScriptCache::FindKey

x;

Parameters

Return Value

Returns

Remarks


CScriptCache::Hash

x;

Parameters

Return Value

Returns

Remarks


CScriptCache::Resize

x;

Parameters

Return Value

Returns

Remarks