Diff of /trunk/ModularRex/RexParts/RexTestModule.cs
Parent Directory
|
Revision Log
|
Patch
| revision 63, Mon Feb 9 07:13:09 2009 UTC | revision 87, Thu Mar 5 06:54:46 2009 UTC | |
|---|---|---|
| # | Line 4 | Line 4 |
| 4 | using Nini.Config; | using Nini.Config; |
| 5 | using OpenSim.Region.Framework.Interfaces; | using OpenSim.Region.Framework.Interfaces; |
| 6 | using OpenSim.Region.Framework.Scenes; | using OpenSim.Region.Framework.Scenes; |
| 7 | using OpenSim.Framework; | |
| 8 | ||
| 9 | namespace ModularRex.RexParts | namespace ModularRex.RexParts |
| 10 | { | { |
| # | Line 17 | Line 18 |
| 18 | scene.EventManager.OnNewClient += EventManager_OnNewClient; | scene.EventManager.OnNewClient += EventManager_OnNewClient; |
| 19 | } | } |
| 20 | ||
| 21 | void EventManager_OnNewClient(OpenSim.Framework.IClientAPI client) | void EventManager_OnNewClient(IClientAPI client) |
| 22 | { | { |
| 23 | if (client is RexClientView) | if (client is RexClientView) |
| 24 | { | { |
| # | Line 47 | Line 48 |
| 48 | } | } |
| 49 | } | } |
| 50 | ||
| 51 | void rcv_OnRexFaceExpression(RexClientView sender, System.Collections.Generic.List<string> vParams) | void rcv_OnRexFaceExpression(IClientAPI sender, System.Collections.Generic.List<string> vParams) |
| 52 | { | { |
| 53 | m_log.Info("[REXCLIENT] Recieved Rex Facial Expression"); | m_log.Info("[REXCLIENT] Recieved Rex Facial Expression"); |
| 54 | } | } |
| 55 | ||
| 56 | void rcv_OnRexAppearance(RexClientView sender) | void rcv_OnRexAppearance(IClientAPI sender) |
| 57 | { | { |
| 58 | m_log.Info("[REXCLIENT] Recieved Rex Appearance"); | m_log.Info("[REXCLIENT] Recieved Rex Appearance"); |
| 59 | } | } |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

