aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/IClientAPI2.cs118
1 files changed, 59 insertions, 59 deletions
diff --git a/OpenSim/Framework/IClientAPI2.cs b/OpenSim/Framework/IClientAPI2.cs
index 1ae7894..684f3e8 100644
--- a/OpenSim/Framework/IClientAPI2.cs
+++ b/OpenSim/Framework/IClientAPI2.cs
@@ -1,59 +1,59 @@
1using System; 1using System;
2 2
3namespace OpenSim.Framework 3namespace OpenSim.Framework
4{ 4{
5 #region Args Classes 5 #region Args Classes
6 public class ICA2_ConnectionArgs : EventArgs 6 public class ICA2_ConnectionArgs : EventArgs
7 { 7 {
8 8
9 } 9 }
10 10
11 public class ICA2_DisconnectionArgs : EventArgs 11 public class ICA2_DisconnectionArgs : EventArgs
12 { 12 {
13 public bool Forced; 13 public bool Forced;
14 14
15 // Static Constructor 15 // Static Constructor
16 // Allows us to recycle these classes later more easily from a pool. 16 // Allows us to recycle these classes later more easily from a pool.
17 public static ICA2_DisconnectionArgs Create(bool forced) 17 public static ICA2_DisconnectionArgs Create(bool forced)
18 { 18 {
19 ICA2_DisconnectionArgs tmp = new ICA2_DisconnectionArgs(); 19 ICA2_DisconnectionArgs tmp = new ICA2_DisconnectionArgs();
20 tmp.Forced = forced; 20 tmp.Forced = forced;
21 21
22 return tmp; 22 return tmp;
23 } 23 }
24 } 24 }
25 25
26 public class ICA2_PingArgs : EventArgs 26 public class ICA2_PingArgs : EventArgs
27 { 27 {
28 } 28 }
29 29
30 public class ICA2_AvatarAppearanceArgs : EventArgs 30 public class ICA2_AvatarAppearanceArgs : EventArgs
31 { 31 {
32 } 32 }
33 33
34 public class ICA2_TerraformArgs : EventArgs 34 public class ICA2_TerraformArgs : EventArgs
35 { 35 {
36 public double XMin; 36 public double XMin;
37 public double XMax; 37 public double XMax;
38 public double YMin; 38 public double YMin;
39 public double YMax; 39 public double YMax;
40 public Guid Action; 40 public Guid Action;
41 public double Strength; // 0 .. 1 41 public double Strength; // 0 .. 1
42 public double Radius; 42 public double Radius;
43 } 43 }
44 #endregion 44 #endregion
45 45
46 public delegate void ICA2_OnTerraformDelegate(IClientAPI2 sender, ICA2_TerraformArgs e); 46 public delegate void ICA2_OnTerraformDelegate(IClientAPI2 sender, ICA2_TerraformArgs e);
47 47
48 public interface IClientAPI2 48 public interface IClientAPI2
49 { 49 {
50 // Connect / Disconnect 50 // Connect / Disconnect
51 void Connect(ICA2_ConnectionArgs e); 51 void Connect(ICA2_ConnectionArgs e);
52 void Disconnect(ICA2_DisconnectionArgs e); 52 void Disconnect(ICA2_DisconnectionArgs e);
53 void Ping(ICA2_PingArgs e); 53 void Ping(ICA2_PingArgs e);
54 54
55 void SendAvatarAppearance(ICA2_AvatarAppearanceArgs e); 55 void SendAvatarAppearance(ICA2_AvatarAppearanceArgs e);
56 56
57 event ICA2_OnTerraformDelegate OnTerraform; 57 event ICA2_OnTerraformDelegate OnTerraform;
58 } 58 }
59} 59}