aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Client/Sirikata/Protocol/Physics.pbj.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Client/Sirikata/Protocol/Physics.pbj.cs')
-rw-r--r--OpenSim/Client/Sirikata/Protocol/Physics.pbj.cs421
1 files changed, 0 insertions, 421 deletions
diff --git a/OpenSim/Client/Sirikata/Protocol/Physics.pbj.cs b/OpenSim/Client/Sirikata/Protocol/Physics.pbj.cs
deleted file mode 100644
index 9fb5a28..0000000
--- a/OpenSim/Client/Sirikata/Protocol/Physics.pbj.cs
+++ /dev/null
@@ -1,421 +0,0 @@
1/*
2 * Copyright (c) Contributors, http://opensimulator.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 OpenSimulator 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
28using pbd = global::Google.ProtocolBuffers.Descriptors;
29using pb = global::Google.ProtocolBuffers;
30namespace Sirikata.Physics.Protocol {
31 public class CollisionBegin : PBJ.IMessage {
32 protected _PBJ_Internal.CollisionBegin super;
33 public _PBJ_Internal.CollisionBegin _PBJSuper{ get { return super;} }
34 public CollisionBegin() {
35 super=new _PBJ_Internal.CollisionBegin();
36 }
37 public CollisionBegin(_PBJ_Internal.CollisionBegin reference) {
38 super=reference;
39 }
40 public static CollisionBegin defaultInstance= new CollisionBegin (_PBJ_Internal.CollisionBegin.DefaultInstance);
41 public static CollisionBegin DefaultInstance{
42 get {return defaultInstance;}
43 }
44 public static pbd.MessageDescriptor Descriptor {
45 get { return _PBJ_Internal.CollisionBegin.Descriptor; } }
46 public static class Types {
47 }
48 public static bool WithinReservedFieldTagRange(int field_tag) {
49 return false;
50 }
51 public static bool WithinExtensionFieldTagRange(int field_tag) {
52 return false;
53 }
54 public const int TimestampFieldTag=2;
55 public bool HasTimestamp{ get {return super.HasTimestamp&&PBJ._PBJ.ValidateTime(super.Timestamp);} }
56 public PBJ.Time Timestamp{ get {
57 if (HasTimestamp) {
58 return PBJ._PBJ.CastTime(super.Timestamp);
59 } else {
60 return PBJ._PBJ.CastTime();
61 }
62 }
63 }
64 public const int ThisPositionFieldTag=3;
65 public int ThisPositionCount { get { return super.ThisPositionCount/3;} }
66 public bool HasThisPosition(int index) { return true; }
67 public PBJ.Vector3d GetThisPosition(int index) {
68 if (HasThisPosition(index)) {
69 return PBJ._PBJ.CastVector3d(super.GetThisPosition(index*3+0),super.GetThisPosition(index*3+1),super.GetThisPosition(index*3+2));
70 } else {
71 return PBJ._PBJ.CastVector3d();
72 }
73 }
74 public const int OtherPositionFieldTag=4;
75 public int OtherPositionCount { get { return super.OtherPositionCount/3;} }
76 public bool HasOtherPosition(int index) { return true; }
77 public PBJ.Vector3d GetOtherPosition(int index) {
78 if (HasOtherPosition(index)) {
79 return PBJ._PBJ.CastVector3d(super.GetOtherPosition(index*3+0),super.GetOtherPosition(index*3+1),super.GetOtherPosition(index*3+2));
80 } else {
81 return PBJ._PBJ.CastVector3d();
82 }
83 }
84 public const int ThisNormalFieldTag=5;
85 public int ThisNormalCount { get { return super.ThisNormalCount/2;} }
86 public bool HasThisNormal(int index) { return true; }
87 public PBJ.Vector3f GetThisNormal(int index) {
88 if (HasThisNormal(index)) {
89 return PBJ._PBJ.CastNormal(super.GetThisNormal(index*2+0),super.GetThisNormal(index*2+1));
90 } else {
91 return PBJ._PBJ.CastNormal();
92 }
93 }
94 public const int ImpulseFieldTag=6;
95 public int ImpulseCount { get { return super.ImpulseCount;} }
96 public bool HasImpulse(int index) {return PBJ._PBJ.ValidateFloat(super.GetImpulse(index));}
97 public float Impulse(int index) {
98 return (float)PBJ._PBJ.CastFloat(super.GetImpulse(index));
99 }
100 public const int OtherObjectReferenceFieldTag=7;
101 public bool HasOtherObjectReference{ get {return super.HasOtherObjectReference&&PBJ._PBJ.ValidateUuid(super.OtherObjectReference);} }
102 public PBJ.UUID OtherObjectReference{ get {
103 if (HasOtherObjectReference) {
104 return PBJ._PBJ.CastUuid(super.OtherObjectReference);
105 } else {
106 return PBJ._PBJ.CastUuid();
107 }
108 }
109 }
110 public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
111 public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
112 public static Builder CreateBuilder() { return new Builder(); }
113 public static Builder CreateBuilder(CollisionBegin prototype) {
114 return (Builder)new Builder().MergeFrom(prototype);
115 }
116 public static CollisionBegin ParseFrom(pb::ByteString data) {
117 return new CollisionBegin(_PBJ_Internal.CollisionBegin.ParseFrom(data));
118 }
119 public static CollisionBegin ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
120 return new CollisionBegin(_PBJ_Internal.CollisionBegin.ParseFrom(data,er));
121 }
122 public static CollisionBegin ParseFrom(byte[] data) {
123 return new CollisionBegin(_PBJ_Internal.CollisionBegin.ParseFrom(data));
124 }
125 public static CollisionBegin ParseFrom(byte[] data, pb::ExtensionRegistry er) {
126 return new CollisionBegin(_PBJ_Internal.CollisionBegin.ParseFrom(data,er));
127 }
128 public static CollisionBegin ParseFrom(global::System.IO.Stream data) {
129 return new CollisionBegin(_PBJ_Internal.CollisionBegin.ParseFrom(data));
130 }
131 public static CollisionBegin ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
132 return new CollisionBegin(_PBJ_Internal.CollisionBegin.ParseFrom(data,er));
133 }
134 public static CollisionBegin ParseFrom(pb::CodedInputStream data) {
135 return new CollisionBegin(_PBJ_Internal.CollisionBegin.ParseFrom(data));
136 }
137 public static CollisionBegin ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
138 return new CollisionBegin(_PBJ_Internal.CollisionBegin.ParseFrom(data,er));
139 }
140 protected override bool _HasAllPBJFields{ get {
141 return true
142 ;
143 } }
144 public bool IsInitialized { get {
145 return super.IsInitialized&&_HasAllPBJFields;
146 } }
147 public class Builder : global::PBJ.IMessage.IBuilder{
148 protected override bool _HasAllPBJFields{ get {
149 return true
150 ;
151 } }
152 public bool IsInitialized { get {
153 return super.IsInitialized&&_HasAllPBJFields;
154 } }
155 protected _PBJ_Internal.CollisionBegin.Builder super;
156 public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
157 public _PBJ_Internal.CollisionBegin.Builder _PBJSuper{ get { return super;} }
158 public Builder() {super = new _PBJ_Internal.CollisionBegin.Builder();}
159 public Builder(_PBJ_Internal.CollisionBegin.Builder other) {
160 super=other;
161 }
162 public Builder Clone() {return new Builder(super.Clone());}
163 public Builder MergeFrom(CollisionBegin prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
164 public Builder Clear() {super.Clear();return this;}
165 public CollisionBegin BuildPartial() {return new CollisionBegin(super.BuildPartial());}
166 public CollisionBegin Build() {if (_HasAllPBJFields) return new CollisionBegin(super.Build());return null;}
167 public pbd::MessageDescriptor DescriptorForType {
168 get { return CollisionBegin.Descriptor; } }
169 public Builder ClearTimestamp() { super.ClearTimestamp();return this;}
170 public const int TimestampFieldTag=2;
171 public bool HasTimestamp{ get {return super.HasTimestamp&&PBJ._PBJ.ValidateTime(super.Timestamp);} }
172 public PBJ.Time Timestamp{ get {
173 if (HasTimestamp) {
174 return PBJ._PBJ.CastTime(super.Timestamp);
175 } else {
176 return PBJ._PBJ.CastTime();
177 }
178 }
179 set {
180 super.Timestamp=(PBJ._PBJ.Construct(value));
181 }
182 }
183 public Builder ClearThisPosition() { super.ClearThisPosition();return this;}
184 public const int ThisPositionFieldTag=3;
185 public int ThisPositionCount { get { return super.ThisPositionCount/3;} }
186 public bool HasThisPosition(int index) { return true; }
187 public PBJ.Vector3d GetThisPosition(int index) {
188 if (HasThisPosition(index)) {
189 return PBJ._PBJ.CastVector3d(super.GetThisPosition(index*3+0),super.GetThisPosition(index*3+1),super.GetThisPosition(index*3+2));
190 } else {
191 return PBJ._PBJ.CastVector3d();
192 }
193 }
194 public Builder AddThisPosition(PBJ.Vector3d value) {
195 double[] _PBJtempArray=PBJ._PBJ.ConstructVector3d(value);
196 super.AddThisPosition(_PBJtempArray[0]);
197 super.AddThisPosition(_PBJtempArray[1]);
198 super.AddThisPosition(_PBJtempArray[2]);
199 return this;
200 }
201 public Builder SetThisPosition(int index,PBJ.Vector3d value) {
202 double[] _PBJtempArray=PBJ._PBJ.ConstructVector3d(value);
203 super.SetThisPosition(index*3+0,_PBJtempArray[0]);
204 super.SetThisPosition(index*3+1,_PBJtempArray[1]);
205 super.SetThisPosition(index*3+2,_PBJtempArray[2]);
206 return this;
207 }
208 public Builder ClearOtherPosition() { super.ClearOtherPosition();return this;}
209 public const int OtherPositionFieldTag=4;
210 public int OtherPositionCount { get { return super.OtherPositionCount/3;} }
211 public bool HasOtherPosition(int index) { return true; }
212 public PBJ.Vector3d GetOtherPosition(int index) {
213 if (HasOtherPosition(index)) {
214 return PBJ._PBJ.CastVector3d(super.GetOtherPosition(index*3+0),super.GetOtherPosition(index*3+1),super.GetOtherPosition(index*3+2));
215 } else {
216 return PBJ._PBJ.CastVector3d();
217 }
218 }
219 public Builder AddOtherPosition(PBJ.Vector3d value) {
220 double[] _PBJtempArray=PBJ._PBJ.ConstructVector3d(value);
221 super.AddOtherPosition(_PBJtempArray[0]);
222 super.AddOtherPosition(_PBJtempArray[1]);
223 super.AddOtherPosition(_PBJtempArray[2]);
224 return this;
225 }
226 public Builder SetOtherPosition(int index,PBJ.Vector3d value) {
227 double[] _PBJtempArray=PBJ._PBJ.ConstructVector3d(value);
228 super.SetOtherPosition(index*3+0,_PBJtempArray[0]);
229 super.SetOtherPosition(index*3+1,_PBJtempArray[1]);
230 super.SetOtherPosition(index*3+2,_PBJtempArray[2]);
231 return this;
232 }
233 public Builder ClearThisNormal() { super.ClearThisNormal();return this;}
234 public const int ThisNormalFieldTag=5;
235 public int ThisNormalCount { get { return super.ThisNormalCount/2;} }
236 public bool HasThisNormal(int index) { return true; }
237 public PBJ.Vector3f GetThisNormal(int index) {
238 if (HasThisNormal(index)) {
239 return PBJ._PBJ.CastNormal(super.GetThisNormal(index*2+0),super.GetThisNormal(index*2+1));
240 } else {
241 return PBJ._PBJ.CastNormal();
242 }
243 }
244 public Builder AddThisNormal(PBJ.Vector3f value) {
245 float[] _PBJtempArray=PBJ._PBJ.ConstructNormal(value);
246 super.AddThisNormal(_PBJtempArray[0]);
247 super.AddThisNormal(_PBJtempArray[1]);
248 return this;
249 }
250 public Builder SetThisNormal(int index,PBJ.Vector3f value) {
251 float[] _PBJtempArray=PBJ._PBJ.ConstructNormal(value);
252 super.SetThisNormal(index*2+0,_PBJtempArray[0]);
253 super.SetThisNormal(index*2+1,_PBJtempArray[1]);
254 return this;
255 }
256 public Builder ClearImpulse() { super.ClearImpulse();return this;}
257 public Builder SetImpulse(int index, float value) {
258 super.SetImpulse(index,PBJ._PBJ.Construct(value));
259 return this;
260 }
261 public const int ImpulseFieldTag=6;
262 public int ImpulseCount { get { return super.ImpulseCount;} }
263 public bool HasImpulse(int index) {return PBJ._PBJ.ValidateFloat(super.GetImpulse(index));}
264 public float Impulse(int index) {
265 return (float)PBJ._PBJ.CastFloat(super.GetImpulse(index));
266 }
267 public Builder AddImpulse(float value) {
268 super.AddImpulse(PBJ._PBJ.Construct(value));
269 return this;
270 }
271 public Builder ClearOtherObjectReference() { super.ClearOtherObjectReference();return this;}
272 public const int OtherObjectReferenceFieldTag=7;
273 public bool HasOtherObjectReference{ get {return super.HasOtherObjectReference&&PBJ._PBJ.ValidateUuid(super.OtherObjectReference);} }
274 public PBJ.UUID OtherObjectReference{ get {
275 if (HasOtherObjectReference) {
276 return PBJ._PBJ.CastUuid(super.OtherObjectReference);
277 } else {
278 return PBJ._PBJ.CastUuid();
279 }
280 }
281 set {
282 super.OtherObjectReference=(PBJ._PBJ.Construct(value));
283 }
284 }
285 }
286 }
287}
288namespace Sirikata.Physics.Protocol {
289 public class CollisionEnd : PBJ.IMessage {
290 protected _PBJ_Internal.CollisionEnd super;
291 public _PBJ_Internal.CollisionEnd _PBJSuper{ get { return super;} }
292 public CollisionEnd() {
293 super=new _PBJ_Internal.CollisionEnd();
294 }
295 public CollisionEnd(_PBJ_Internal.CollisionEnd reference) {
296 super=reference;
297 }
298 public static CollisionEnd defaultInstance= new CollisionEnd (_PBJ_Internal.CollisionEnd.DefaultInstance);
299 public static CollisionEnd DefaultInstance{
300 get {return defaultInstance;}
301 }
302 public static pbd.MessageDescriptor Descriptor {
303 get { return _PBJ_Internal.CollisionEnd.Descriptor; } }
304 public static class Types {
305 }
306 public static bool WithinReservedFieldTagRange(int field_tag) {
307 return false;
308 }
309 public static bool WithinExtensionFieldTagRange(int field_tag) {
310 return false;
311 }
312 public const int TimestampFieldTag=2;
313 public bool HasTimestamp{ get {return super.HasTimestamp&&PBJ._PBJ.ValidateTime(super.Timestamp);} }
314 public PBJ.Time Timestamp{ get {
315 if (HasTimestamp) {
316 return PBJ._PBJ.CastTime(super.Timestamp);
317 } else {
318 return PBJ._PBJ.CastTime();
319 }
320 }
321 }
322 public const int OtherObjectReferenceFieldTag=6;
323 public bool HasOtherObjectReference{ get {return super.HasOtherObjectReference&&PBJ._PBJ.ValidateUuid(super.OtherObjectReference);} }
324 public PBJ.UUID OtherObjectReference{ get {
325 if (HasOtherObjectReference) {
326 return PBJ._PBJ.CastUuid(super.OtherObjectReference);
327 } else {
328 return PBJ._PBJ.CastUuid();
329 }
330 }
331 }
332 public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
333 public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
334 public static Builder CreateBuilder() { return new Builder(); }
335 public static Builder CreateBuilder(CollisionEnd prototype) {
336 return (Builder)new Builder().MergeFrom(prototype);
337 }
338 public static CollisionEnd ParseFrom(pb::ByteString data) {
339 return new CollisionEnd(_PBJ_Internal.CollisionEnd.ParseFrom(data));
340 }
341 public static CollisionEnd ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
342 return new CollisionEnd(_PBJ_Internal.CollisionEnd.ParseFrom(data,er));
343 }
344 public static CollisionEnd ParseFrom(byte[] data) {
345 return new CollisionEnd(_PBJ_Internal.CollisionEnd.ParseFrom(data));
346 }
347 public static CollisionEnd ParseFrom(byte[] data, pb::ExtensionRegistry er) {
348 return new CollisionEnd(_PBJ_Internal.CollisionEnd.ParseFrom(data,er));
349 }
350 public static CollisionEnd ParseFrom(global::System.IO.Stream data) {
351 return new CollisionEnd(_PBJ_Internal.CollisionEnd.ParseFrom(data));
352 }
353 public static CollisionEnd ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
354 return new CollisionEnd(_PBJ_Internal.CollisionEnd.ParseFrom(data,er));
355 }
356 public static CollisionEnd ParseFrom(pb::CodedInputStream data) {
357 return new CollisionEnd(_PBJ_Internal.CollisionEnd.ParseFrom(data));
358 }
359 public static CollisionEnd ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
360 return new CollisionEnd(_PBJ_Internal.CollisionEnd.ParseFrom(data,er));
361 }
362 protected override bool _HasAllPBJFields{ get {
363 return true
364 ;
365 } }
366 public bool IsInitialized { get {
367 return super.IsInitialized&&_HasAllPBJFields;
368 } }
369 public class Builder : global::PBJ.IMessage.IBuilder{
370 protected override bool _HasAllPBJFields{ get {
371 return true
372 ;
373 } }
374 public bool IsInitialized { get {
375 return super.IsInitialized&&_HasAllPBJFields;
376 } }
377 protected _PBJ_Internal.CollisionEnd.Builder super;
378 public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
379 public _PBJ_Internal.CollisionEnd.Builder _PBJSuper{ get { return super;} }
380 public Builder() {super = new _PBJ_Internal.CollisionEnd.Builder();}
381 public Builder(_PBJ_Internal.CollisionEnd.Builder other) {
382 super=other;
383 }
384 public Builder Clone() {return new Builder(super.Clone());}
385 public Builder MergeFrom(CollisionEnd prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
386 public Builder Clear() {super.Clear();return this;}
387 public CollisionEnd BuildPartial() {return new CollisionEnd(super.BuildPartial());}
388 public CollisionEnd Build() {if (_HasAllPBJFields) return new CollisionEnd(super.Build());return null;}
389 public pbd::MessageDescriptor DescriptorForType {
390 get { return CollisionEnd.Descriptor; } }
391 public Builder ClearTimestamp() { super.ClearTimestamp();return this;}
392 public const int TimestampFieldTag=2;
393 public bool HasTimestamp{ get {return super.HasTimestamp&&PBJ._PBJ.ValidateTime(super.Timestamp);} }
394 public PBJ.Time Timestamp{ get {
395 if (HasTimestamp) {
396 return PBJ._PBJ.CastTime(super.Timestamp);
397 } else {
398 return PBJ._PBJ.CastTime();
399 }
400 }
401 set {
402 super.Timestamp=(PBJ._PBJ.Construct(value));
403 }
404 }
405 public Builder ClearOtherObjectReference() { super.ClearOtherObjectReference();return this;}
406 public const int OtherObjectReferenceFieldTag=6;
407 public bool HasOtherObjectReference{ get {return super.HasOtherObjectReference&&PBJ._PBJ.ValidateUuid(super.OtherObjectReference);} }
408 public PBJ.UUID OtherObjectReference{ get {
409 if (HasOtherObjectReference) {
410 return PBJ._PBJ.CastUuid(super.OtherObjectReference);
411 } else {
412 return PBJ._PBJ.CastUuid();
413 }
414 }
415 set {
416 super.OtherObjectReference=(PBJ._PBJ.Construct(value));
417 }
418 }
419 }
420 }
421}