Adding missing llGenerate function.

This commit is contained in:
Ima Mechanique 2013-02-25 23:50:26 +00:00
parent a544d1b4ac
commit b83574ac0c
3 changed files with 22 additions and 0 deletions

View file

@ -700,6 +700,13 @@
Returns a pseudo-random number between [0, mag). Returns a pseudo-random number between [0, mag).
</Word> </Word>
<Word name="llGenerateKey">
key llGenerateKey();
Generates a key (SHA-1 hash) using UUID generation to create a unique key.\n
As the UUID produced is versioned, it should never return a value of NULL_KEY.\nThe specific UUID version is an implementation detail that has changed in the past and may change again in the future. Do not depend upon the UUID that is returned to be version 5 SHA-1 hash.
</Word>
<Word name="llGetAccel"> <Word name="llGetAccel">
vector llGetAccel(void); vector llGetAccel(void);

View file

@ -7,6 +7,15 @@
</head> </head>
<body style="background-color: white; font-family: Verdana, sans-serif;font-size: 13px;line-height: 1.3"> <body style="background-color: white; font-family: Verdana, sans-serif;font-size: 13px;line-height: 1.3">
<div> <div>
<div>
<h3><span class="date">2013-02-25</span> - Release 2.50.0</h3>
<div>
* Function added:
<ul>
<li>llGenerate()</li>
</ul>
</div>
</div>
<div> <div>
<h3><span class="date">2013-02-14</span> - Release 2.49.0</h3> <h3><span class="date">2013-02-14</span> - Release 2.49.0</h3>
<div> <div>

View file

@ -1778,6 +1778,12 @@ namespace LSLEditor
return dblValue; return dblValue;
} }
public key llGenerate()
{
Verbose("llGenerate()");
return key.NULL_KEY;
}
public void llFleeFrom(vector Source, Float Distance, list Options) public void llFleeFrom(vector Source, Float Distance, list Options)
{ {
Verbose("llFleeFrom({0}, {1}, {2})", Source, Distance, Options); Verbose("llFleeFrom({0}, {1}, {2})", Source, Distance, Options);