diff options
author | Adam Frisby | 2007-07-13 07:17:42 +0000 |
---|---|---|
committer | Adam Frisby | 2007-07-13 07:17:42 +0000 |
commit | 0f1b2f278b9a11dacc14949cd78437c395d2f57c (patch) | |
tree | 5d1ac7b0f7ace5e295d29ca7e08e5c28cfe8a71c /OpenSim/Framework/General | |
parent | *Parcel updates are now sent to users over newly subdivided areas and users o... (diff) | |
download | opensim-SC-0f1b2f278b9a11dacc14949cd78437c395d2f57c.zip opensim-SC-0f1b2f278b9a11dacc14949cd78437c395d2f57c.tar.gz opensim-SC-0f1b2f278b9a11dacc14949cd78437c395d2f57c.tar.bz2 opensim-SC-0f1b2f278b9a11dacc14949cd78437c395d2f57c.tar.xz |
* Fixing compiler warnings in an attempt to reduce them back down to zero.
Diffstat (limited to 'OpenSim/Framework/General')
-rw-r--r-- | OpenSim/Framework/General/RegionCommsListener.cs | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/OpenSim/Framework/General/RegionCommsListener.cs b/OpenSim/Framework/General/RegionCommsListener.cs index 2b0bc62..4d6b59c 100644 --- a/OpenSim/Framework/General/RegionCommsListener.cs +++ b/OpenSim/Framework/General/RegionCommsListener.cs | |||
@@ -29,6 +29,8 @@ using libsecondlife; | |||
29 | using OpenSim.Framework.Interfaces; | 29 | using OpenSim.Framework.Interfaces; |
30 | using OpenSim.Framework.Types; | 30 | using OpenSim.Framework.Types; |
31 | 31 | ||
32 | using System.Collections.Generic; | ||
33 | |||
32 | namespace OpenSim.Framework | 34 | namespace OpenSim.Framework |
33 | { | 35 | { |
34 | public class RegionCommsListener :IRegionCommsListener | 36 | public class RegionCommsListener :IRegionCommsListener |
@@ -64,5 +66,38 @@ namespace OpenSim.Framework | |||
64 | } | 66 | } |
65 | return false; | 67 | return false; |
66 | } | 68 | } |
69 | |||
70 | /// <summary> | ||
71 | /// | ||
72 | /// </summary> | ||
73 | /// <remarks>TODO: Doesnt take any args??</remarks> | ||
74 | /// <returns></returns> | ||
75 | public virtual bool TriggerExpectChildAgent() | ||
76 | { | ||
77 | if (OnExpectChildAgent != null) | ||
78 | { | ||
79 | OnExpectChildAgent(); | ||
80 | return true; | ||
81 | } | ||
82 | |||
83 | return false; | ||
84 | } | ||
85 | |||
86 | /// <summary> | ||
87 | /// | ||
88 | /// </summary> | ||
89 | /// <remarks>Added to avoid a unused compiler warning on OnNeighboursUpdate, TODO: Check me</remarks> | ||
90 | /// <param name="neighbours"></param> | ||
91 | /// <returns></returns> | ||
92 | public virtual bool TriggerOnNeighboursUpdate(List<RegionInfo> neighbours) | ||
93 | { | ||
94 | if (OnNeighboursUpdate != null) | ||
95 | { | ||
96 | OnNeighboursUpdate(neighbours); | ||
97 | return true; | ||
98 | } | ||
99 | |||
100 | return false; | ||
101 | } | ||
67 | } | 102 | } |
68 | } | 103 | } |