From 92128d4ef9594a9f3c653660cb6fa729eb61818f Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Wed, 14 May 2008 03:09:02 +0000 Subject: Update svn properties. --- OpenSim/Framework/IClientAPI2.cs | 118 +++++++++++++++++++-------------------- 1 file changed, 59 insertions(+), 59 deletions(-) (limited to 'OpenSim') 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 @@ -using System; - -namespace OpenSim.Framework -{ - #region Args Classes - public class ICA2_ConnectionArgs : EventArgs - { - - } - - public class ICA2_DisconnectionArgs : EventArgs - { - public bool Forced; - - // Static Constructor - // Allows us to recycle these classes later more easily from a pool. - public static ICA2_DisconnectionArgs Create(bool forced) - { - ICA2_DisconnectionArgs tmp = new ICA2_DisconnectionArgs(); - tmp.Forced = forced; - - return tmp; - } - } - - public class ICA2_PingArgs : EventArgs - { - } - - public class ICA2_AvatarAppearanceArgs : EventArgs - { - } - - public class ICA2_TerraformArgs : EventArgs - { - public double XMin; - public double XMax; - public double YMin; - public double YMax; - public Guid Action; - public double Strength; // 0 .. 1 - public double Radius; - } - #endregion - - public delegate void ICA2_OnTerraformDelegate(IClientAPI2 sender, ICA2_TerraformArgs e); - - public interface IClientAPI2 - { - // Connect / Disconnect - void Connect(ICA2_ConnectionArgs e); - void Disconnect(ICA2_DisconnectionArgs e); - void Ping(ICA2_PingArgs e); - - void SendAvatarAppearance(ICA2_AvatarAppearanceArgs e); - - event ICA2_OnTerraformDelegate OnTerraform; - } -} +using System; + +namespace OpenSim.Framework +{ + #region Args Classes + public class ICA2_ConnectionArgs : EventArgs + { + + } + + public class ICA2_DisconnectionArgs : EventArgs + { + public bool Forced; + + // Static Constructor + // Allows us to recycle these classes later more easily from a pool. + public static ICA2_DisconnectionArgs Create(bool forced) + { + ICA2_DisconnectionArgs tmp = new ICA2_DisconnectionArgs(); + tmp.Forced = forced; + + return tmp; + } + } + + public class ICA2_PingArgs : EventArgs + { + } + + public class ICA2_AvatarAppearanceArgs : EventArgs + { + } + + public class ICA2_TerraformArgs : EventArgs + { + public double XMin; + public double XMax; + public double YMin; + public double YMax; + public Guid Action; + public double Strength; // 0 .. 1 + public double Radius; + } + #endregion + + public delegate void ICA2_OnTerraformDelegate(IClientAPI2 sender, ICA2_TerraformArgs e); + + public interface IClientAPI2 + { + // Connect / Disconnect + void Connect(ICA2_ConnectionArgs e); + void Disconnect(ICA2_DisconnectionArgs e); + void Ping(ICA2_PingArgs e); + + void SendAvatarAppearance(ICA2_AvatarAppearanceArgs e); + + event ICA2_OnTerraformDelegate OnTerraform; + } +} -- cgit v1.1