aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XMREngine/MMRScriptEventCode.cs
diff options
context:
space:
mode:
authorUbitUmarov2018-02-23 14:52:34 +0000
committerUbitUmarov2018-02-23 14:52:34 +0000
commit2129d941acbc5f83aca4dc4c30a62d3226888136 (patch)
treee12f2391978c923ef780f558ee5a32d857ee9124 /OpenSim/Region/ScriptEngine/XMREngine/MMRScriptEventCode.cs
parentMerge branch 'master' into httptests (diff)
downloadopensim-SC-2129d941acbc5f83aca4dc4c30a62d3226888136.zip
opensim-SC-2129d941acbc5f83aca4dc4c30a62d3226888136.tar.gz
opensim-SC-2129d941acbc5f83aca4dc4c30a62d3226888136.tar.bz2
opensim-SC-2129d941acbc5f83aca4dc4c30a62d3226888136.tar.xz
rename XMREngine as Yengine (still not all done), big mess source formating changes, move state files to proper folder, fix a source file locking on errors, more changes for cross platform including from Mike,... yes yes i know a messy commit
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/YEngine/MMRScriptEventCode.cs (renamed from OpenSim/Region/ScriptEngine/XMREngine/MMRScriptEventCode.cs)80
1 files changed, 41 insertions, 39 deletions
diff --git a/OpenSim/Region/ScriptEngine/XMREngine/MMRScriptEventCode.cs b/OpenSim/Region/ScriptEngine/YEngine/MMRScriptEventCode.cs
index 8e8b755..c00e8d4 100644
--- a/OpenSim/Region/ScriptEngine/XMREngine/MMRScriptEventCode.cs
+++ b/OpenSim/Region/ScriptEngine/YEngine/MMRScriptEventCode.cs
@@ -25,7 +25,8 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28namespace OpenSim.Region.ScriptEngine.XMREngine { 28namespace OpenSim.Region.ScriptEngine.Yengine
29{
29 30
30 /** 31 /**
31 * @brief List of event codes that can be passed to StartEventHandler(). 32 * @brief List of event codes that can be passed to StartEventHandler().
@@ -38,58 +39,59 @@ namespace OpenSim.Region.ScriptEngine.XMREngine {
38 * in range 0..63 that begin with a lower-case letter for scripts to 39 * in range 0..63 that begin with a lower-case letter for scripts to
39 * reference. 40 * reference.
40 */ 41 */
41 public enum ScriptEventCode : int { 42 public enum ScriptEventCode: int
43 {
42 44
43 // used by XMRInstance to indicate no event being processed 45 // used by XMRInstance to indicate no event being processed
44 None = -1, 46 None = -1,
45 47
46 // must be bit numbers of equivalent values in ... 48 // must be bit numbers of equivalent values in ...
47 // OpenSim.Region.ScriptEngine.Shared.ScriptBase.scriptEvents 49 // OpenSim.Region.ScriptEngine.Shared.ScriptBase.scriptEvents
48 // ... so they can be passed to m_Part.SetScriptEvents(). 50 // ... so they can be passed to m_Part.SetScriptEvents().
49 attach = 0, 51 attach = 0,
50 state_exit = 1, 52 state_exit = 1,
51 timer = 2, 53 timer = 2,
52 touch = 3, 54 touch = 3,
53 collision = 4, 55 collision = 4,
54 collision_end = 5, 56 collision_end = 5,
55 collision_start = 6, 57 collision_start = 6,
56 control = 7, 58 control = 7,
57 dataserver = 8, 59 dataserver = 8,
58 email = 9, 60 email = 9,
59 http_response = 10, 61 http_response = 10,
60 land_collision = 11, 62 land_collision = 11,
61 land_collision_end = 12, 63 land_collision_end = 12,
62 land_collision_start = 13, 64 land_collision_start = 13,
63 at_target = 14, 65 at_target = 14,
64 listen = 15, 66 listen = 15,
65 money = 16, 67 money = 16,
66 moving_end = 17, 68 moving_end = 17,
67 moving_start = 18, 69 moving_start = 18,
68 not_at_rot_target = 19, 70 not_at_rot_target = 19,
69 not_at_target = 20, 71 not_at_target = 20,
70 touch_start = 21, 72 touch_start = 21,
71 object_rez = 22, 73 object_rez = 22,
72 remote_data = 23, 74 remote_data = 23,
73 at_rot_target = 24, 75 at_rot_target = 24,
74 transaction_result = 25, 76 transaction_result = 25,
75 run_time_permissions = 28, 77 run_time_permissions = 28,
76 touch_end = 29, 78 touch_end = 29,
77 state_entry = 30, 79 state_entry = 30,
78 80
79 // events not passed to m_Part.SetScriptEvents(). 81 // events not passed to m_Part.SetScriptEvents().
80 changed = 33, 82 changed = 33,
81 link_message = 34, 83 link_message = 34,
82 no_sensor = 35, 84 no_sensor = 35,
83 on_rez = 36, 85 on_rez = 36,
84 sensor = 37, 86 sensor = 37,
85 http_request = 38, 87 http_request = 38,
86 88
87 path_update = 40, 89 path_update = 40,
88 90
89 // XMRE specific 91 // XMRE specific
90 region_cross = 63, 92 region_cross = 63,
91 93
92 // marks highest numbered event, ie, number of columns in seht. 94 // marks highest numbered event, ie, number of columns in seht.
93 Size = 64 95 Size = 64
94 } 96 }
95} 97}