diff options
Diffstat (limited to 'OpenSim/OpenSim.Region/World/Entities/Avatar.Update.cs')
-rw-r--r-- | OpenSim/OpenSim.Region/World/Entities/Avatar.Update.cs | 148 |
1 files changed, 148 insertions, 0 deletions
diff --git a/OpenSim/OpenSim.Region/World/Entities/Avatar.Update.cs b/OpenSim/OpenSim.Region/World/Entities/Avatar.Update.cs new file mode 100644 index 0000000..d373fdb --- /dev/null +++ b/OpenSim/OpenSim.Region/World/Entities/Avatar.Update.cs | |||
@@ -0,0 +1,148 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://www.openmetaverse.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | * | ||
27 | */ | ||
28 | using System; | ||
29 | using System.Collections.Generic; | ||
30 | using System.Text; | ||
31 | using libsecondlife; | ||
32 | using libsecondlife.Packets; | ||
33 | using OpenSim.Physics.Manager; | ||
34 | using OpenSim.Framework.Interfaces; | ||
35 | |||
36 | namespace OpenSim.Region | ||
37 | { | ||
38 | partial class Avatar | ||
39 | { | ||
40 | /// <summary> | ||
41 | /// | ||
42 | /// </summary> | ||
43 | public override void update() | ||
44 | { | ||
45 | |||
46 | |||
47 | } | ||
48 | |||
49 | /// <summary> | ||
50 | /// | ||
51 | /// </summary> | ||
52 | /// <param name="remoteAvatar"></param> | ||
53 | public void SendUpdateToOtherClient(Avatar remoteAvatar) | ||
54 | { | ||
55 | |||
56 | } | ||
57 | |||
58 | /// <summary> | ||
59 | /// | ||
60 | /// </summary> | ||
61 | /// <returns></returns> | ||
62 | public ObjectUpdatePacket CreateUpdatePacket() | ||
63 | { | ||
64 | return null; | ||
65 | } | ||
66 | |||
67 | /// <summary> | ||
68 | /// | ||
69 | /// </summary> | ||
70 | public void SendInitialPosition() | ||
71 | { | ||
72 | this.ControllingClient.SendAvatarData(m_regionInfo, this.firstname, this.lastname, this.uuid, this.localid, new LLVector3(128, 128, 60)); | ||
73 | } | ||
74 | |||
75 | /// <summary> | ||
76 | /// | ||
77 | /// </summary> | ||
78 | public void SendOurAppearance() | ||
79 | { | ||
80 | |||
81 | } | ||
82 | |||
83 | /// <summary> | ||
84 | /// | ||
85 | /// </summary> | ||
86 | /// <param name="OurClient"></param> | ||
87 | public void SendOurAppearance(IClientAPI OurClient) | ||
88 | { | ||
89 | this.ControllingClient.SendWearables(this.Wearables); | ||
90 | } | ||
91 | |||
92 | /// <summary> | ||
93 | /// | ||
94 | /// </summary> | ||
95 | /// <param name="avatarInfo"></param> | ||
96 | public void SendAppearanceToOtherAgent(Avatar avatarInfo) | ||
97 | { | ||
98 | |||
99 | } | ||
100 | |||
101 | /// <summary> | ||
102 | /// | ||
103 | /// </summary> | ||
104 | /// <param name="texture"></param> | ||
105 | /// <param name="visualParam"></param> | ||
106 | public void SetAppearance(byte[] texture, AgentSetAppearancePacket.VisualParamBlock[] visualParam) | ||
107 | { | ||
108 | |||
109 | } | ||
110 | |||
111 | /// <summary> | ||
112 | /// | ||
113 | /// </summary> | ||
114 | public void StopMovement() | ||
115 | { | ||
116 | |||
117 | } | ||
118 | |||
119 | /// <summary> | ||
120 | /// Very likely to be deleted soon! | ||
121 | /// </summary> | ||
122 | /// <returns></returns> | ||
123 | public ImprovedTerseObjectUpdatePacket.ObjectDataBlock CreateTerseBlock() | ||
124 | { | ||
125 | return null; | ||
126 | } | ||
127 | |||
128 | /// <summary> | ||
129 | /// | ||
130 | /// </summary> | ||
131 | /// <param name="animID"></param> | ||
132 | /// <param name="seq"></param> | ||
133 | public void SendAnimPack(LLUUID animID, int seq) | ||
134 | { | ||
135 | |||
136 | |||
137 | } | ||
138 | |||
139 | /// <summary> | ||
140 | /// | ||
141 | /// </summary> | ||
142 | public void SendAnimPack() | ||
143 | { | ||
144 | |||
145 | } | ||
146 | |||
147 | } | ||
148 | } | ||