OsGetNotecard: Difference between revisions

From OpenSimulator
Jump to navigationJump to search
imported>Fritigern
No edit summary
imported>Fritigern
No edit summary
Line 1: Line 1:
'''osGetNotecard'''(string name)
{|  width="100%" style="border: thin solid black"
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
|- valign="top"
|'''Threat Level''' || VeryHigh


This function directly reads the entire contents of a notecard if it exists within the task inventory, and dumps it into a string. It skips the dataserver event, thereby reducing code complexity. This function has a threat level of Very High:
|- valign="top"
|'''Function Syntax''' || <source lang="lsl">
osGetNotecard(string name)
</source>
|- valign="top"
|'''Example(s)||


<br> ''From OSSL_Api.cs:''
|}
<blockquote>"due to the synchronous method this function uses to fetch assets, its use may be dangerous and unreliable while running in grid mode."</blockquote>


--[[User:ZauberExonar|ZauberExonar]] 08:20, 5 February 2010 (UTC)


This function directly reads the entire contents of a notecard if it exists within the task inventory, and dumps it into a string. It skips the dataserver event, thereby reducing code complexity.


[[Category:OSSL]]
[[Category:OSSL Functions]]
[[Category:OSSL functions without example]]
[[Category:OSSL functions without example]]

Revision as of 16:36, 11 June 2011

OsGetNotecard
Threat Level VeryHigh
Function Syntax
osGetNotecard(string name)
Example(s)


This function directly reads the entire contents of a notecard if it exists within the task inventory, and dumps it into a string. It skips the dataserver event, thereby reducing code complexity.