cosmetics

This commit is contained in:
UbitUmarov
2020-08-30 16:05:02 +01:00
parent 09f074096f
commit 92e3f424cf
6 changed files with 57 additions and 67 deletions

View File

@@ -50,36 +50,38 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
[Flags]
public enum scriptEvents : int
{
None = 0,
attach = 1,
collision = 16,
collision_end = 32,
collision_start = 64,
control = 128,
dataserver = 256,
email = 512,
http_response = 1024,
land_collision = 2048,
land_collision_end = 4096,
land_collision_start = 8192,
at_target = 16384,
at_rot_target = 16777216,
listen = 32768,
money = 65536,
moving_end = 131072,
moving_start = 262144,
not_at_rot_target = 524288,
not_at_target = 1048576,
remote_data = 8388608,
run_time_permissions = 268435456,
state_entry = 1073741824,
state_exit = 2,
timer = 4,
touch = 8,
touch_end = 536870912,
touch_start = 2097152,
transaction_result = 33554432,
object_rez = 4194304
None = 0,
attach = 1,
state_exit = 1 << 1,
timer = 1 << 2,
touch = 1 << 3,
collision = 1 << 4,
collision_end = 1 << 5,
collision_start = 1 << 6,
control = 1 << 7,
dataserver = 1 << 8,
email = 1 << 9,
http_response = 1 << 10,
land_collision = 1 << 11,
land_collision_end = 1 << 12,
land_collision_start = 1 << 13,
at_target = 1 << 14,
listen = 1 << 15,
money = 1 << 16,
moving_end = 1 << 17,
moving_start = 1 << 18,
not_at_rot_target = 1 << 19,
not_at_target = 1 << 20,
touch_start = 1 << 21,
object_rez = 1 << 22,
remote_data = 1 << 23,
at_rot_target = 1 << 24,
transaction_result = 1 << 25,
//
//
run_time_permissions = 1 << 28,
touch_end = 1 << 29,
state_entry = 1 << 30,
}
// Cache functions by keeping a reference to them in a dictionary