mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
add some constants and reserve some linkset_data lsl event slots, compatible to mantis9081 patch, for now not accepted (any future implementation may diverge from that, even sl
This commit is contained in:
@@ -1011,5 +1011,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
public const int NPCLOOKAT_FOCUS = 8;
|
||||
public const int NPCLOOKAT_MOUSELOOK = 9;
|
||||
public const int NPCLOOKAT_CLEAR = 10;
|
||||
|
||||
// future ?? linkset_data event
|
||||
public const int LINKSETDATA_RESET = 0;
|
||||
public const int LINKSETDATA_UPDATE = 1;
|
||||
public const int LINKSETDATA_DELETE = 2;
|
||||
|
||||
public const int LINKSETDATA_OK = 0;
|
||||
public const int LINKSETDATA_EMEMORY = 1;
|
||||
public const int LINKSETDATA_ENOKEY = 2;
|
||||
public const int LINKSETDATA_EPROTECTED = 3;
|
||||
public const int LINKSETDATA_NOTFOUND = 4;
|
||||
public const int LINKSETDATA_NOUPDATE = 5;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,5 +74,6 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
void transaction_result(string id, int success, string data);
|
||||
void path_update(int type, LSL_List data);
|
||||
void region_cross(LSL_Vector newpos, LSL_Vector oldpos);
|
||||
void linkset_data(LSL_Integer action, string name, string value);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -83,8 +83,9 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
http_request = 38,
|
||||
//
|
||||
path_update = 40,
|
||||
linkset_data = 41,
|
||||
|
||||
// marks highest numbered event
|
||||
Size = 41
|
||||
Size = 42
|
||||
}
|
||||
}
|
||||
|
||||
@@ -241,7 +241,8 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
{"on_rez", ScriptEventCode.on_rez},
|
||||
{"sensor", ScriptEventCode.sensor},
|
||||
{"http_request", ScriptEventCode.http_request},
|
||||
{"path_update", ScriptEventCode.path_update}
|
||||
{"path_update", ScriptEventCode.path_update},
|
||||
{"linkset_data", ScriptEventCode.linkset_data}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user