C# Class WhiteCore.ScriptEngine.DotNetEngine.APIs.NotecardCache

Show file Open project: WhiteCoreSim/WhiteCore-Dev

Protected Properties

Property Type Description
m_Notecards Notecard>.Dictionary

Public Methods

Method Description
Cache ( UUID assetID, string text ) : void
CacheCheck ( ) : void
GetLine ( UUID assetID, int lineNumber ) : string

Get a notecard line.

GetLine ( UUID assetID, int lineNumber, int maxLength ) : string

Get a notecard line.

GetLines ( UUID assetID ) : int
IsCached ( UUID assetID ) : bool

Method Details

Cache() public static method

public static Cache ( UUID assetID, string text ) : void
assetID UUID
text string
return void

CacheCheck() public static method

public static CacheCheck ( ) : void
return void

GetLine() public static method

Get a notecard line.
public static GetLine ( UUID assetID, int lineNumber ) : string
assetID UUID
lineNumber int Lines start at index 0
return string

GetLine() public static method

Get a notecard line.
public static GetLine ( UUID assetID, int lineNumber, int maxLength ) : string
assetID UUID
lineNumber int Lines start at index 0
maxLength int /// Maximum length of the returned line. ///
return string

GetLines() public static method

public static GetLines ( UUID assetID ) : int
assetID UUID
return int

IsCached() public static method

public static IsCached ( UUID assetID ) : bool
assetID UUID
return bool

Property Details

m_Notecards protected static property

protected static Dictionary m_Notecards
return Notecard>.Dictionary