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:
UbitUmarov
2023-06-02 18:30:28 +01:00
parent db1c739ef2
commit 2625eed5e4
6 changed files with 21 additions and 4 deletions

View File

@@ -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);
}
}

View File

@@ -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
}
}

View File

@@ -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}
};
}
}