Add more common code
This commit is contained in:
parent
b32b75967e
commit
4b9e19425a
2 changed files with 15 additions and 8 deletions
|
@ -257,6 +257,7 @@ string Uncheckbox(string sLabel)
|
|||
string SLURL(key kID){
|
||||
return "secondlife:///app/agent/"+(string)kID+"/about";
|
||||
}
|
||||
|
||||
string OSLURL(key kID)
|
||||
{
|
||||
return llKey2Name(kID); // TODO: Replace with a SLURL of some kind pointing to the object inspect.
|
||||
|
@ -316,6 +317,7 @@ DeleteDSReq(key ID){
|
|||
string MkMeta(list lTmp){
|
||||
return llDumpList2String(lTmp, ":");
|
||||
}
|
||||
|
||||
string SetMetaList(list lTmp){
|
||||
return llDumpList2String(lTmp, ":");
|
||||
}
|
||||
|
@ -351,6 +353,7 @@ string int2Perms(integer perm)
|
|||
output += "none";
|
||||
return output;
|
||||
}
|
||||
|
||||
string inv2Perms(string inventory, integer iMask)
|
||||
{
|
||||
integer perm = llGetInventoryPermMask(inventory,iMask);
|
||||
|
|
|
@ -1,16 +1,20 @@
|
|||
key NULL = NULL_KEY;
|
||||
string API_SERVER;
|
||||
|
||||
#define R_ADMIN 1
|
||||
#define R_DEVELOPER 2
|
||||
#define R_SUPPORT 4
|
||||
integer R_ADMIN = 1;
|
||||
integer R_DEVELOPER = 2;
|
||||
integer R_SUPPORT = 4;
|
||||
|
||||
list g_lSupport;
|
||||
integer g_iLastSupportCheck;
|
||||
|
||||
#define RED_QUEEN "27a0ae67-30d9-4fbc-b9fb-fd388c98c202"
|
||||
#define ARIA "5556d037-3990-4204-a949-73e56cd3cb06"
|
||||
integer ONE_DAY = ((60*60)*24);
|
||||
key RED_QUEEN = "27a0ae67-30d9-4fbc-b9fb-fd388c98c202";
|
||||
key ARIA = "5556d037-3990-4204-a949-73e56cd3cb06";
|
||||
|
||||
list g_lCheckboxes=["□","▣"];
|
||||
list g_lDSRequests;
|
||||
|
||||
integer ONE_DAY = 86400; //((60*60)*24);
|
||||
integer THIRTY_DAYS = 2592000; //(((60*60)*24)*30);
|
||||
|
||||
|
||||
list g_lCheckboxes = ["□","▣"];
|
||||
list g_lDSRequests;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue