Update svn properties.

0.6.0-stable
Jeff Ames 2008-05-14 03:09:02 +00:00
parent 60146691ea
commit 92128d4ef9
1 changed files with 59 additions and 59 deletions

View File

@ -1,59 +1,59 @@
using System; using System;
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
#region Args Classes #region Args Classes
public class ICA2_ConnectionArgs : EventArgs public class ICA2_ConnectionArgs : EventArgs
{ {
} }
public class ICA2_DisconnectionArgs : EventArgs public class ICA2_DisconnectionArgs : EventArgs
{ {
public bool Forced; public bool Forced;
// Static Constructor // Static Constructor
// Allows us to recycle these classes later more easily from a pool. // Allows us to recycle these classes later more easily from a pool.
public static ICA2_DisconnectionArgs Create(bool forced) public static ICA2_DisconnectionArgs Create(bool forced)
{ {
ICA2_DisconnectionArgs tmp = new ICA2_DisconnectionArgs(); ICA2_DisconnectionArgs tmp = new ICA2_DisconnectionArgs();
tmp.Forced = forced; tmp.Forced = forced;
return tmp; return tmp;
} }
} }
public class ICA2_PingArgs : EventArgs public class ICA2_PingArgs : EventArgs
{ {
} }
public class ICA2_AvatarAppearanceArgs : EventArgs public class ICA2_AvatarAppearanceArgs : EventArgs
{ {
} }
public class ICA2_TerraformArgs : EventArgs public class ICA2_TerraformArgs : EventArgs
{ {
public double XMin; public double XMin;
public double XMax; public double XMax;
public double YMin; public double YMin;
public double YMax; public double YMax;
public Guid Action; public Guid Action;
public double Strength; // 0 .. 1 public double Strength; // 0 .. 1
public double Radius; public double Radius;
} }
#endregion #endregion
public delegate void ICA2_OnTerraformDelegate(IClientAPI2 sender, ICA2_TerraformArgs e); public delegate void ICA2_OnTerraformDelegate(IClientAPI2 sender, ICA2_TerraformArgs e);
public interface IClientAPI2 public interface IClientAPI2
{ {
// Connect / Disconnect // Connect / Disconnect
void Connect(ICA2_ConnectionArgs e); void Connect(ICA2_ConnectionArgs e);
void Disconnect(ICA2_DisconnectionArgs e); void Disconnect(ICA2_DisconnectionArgs e);
void Ping(ICA2_PingArgs e); void Ping(ICA2_PingArgs e);
void SendAvatarAppearance(ICA2_AvatarAppearanceArgs e); void SendAvatarAppearance(ICA2_AvatarAppearanceArgs e);
event ICA2_OnTerraformDelegate OnTerraform; event ICA2_OnTerraformDelegate OnTerraform;
} }
} }