From cb6e4035c73c99808a4594f8229d6fca397c439c Mon Sep 17 00:00:00 2001
From: Latif Khalifa
Date: Mon, 4 Oct 2010 07:37:22 +0200
Subject: Avoid throwing errors when adding existing meshes to the render scene
---
OpenSim/Region/CoreModules/World/Warp3DMap/MapImageModule.cs | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/OpenSim/Region/CoreModules/World/Warp3DMap/MapImageModule.cs b/OpenSim/Region/CoreModules/World/Warp3DMap/MapImageModule.cs
index a99b20c..49b4364 100644
--- a/OpenSim/Region/CoreModules/World/Warp3DMap/MapImageModule.cs
+++ b/OpenSim/Region/CoreModules/World/Warp3DMap/MapImageModule.cs
@@ -352,6 +352,12 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap
Face face = renderMesh.Faces[i];
string meshName = primID + "-Face-" + i.ToString();
+ // Avoid adding duplicate meshes to the scene
+ if (renderer.Scene.objectData.ContainsKey(meshName))
+ {
+ continue;
+ }
+
warp_Object faceObj = new warp_Object(face.Vertices.Count, face.Indices.Count / 3);
for (int j = 0; j < face.Vertices.Count; j++)
--
cgit v1.1
From eeca0ee0093bd29cbf9c7c845cb9a380f8320491 Mon Sep 17 00:00:00 2001
From: Jeff Ames
Date: Mon, 4 Oct 2010 17:10:07 -0400
Subject: Formatting cleanup.
---
bin/OpenSim.ini.example | 14 +++++++-------
bin/config-include/CenomeCache.ini.example | 6 +++---
bin/config-include/FlotsamCache.ini.example | 22 +++++++++++-----------
bin/config-include/GridCommon.ini.example | 12 ++++++------
bin/config-include/Standalone.ini | 17 ++++++++---------
bin/config-include/StandaloneCommon.ini.example | 24 ++++++++++++------------
6 files changed, 47 insertions(+), 48 deletions(-)
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example
index 2b78014..1625de0 100644
--- a/bin/OpenSim.ini.example
+++ b/bin/OpenSim.ini.example
@@ -364,7 +364,7 @@
;; Path to default appearance XML file that specifies the look of the
;; default avatars
- ; default_appearance = default_appearance.xml
+ ; default_appearance = default_appearance.xml
[Wind]
;# {enabled} {} {Enable wind module?} {true false} true
@@ -510,7 +510,7 @@
;# {AllowOSFunctions} {Enabled:true} {Allow OSFunctions? (DANGEROUS!)} {true false} false
;; Allow the use of os* functions (some are dangerous)
; AllowOSFunctions = false
-
+
;# {AllowLightShareFunctions} {Enabled:true [LightShare]enable_windlight:true} {Allow LightShare functions?} {true false} true
; Allow the user of LightShare functions
; AllowLightShareFunctions = false
@@ -633,7 +633,7 @@
;; Service connectors to the Groups Service. Select one depending on
;; whether you're using a Flotsam XmlRpc backend or a SimianGrid backend
-
+
;# {ServicesConnectorModule} {Module:GroupsModule} {Service connector to use for groups?} {XmlRpcGroupsServicesConnector SimianGroupsServicesConnector} XmlRpcGroupsServicesConnector
;; The service connector to use for the GroupsModule
; ServicesConnectorModule = SimianGroupsServicesConnector
@@ -644,7 +644,7 @@
;# {NoticesEnabled} {Module:GroupsModule} {Enable group notices?} {true false} true
;; Enable Group Notices
- ; NoticesEnabled = true
+ ; NoticesEnabled = true
;; This makes the Groups modules very chatty on the console.
; DebugEnabled = false
@@ -652,12 +652,12 @@
;; Specify which messaging module to use for groups messaging and if it's
;; enabled
; MessagingModule = GroupsMessagingModule
- ; MessagingEnabled = true
+ ; MessagingEnabled = true
;; XmlRpc Security settings. These must match those set on your backend
;; groups service.
- ; XmlRpcServiceReadKey = 1234
- ; XmlRpcServiceWriteKey = 1234
+ ; XmlRpcServiceReadKey = 1234
+ ; XmlRpcServiceWriteKey = 1234
[InterestManagement]
;# {UpdatePrioritizationScheme} {} {Update prioritization scheme?} {BestAvatarResponsiveness Time Distance SimpleAngularDistance FrontBack} BestAvatarResponsiveness
diff --git a/bin/config-include/CenomeCache.ini.example b/bin/config-include/CenomeCache.ini.example
index c7c901b..8ef4e03 100644
--- a/bin/config-include/CenomeCache.ini.example
+++ b/bin/config-include/CenomeCache.ini.example
@@ -2,12 +2,12 @@
;;
;; Options for CenmoeAssetCache
;;
-
+
; 256 MB (default: 134217728)
MaxSize = 268435456
-
+
; How many assets it is possible to store cache (default: 4096)
MaxCount = 16384
-
+
; Expiration time - 1 hour (default: 30 minutes)
ExpirationTime = 60
diff --git a/bin/config-include/FlotsamCache.ini.example b/bin/config-include/FlotsamCache.ini.example
index b50d7ec..026dee7 100644
--- a/bin/config-include/FlotsamCache.ini.example
+++ b/bin/config-include/FlotsamCache.ini.example
@@ -2,7 +2,7 @@
;;
;; Options for FlotsamAssetCache
;;
-
+
; cache directory can be shared by multiple instances
CacheDirectory = ./assetcache
; Other examples:
@@ -34,9 +34,9 @@
; How often {in hours} should the disk be checked for expired filed
; Specify 0 to disable expiration checking
FileCleanupTimer = .166 ;roughly every 10 minutes
-
- ; If WAIT_ON_INPROGRESS_REQUESTS has been defined then this specifies how
- ; long (in miliseconds) to block a request thread while trying to complete
+
+ ; If WAIT_ON_INPROGRESS_REQUESTS has been defined then this specifies how
+ ; long (in miliseconds) to block a request thread while trying to complete
; an existing write to disk.
; WaitOnInprogressTimeout = 3000
@@ -50,10 +50,10 @@
; Warning level for cache directory size
;CacheWarnAt = 30000
-
- ; Perform a deep scan of all assets within all regions, looking for all assets
- ; present or referenced. Mark all assets found that are already present in the
- ; cache, and request all assets that are found that are not already cached (this
- ; will cause those assets to be cached)
- ;
- ; DeepScanBeforePurge = false
+
+ ; Perform a deep scan of all assets within all regions, looking for all assets
+ ; present or referenced. Mark all assets found that are already present in the
+ ; cache, and request all assets that are found that are not already cached (this
+ ; will cause those assets to be cached)
+ ;
+ ; DeepScanBeforePurge = false
diff --git a/bin/config-include/GridCommon.ini.example b/bin/config-include/GridCommon.ini.example
index 3ab11b8..cb771b8 100644
--- a/bin/config-include/GridCommon.ini.example
+++ b/bin/config-include/GridCommon.ini.example
@@ -11,8 +11,8 @@
; for more details
;Include-Storage = "config-include/storage/SQLiteLegacyStandalone.ini";
- ; MySql
- ; Uncomment these lines if you want to use mysql storage
+ ; MySql
+ ; Uncomment these lines if you want to use mysql storage
; Change the connection string to your db details
;StorageProvider = "OpenSim.Data.MySQL.dll"
;ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;"
@@ -81,18 +81,18 @@
[Modules]
;; Choose 0 or 1 cache modules, and the corresponding config file, if it exists.
;; Copy the config .example file into your own .ini file and change configs there
-
+
AssetCaching = "FlotsamAssetCache"
Include-FlotsamCache = "config-include/FlotsamCache.ini"
;AssetCaching = "CenomeMemoryAssetCache"
;Include-CenomeCache = "config-include/CenomeCache.ini"
-
+
;AssetCaching = "GlynnTuckerAssetCache"
;; Optionally, the port for the LLProxyLoginModule module can be changed
-
+
;Setup_LLProxyLoginModule = "9090/"
;; Authorization is not on by default, as it depends on external php
- ;AuthorizationServices = "RemoteAuthorizationServicesConnector"
+ ;AuthorizationServices = "RemoteAuthorizationServicesConnector"
diff --git a/bin/config-include/Standalone.ini b/bin/config-include/Standalone.ini
index d74b50e..6355d09 100644
--- a/bin/config-include/Standalone.ini
+++ b/bin/config-include/Standalone.ini
@@ -17,10 +17,10 @@
AvatarServices = "LocalAvatarServicesConnector"
EntityTransferModule = "BasicEntityTransferModule"
InventoryAccessModule = "BasicInventoryAccessModule"
-
- LibraryModule = true
- LLLoginServiceInConnector = true
- GridInfoServiceInConnector = true
+
+ LibraryModule = true
+ LLLoginServiceInConnector = true
+ GridInfoServiceInConnector = true
[SimulationDataStore]
LocalServiceModule = "OpenSim.Services.Connectors.dll:SimulationDataService"
@@ -35,9 +35,9 @@
LocalServiceModule = "OpenSim.Services.InventoryService.dll:XInventoryService"
[LibraryService]
- LocalServiceModule = "OpenSim.Services.InventoryService.dll:LibraryService"
- LibraryName = "OpenSim Library"
- DefaultLibrary = "./inventory/Libraries.xml"
+ LocalServiceModule = "OpenSim.Services.InventoryService.dll:LibraryService"
+ LibraryName = "OpenSim Library"
+ DefaultLibrary = "./inventory/Libraries.xml"
[AvatarService]
LocalServiceModule = "OpenSim.Services.AvatarService.dll:AvatarService"
@@ -78,7 +78,7 @@
[LoginService]
LocalServiceModule = "OpenSim.Services.LLLoginService.dll:LLLoginService"
UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService"
- GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService"
+ GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService"
AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
InventoryService = "OpenSim.Services.InventoryService.dll:XInventoryService"
PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
@@ -88,7 +88,6 @@
WelcomeMessage = "Welcome, Avatar!"
-
;; This should always be the very last thing on this file
[Includes]
Include-Common = "config-include/StandaloneCommon.ini"
diff --git a/bin/config-include/StandaloneCommon.ini.example b/bin/config-include/StandaloneCommon.ini.example
index a810393..2f021d5 100644
--- a/bin/config-include/StandaloneCommon.ini.example
+++ b/bin/config-include/StandaloneCommon.ini.example
@@ -13,8 +13,8 @@
; for more details
;Include-Storage = "config-include/storage/SQLiteLegacyStandalone.ini";
- ; MySql
- ; Uncomment these lines if you want to use mysql storage
+ ; MySql
+ ; Uncomment these lines if you want to use mysql storage
; Change the connection string to your db details
;StorageProvider = "OpenSim.Data.MySQL.dll"
;ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;"
@@ -28,9 +28,9 @@
[Modules]
;; Choose 0 or 1 cache modules, and the corresponding config file, if it exists.
;; Copy the config .example file into your own .ini file and change configs there
-
+
;AssetCaching = "GlynnTuckerAssetCache"
-
+
;AssetCaching = "FlotsamAssetCache"
;Include-FlotsamCache = "config-include/FlotsamCache.ini"
@@ -41,7 +41,7 @@
;FreeswitchServiceInConnector = True
;; Authorization is not on by default, as it depends on external php
- ;AuthorizationServices = "LocalAuthorizationServicesConnector"
+ ;AuthorizationServices = "LocalAuthorizationServicesConnector"
[FreeswitchService]
;; Configuration for the freeswitch service goes here
@@ -49,11 +49,11 @@
[GridService]
;; For in-memory region storage (default)
- StorageProvider = "OpenSim.Data.Null.dll:NullRegionData"
+ StorageProvider = "OpenSim.Data.Null.dll:NullRegionData"
;;--- For MySql region storage (alternative)
- ;StorageProvider = "OpenSim.Data.MySQL.dll:MySqlRegionData"
+ ;StorageProvider = "OpenSim.Data.MySQL.dll:MySqlRegionData"
- ; If HG, do you want this check on the distance to be performed?
+ ; If HG, do you want this check on the distance to be performed?
; Check4096 = "False"
;; Next, we can specify properties of regions, including default and fallback regions
@@ -65,7 +65,7 @@
[LibraryModule]
; Set this if you want to change the name of the OpenSim Library
;LibraryName = "My World's Library"
-
+
[LoginService]
WelcomeMessage = "Welcome, Avatar!"
@@ -77,9 +77,9 @@
[GatekeeperService]
ExternalName = "http://127.0.0.1:9000"
- ; Does this grid allow incoming links to any region in it?
- ; If false, HG TPs happen only to the Default regions specified in [GridService] section
- AllowTeleportsToAnyRegion = true
+ ; Does this grid allow incoming links to any region in it?
+ ; If false, HG TPs happen only to the Default regions specified in [GridService] section
+ AllowTeleportsToAnyRegion = true
[GridInfoService]
; These settings are used to return information on a get_grid_info call.
--
cgit v1.1
From eb17d581d3f5d8b380edfbfe993a32b6edba330d Mon Sep 17 00:00:00 2001
From: BlueWall
Date: Mon, 4 Oct 2010 20:56:09 -0400
Subject: Make windlight set the default environment on start
---
OpenSim/Region/CoreModules/LightShare/LightShareModule.cs | 1 +
1 file changed, 1 insertion(+)
diff --git a/OpenSim/Region/CoreModules/LightShare/LightShareModule.cs b/OpenSim/Region/CoreModules/LightShare/LightShareModule.cs
index e6cab1d..412dbb6 100644
--- a/OpenSim/Region/CoreModules/LightShare/LightShareModule.cs
+++ b/OpenSim/Region/CoreModules/LightShare/LightShareModule.cs
@@ -91,6 +91,7 @@ namespace OpenSim.Region.CoreModules.World.LightShare
m_scene.EventManager.OnMakeRootAgent += EventManager_OnMakeRootAgent;
m_scene.EventManager.OnSaveNewWindlightProfile += EventManager_OnSaveNewWindlightProfile;
m_scene.EventManager.OnSendNewWindlightProfileTargeted += EventManager_OnSendNewWindlightProfileTargeted;
+ m_scene.LoadWindlightProfile();
}
InstallCommands();
--
cgit v1.1
From bc9f793a92ab9b27a4cf3251fe586da70af03d42 Mon Sep 17 00:00:00 2001
From: Jeff Ames
Date: Mon, 4 Oct 2010 21:28:17 -0400
Subject: Formatting cleanup.
---
OpenSim/Data/Migration.cs | 4 ++--
.../CoreModules/Avatar/Attachments/AttachmentsModule.cs | 2 +-
OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | 12 ++++++------
OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 2 +-
OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 +-
.../Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs | 4 ++--
.../OptionalModules/World/MoneyModule/SampleMoneyModule.cs | 2 +-
OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 8 ++++----
OpenSim/Server/Base/ServicesServerBase.cs | 2 +-
9 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/OpenSim/Data/Migration.cs b/OpenSim/Data/Migration.cs
index 2895a71..d606470 100644
--- a/OpenSim/Data/Migration.cs
+++ b/OpenSim/Data/Migration.cs
@@ -138,12 +138,12 @@ namespace OpenSim.Data
///
/// Array of strings, one-per-batch (often just one)
protected virtual void ExecuteScript(DbConnection conn, string[] script)
- {
+ {
using (DbCommand cmd = conn.CreateCommand())
{
cmd.CommandTimeout = 0;
foreach (string sql in script)
- {
+ {
cmd.CommandText = sql;
try
{
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
index 28c50ab..457e0bb 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -307,7 +307,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
///
///
///
- ///
+ ///
protected UUID ShowAttachInUserInventory(
SceneObjectGroup att, IClientAPI remoteClient, UUID itemID, uint AttachmentPt)
{
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
index 7a21d5e..b3f0a25 100644
--- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
@@ -318,12 +318,12 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
UserAccount account = m_Scenes[0].UserAccountService.GetUserAccount(client.Scene.RegionInfo.ScopeID, fromAgentID);
- PresenceInfo presence = null;
- PresenceInfo[] presences = PresenceService.GetAgents(new string[] { fid });
- if (presences != null && presences.Length > 0)
- presence = presences[0];
- if (presence != null)
- im.offline = 0;
+ PresenceInfo presence = null;
+ PresenceInfo[] presences = PresenceService.GetAgents(new string[] { fid });
+ if (presences != null && presences.Length > 0)
+ presence = presences[0];
+ if (presence != null)
+ im.offline = 0;
im.fromAgentID = fromAgentID.Guid;
im.fromAgentName = account.FirstName + " " + account.LastName;
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index a8e76e3..8140d42 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -2763,7 +2763,7 @@ namespace OpenSim.Region.Framework.Scenes
UUID = UUID.Random();
LinkNum = linkNum;
LocalId = 0;
- Inventory.ResetInventoryIDs();
+ Inventory.ResetInventoryIDs();
}
///
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index a4533fa..13d9964 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1523,7 +1523,7 @@ namespace OpenSim.Region.Framework.Scenes
}
// If the agent update does move the avatar, then calculate the force ready for the velocity update,
- // which occurs later in the main scene loop
+ // which occurs later in the main scene loop
if (update_movementflag || (update_rotation && DCFlagKeyPressed))
{
// m_log.DebugFormat("{0} {1}", update_movementflag, (update_rotation && DCFlagKeyPressed));
diff --git a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs
index e6ff0c0..5616a4e 100644
--- a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs
+++ b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs
@@ -210,7 +210,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
= new SceneObjectPart(UUID.Zero, PrimitiveBaseShape.Default, Vector3.Zero, Quaternion.Identity, Vector3.Zero)
{ Name = childPartName, UUID = childPartUuid };
- SceneObjectGroup sog = new SceneObjectGroup(rootPart);
+ SceneObjectGroup sog = new SceneObjectGroup(rootPart);
sog.AddPart(linkPart);
Assert.That(sog.UUID, Is.EqualTo(rootPartUuid));
@@ -221,7 +221,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
sog.UUID = newRootPartUuid;
Assert.That(sog.UUID, Is.EqualTo(newRootPartUuid));
- Assert.That(sog.RootPart.UUID, Is.EqualTo(newRootPartUuid));
+ Assert.That(sog.RootPart.UUID, Is.EqualTo(newRootPartUuid));
Assert.That(sog.Parts.Length, Is.EqualTo(2));
}
}
diff --git a/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs b/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs
index e42dbf2..7e1b5ac 100644
--- a/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs
+++ b/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs
@@ -812,7 +812,7 @@ namespace OpenSim.Region.OptionalModules.World.MoneyModule
// gets the object data. If the data sent by the client doesn't match the object, the viewer probably has an
// old idea of what the object properties are. Viewer developer Hazim informed us that the base module
// didn't check the client sent data against the object do any. Since the base modules are the
- // 'crowning glory' examples of good practice..
+ // 'crowning glory' examples of good practice..
// Validate that the object exists in the scene the user is in
SceneObjectPart part = s.GetSceneObjectPart(localID);
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
index c37c9bd..c91658e 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
@@ -188,7 +188,7 @@ namespace OpenSim.Region.Physics.OdePlugin
public OdePrim(String primName, OdeScene parent_scene, Vector3 pos, Vector3 size,
Quaternion rotation, IMesh mesh, PrimitiveBaseShape pbs, bool pisPhysical, CollisionLocker dode)
{
- Name = primName;
+ Name = primName;
m_vehicle = new ODEDynamics();
//gc = GCHandle.Alloc(prim_geom, GCHandleType.Pinned);
ode = dode;
@@ -620,7 +620,7 @@ namespace OpenSim.Region.Physics.OdePlugin
volume *= (1.0f - hollowVolume);
}
}
- break;
+ break;
default:
break;
@@ -658,7 +658,7 @@ namespace OpenSim.Region.Physics.OdePlugin
taperY = _pbs.PathTaperY * 0.01f;
if (taperY < 0.0f)
- taperY = -taperY;
+ taperY = -taperY;
taperY1 = 1.0f - taperY;
}
@@ -1059,7 +1059,7 @@ namespace OpenSim.Region.Physics.OdePlugin
}
foreach (OdePrim prm in childrenPrim)
- {
+ {
prm.m_collisionCategories |= CollisionCategories.Body;
prm.m_collisionFlags |= (CollisionCategories.Land | CollisionCategories.Wind);
diff --git a/OpenSim/Server/Base/ServicesServerBase.cs b/OpenSim/Server/Base/ServicesServerBase.cs
index 18f0f24..2652ff2 100644
--- a/OpenSim/Server/Base/ServicesServerBase.cs
+++ b/OpenSim/Server/Base/ServicesServerBase.cs
@@ -176,7 +176,7 @@ namespace OpenSim.Server.Base
OpenSimAppender consoleAppender = null;
FileAppender fileAppender = null;
- if ( logConfig != null )
+ if (logConfig != null)
{
FileInfo cfg = new FileInfo(logConfig);
XmlConfigurator.Configure(cfg);
--
cgit v1.1
From 07122614d52bcafded675c81bdda971cb5387510 Mon Sep 17 00:00:00 2001
From: Jeff Ames
Date: Mon, 4 Oct 2010 22:44:10 -0400
Subject: Formatting cleanup.
---
bin/Robust.ini.example | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/bin/Robust.ini.example b/bin/Robust.ini.example
index e42268d..10edccd 100644
--- a/bin/Robust.ini.example
+++ b/bin/Robust.ini.example
@@ -57,12 +57,12 @@ ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003
LocalServiceModule = "OpenSim.Services.GridService.dll:GridService"
; Realm = "regions"
; AllowDuplicateNames = "True"
-
+
;; Next, we can specify properties of regions, including default and fallback regions
;; The syntax is: Region_ = ""
;; or: Region_ = ""
;; where can be DefaultRegion, FallbackRegion, NoDirectLogin, Persistent, LockedOut,Reservation,NoMove,Authenticate
- ;; For example:
+ ;; For example:
; Region_Welcome_Area = "DefaultRegion, FallbackRegion"
; (replace spaces with underscore)
@@ -83,7 +83,7 @@ ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003
; for the server connector
AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
UserAccountServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService"
-
+
; * This is the new style authentication service. Currently, only MySQL
; * is implemented. "Realm" is the table that is used for user lookup.
; * It defaults to "useraccounts", which uses the new style.
@@ -144,7 +144,6 @@ ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003
; If you run this login server behind a proxy, set this to true
; HasProxy = true
-
[GridInfoService]
; These settings are used to return information on a get_grid_info call.
; Client launcher scripts and third-party clients make use of this to
--
cgit v1.1
From eb491d2c3601fc4909370f100a802086a80dc043 Mon Sep 17 00:00:00 2001
From: Melanie
Date: Tue, 5 Oct 2010 22:56:20 +0100
Subject: Patch to allow other cam angles. Not complete. Thanks, Antont.
---
.../CoreModules/World/Warp3DMap/MapImageModule.cs | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/OpenSim/Region/CoreModules/World/Warp3DMap/MapImageModule.cs b/OpenSim/Region/CoreModules/World/Warp3DMap/MapImageModule.cs
index 49b4364..dab29d0 100644
--- a/OpenSim/Region/CoreModules/World/Warp3DMap/MapImageModule.cs
+++ b/OpenSim/Region/CoreModules/World/Warp3DMap/MapImageModule.cs
@@ -112,8 +112,21 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap
public Bitmap CreateMapTile()
{
+ Vector3 camPos = new Vector3(127.5f, 127.5f, 221.7025033688163f);
+ Viewport viewport = new Viewport(camPos, -Vector3.UnitZ, 1024f, 0.1f, (int)Constants.RegionSize, (int)Constants.RegionSize, (float)Constants.RegionSize, (float)Constants.RegionSize);
+ return CreateMapTile(viewport);
+ }
+
+ public Bitmap CreateViewImage(Vector3 camPos, Vector3 camDir, float fov, int width, int height)
+ {
+ Viewport viewport = new Viewport(camPos, camDir, fov, (float)Constants.RegionSize, 0.1f, width, height);
+ return CreateMapTile(viewport);
+ }
+
+ public Bitmap CreateMapTile(Viewport viewport)
+ {
bool drawPrimVolume = true;
- bool textureTerrain = true;
+ bool textureTerrain = false; //true;
try
{
@@ -128,9 +141,6 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap
m_colors.Clear();
- Vector3 camPos = new Vector3(127.5f, 127.5f, 221.7025033688163f);
- Viewport viewport = new Viewport(camPos, -Vector3.UnitZ, 1024f, 0.1f, (int)Constants.RegionSize, (int)Constants.RegionSize, (float)Constants.RegionSize, (float)Constants.RegionSize);
-
int width = viewport.Width;
int height = viewport.Height;
--
cgit v1.1
From b424af61878e28df9b627f3f12ac8916743e1760 Mon Sep 17 00:00:00 2001
From: Melanie
Date: Tue, 5 Oct 2010 23:06:29 +0100
Subject: Revert an accidental default value change
---
OpenSim/Region/CoreModules/World/Warp3DMap/MapImageModule.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/OpenSim/Region/CoreModules/World/Warp3DMap/MapImageModule.cs b/OpenSim/Region/CoreModules/World/Warp3DMap/MapImageModule.cs
index dab29d0..803a33a 100644
--- a/OpenSim/Region/CoreModules/World/Warp3DMap/MapImageModule.cs
+++ b/OpenSim/Region/CoreModules/World/Warp3DMap/MapImageModule.cs
@@ -126,7 +126,7 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap
public Bitmap CreateMapTile(Viewport viewport)
{
bool drawPrimVolume = true;
- bool textureTerrain = false; //true;
+ bool textureTerrain = true;
try
{
--
cgit v1.1
From 5d613231920dd513dfa8c5328c7ce1bfd59a359b Mon Sep 17 00:00:00 2001
From: Melanie
Date: Tue, 5 Oct 2010 23:49:21 +0100
Subject: Add the view generating method to the image generator interface
---
OpenSim/Region/CoreModules/World/LegacyMap/MapImageModule.cs | 5 +++++
OpenSim/Region/Framework/Interfaces/ITerrain.cs | 2 ++
2 files changed, 7 insertions(+)
diff --git a/OpenSim/Region/CoreModules/World/LegacyMap/MapImageModule.cs b/OpenSim/Region/CoreModules/World/LegacyMap/MapImageModule.cs
index 9e6e366..8408bf9 100644
--- a/OpenSim/Region/CoreModules/World/LegacyMap/MapImageModule.cs
+++ b/OpenSim/Region/CoreModules/World/LegacyMap/MapImageModule.cs
@@ -545,5 +545,10 @@ namespace OpenSim.Region.CoreModules.World.LegacyMap
return returnpt;
}
+
+ public Bitmap CreateViewImage(Vector3 camPos, Vector3 camDir, float fov, int width, int height)
+ {
+ return null;
+ }
}
}
diff --git a/OpenSim/Region/Framework/Interfaces/ITerrain.cs b/OpenSim/Region/Framework/Interfaces/ITerrain.cs
index 8aacb35..38cf020 100644
--- a/OpenSim/Region/Framework/Interfaces/ITerrain.cs
+++ b/OpenSim/Region/Framework/Interfaces/ITerrain.cs
@@ -26,6 +26,7 @@
*/
using OpenSim.Framework;
+using OpenMetaverse;
namespace OpenSim.Region.Framework.Interfaces
{
@@ -74,6 +75,7 @@ namespace OpenSim.Region.Framework.Interfaces
public interface IMapImageGenerator
{
System.Drawing.Bitmap CreateMapTile();
+ System.Drawing.Bitmap CreateViewImage(Vector3 camPos, Vector3 camDir, float fov, int width, int height);
byte[] WriteJpeg2000Image();
}
}
--
cgit v1.1
From 7e6a04776911c8d738eeb32a1d44397981147b63 Mon Sep 17 00:00:00 2001
From: Melanie
Date: Wed, 6 Oct 2010 00:20:41 +0100
Subject: Remove defunct sirikata client stack
---
.../Sirikata/ClientStack/SirikataClientView.cs | 1208 ---
OpenSim/Client/Sirikata/Protocol/MessageHeader.cs | 630 --
.../Client/Sirikata/Protocol/MessageHeader.pbj.cs | 339 -
OpenSim/Client/Sirikata/Protocol/PBJ.cs | 2104 -----
OpenSim/Client/Sirikata/Protocol/Persistence.cs | 3299 --------
.../Client/Sirikata/Protocol/Persistence.pbj.cs | 1543 ----
OpenSim/Client/Sirikata/Protocol/Physics.cs | 840 --
OpenSim/Client/Sirikata/Protocol/Physics.pbj.cs | 421 -
OpenSim/Client/Sirikata/Protocol/Sirikata.cs | 8074 --------------------
OpenSim/Client/Sirikata/Protocol/Sirikata.pbj.cs | 3934 ----------
OpenSim/Client/Sirikata/Protocol/Subscription.cs | 856 ---
.../Client/Sirikata/Protocol/Subscription.pbj.cs | 431 --
OpenSim/Client/Sirikata/Protocol/Test.cs | 3773 ---------
OpenSim/Client/Sirikata/Protocol/Test.pbj.cs | 1761 -----
OpenSim/Client/Sirikata/Protocol/Time.cs | 454 --
OpenSim/Client/Sirikata/Protocol/Time.pbj.cs | 245 -
OpenSim/Client/Sirikata/SirikataModule.cs | 139 -
17 files changed, 30051 deletions(-)
delete mode 100644 OpenSim/Client/Sirikata/ClientStack/SirikataClientView.cs
delete mode 100644 OpenSim/Client/Sirikata/Protocol/MessageHeader.cs
delete mode 100644 OpenSim/Client/Sirikata/Protocol/MessageHeader.pbj.cs
delete mode 100644 OpenSim/Client/Sirikata/Protocol/PBJ.cs
delete mode 100644 OpenSim/Client/Sirikata/Protocol/Persistence.cs
delete mode 100644 OpenSim/Client/Sirikata/Protocol/Persistence.pbj.cs
delete mode 100644 OpenSim/Client/Sirikata/Protocol/Physics.cs
delete mode 100644 OpenSim/Client/Sirikata/Protocol/Physics.pbj.cs
delete mode 100644 OpenSim/Client/Sirikata/Protocol/Sirikata.cs
delete mode 100644 OpenSim/Client/Sirikata/Protocol/Sirikata.pbj.cs
delete mode 100644 OpenSim/Client/Sirikata/Protocol/Subscription.cs
delete mode 100644 OpenSim/Client/Sirikata/Protocol/Subscription.pbj.cs
delete mode 100644 OpenSim/Client/Sirikata/Protocol/Test.cs
delete mode 100644 OpenSim/Client/Sirikata/Protocol/Test.pbj.cs
delete mode 100644 OpenSim/Client/Sirikata/Protocol/Time.cs
delete mode 100644 OpenSim/Client/Sirikata/Protocol/Time.pbj.cs
delete mode 100644 OpenSim/Client/Sirikata/SirikataModule.cs
diff --git a/OpenSim/Client/Sirikata/ClientStack/SirikataClientView.cs b/OpenSim/Client/Sirikata/ClientStack/SirikataClientView.cs
deleted file mode 100644
index c1e281a..0000000
--- a/OpenSim/Client/Sirikata/ClientStack/SirikataClientView.cs
+++ /dev/null
@@ -1,1208 +0,0 @@
-/*
- * Copyright (c) Contributors, http://opensimulator.org/
- * See CONTRIBUTORS.TXT for a full list of copyright holders.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * * Neither the name of the OpenSimulator Project nor the
- * names of its contributors may be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-using System;
-using System.Collections.Generic;
-using System.Net;
-using System.Net.Sockets;
-using System.Text;
-using OpenMetaverse;
-using OpenMetaverse.Packets;
-using OpenSim.Framework;
-using OpenSim.Framework.Client;
-
-namespace OpenSim.Client.Sirikata.ClientStack
-{
- class SirikataClientView : IClientAPI, IClientCore
- {
- private readonly NetworkStream stream;
-
- public SirikataClientView(TcpClient client)
- {
- stream = client.GetStream();
-
- sessionId = UUID.Random();
-
-
- // Handshake with client
- string con = "SSTTCP01" + sessionId;
- byte[] handshake = Util.UTF8.GetBytes(con);
-
- byte[] clientHandshake = new byte[2+6+36];
-
- stream.Read(clientHandshake, 0, handshake.Length);
- stream.Write(handshake, 0, handshake.Length - 1); // Remove null terminator (hence the -1)
- }
-
-
- #region Implementation of IClientAPI
-
- private Vector3 startPos;
-
- private UUID sessionId;
-
- private UUID secureSessionId;
-
- private UUID activeGroupId;
-
- private string activeGroupName;
-
- private ulong activeGroupPowers;
-
- private string firstName;
-
- private string lastName;
-
- private IScene scene;
-
- private int nextAnimationSequenceNumber;
-
- private string name;
-
- private bool isActive;
-
- private bool sendLogoutPacketWhenClosing;
-
- private uint circuitCode;
-
- private IPEndPoint remoteEndPoint;
-
- public Vector3 StartPos
- {
- get { return startPos; }
- set { startPos = value; }
- }
-
- public bool TryGet(out T iface)
- {
- throw new System.NotImplementedException();
- }
-
- public T Get()
- {
- throw new System.NotImplementedException();
- }
-
- UUID IClientCore.AgentId
- {
- get { throw new NotImplementedException(); }
- }
-
- public void Disconnect(string reason)
- {
- throw new System.NotImplementedException();
- }
-
- public void Disconnect()
- {
- throw new System.NotImplementedException();
- }
-
- UUID IClientAPI.AgentId
- {
- get { throw new NotImplementedException(); }
- }
-
- public UUID SessionId
- {
- get { return sessionId; }
- }
-
- public UUID SecureSessionId
- {
- get { return secureSessionId; }
- }
-
- public UUID ActiveGroupId
- {
- get { return activeGroupId; }
- }
-
- public string ActiveGroupName
- {
- get { return activeGroupName; }
- }
-
- public ulong ActiveGroupPowers
- {
- get { return activeGroupPowers; }
- }
-
- public ulong GetGroupPowers(UUID groupID)
- {
- throw new System.NotImplementedException();
- }
-
- public bool IsGroupMember(UUID GroupID)
- {
- throw new System.NotImplementedException();
- }
-
- public string FirstName
- {
- get { return firstName; }
- }
-
- public string LastName
- {
- get { return lastName; }
- }
-
- public IScene Scene
- {
- get { return scene; }
- }
-
- public int NextAnimationSequenceNumber
- {
- get { return nextAnimationSequenceNumber; }
- }
-
- public string Name
- {
- get { return name; }
- }
-
- public bool IsActive
- {
- get { return isActive; }
- set { isActive = value; }
- }
- public bool IsLoggingOut
- {
- get { return false; }
- set { }
- }
-
- public bool SendLogoutPacketWhenClosing
- {
- set { sendLogoutPacketWhenClosing = value; }
- }
-
- public uint CircuitCode
- {
- get { return circuitCode; }
- }
-
- public IPEndPoint RemoteEndPoint
- {
- get { return remoteEndPoint; }
- }
-
- public event GenericMessage OnGenericMessage;
- public event ImprovedInstantMessage OnInstantMessage;
- public event ChatMessage OnChatFromClient;
- public event TextureRequest OnRequestTexture;
- public event RezObject OnRezObject;
- public event ModifyTerrain OnModifyTerrain;
- public event BakeTerrain OnBakeTerrain;
- public event EstateChangeInfo OnEstateChangeInfo;
- public event SetAppearance OnSetAppearance;
- public event AvatarNowWearing OnAvatarNowWearing;
- public event RezSingleAttachmentFromInv OnRezSingleAttachmentFromInv;
- public event RezMultipleAttachmentsFromInv OnRezMultipleAttachmentsFromInv;
- public event UUIDNameRequest OnDetachAttachmentIntoInv;
- public event ObjectAttach OnObjectAttach;
- public event ObjectDeselect OnObjectDetach;
- public event ObjectDrop OnObjectDrop;
- public event StartAnim OnStartAnim;
- public event StopAnim OnStopAnim;
- public event LinkObjects OnLinkObjects;
- public event DelinkObjects OnDelinkObjects;
- public event RequestMapBlocks OnRequestMapBlocks;
- public event RequestMapName OnMapNameRequest;
- public event TeleportLocationRequest OnTeleportLocationRequest;
- public event DisconnectUser OnDisconnectUser;
- public event RequestAvatarProperties OnRequestAvatarProperties;
- public event SetAlwaysRun OnSetAlwaysRun;
- public event TeleportLandmarkRequest OnTeleportLandmarkRequest;
- public event DeRezObject OnDeRezObject;
- public event Action OnRegionHandShakeReply;
- public event GenericCall2 OnRequestWearables;
- public event GenericCall1 OnCompleteMovementToRegion;
- public event UpdateAgent OnPreAgentUpdate;
- public event UpdateAgent OnAgentUpdate;
- public event AgentRequestSit OnAgentRequestSit;
- public event AgentSit OnAgentSit;
- public event AvatarPickerRequest OnAvatarPickerRequest;
- public event Action OnRequestAvatarsData;
- public event AddNewPrim OnAddPrim;
- public event FetchInventory OnAgentDataUpdateRequest;
- public event TeleportLocationRequest OnSetStartLocationRequest;
- public event RequestGodlikePowers OnRequestGodlikePowers;
- public event GodKickUser OnGodKickUser;
- public event ObjectDuplicate OnObjectDuplicate;
- public event ObjectDuplicateOnRay OnObjectDuplicateOnRay;
- public event GrabObject OnGrabObject;
- public event DeGrabObject OnDeGrabObject;
- public event MoveObject OnGrabUpdate;
- public event SpinStart OnSpinStart;
- public event SpinObject OnSpinUpdate;
- public event SpinStop OnSpinStop;
- public event UpdateShape OnUpdatePrimShape;
- public event ObjectExtraParams OnUpdateExtraParams;
- public event ObjectRequest OnObjectRequest;
- public event ObjectSelect OnObjectSelect;
- public event ObjectDeselect OnObjectDeselect;
- public event GenericCall7 OnObjectDescription;
- public event GenericCall7 OnObjectName;
- public event GenericCall7 OnObjectClickAction;
- public event GenericCall7 OnObjectMaterial;
- public event RequestObjectPropertiesFamily OnRequestObjectPropertiesFamily;
- public event UpdatePrimFlags OnUpdatePrimFlags;
- public event UpdatePrimTexture OnUpdatePrimTexture;
- public event UpdateVector OnUpdatePrimGroupPosition;
- public event UpdateVector OnUpdatePrimSinglePosition;
- public event UpdatePrimRotation OnUpdatePrimGroupRotation;
- public event UpdatePrimSingleRotation OnUpdatePrimSingleRotation;
- public event UpdatePrimSingleRotationPosition OnUpdatePrimSingleRotationPosition;
- public event UpdatePrimGroupRotation OnUpdatePrimGroupMouseRotation;
- public event UpdateVector OnUpdatePrimScale;
- public event UpdateVector OnUpdatePrimGroupScale;
- public event StatusChange OnChildAgentStatus;
- public event GenericCall2 OnStopMovement;
- public event Action OnRemoveAvatar;
- public event ObjectPermissions OnObjectPermissions;
- public event CreateNewInventoryItem OnCreateNewInventoryItem;
- public event LinkInventoryItem OnLinkInventoryItem;
- public event CreateInventoryFolder OnCreateNewInventoryFolder;
- public event UpdateInventoryFolder OnUpdateInventoryFolder;
- public event MoveInventoryFolder OnMoveInventoryFolder;
- public event FetchInventoryDescendents OnFetchInventoryDescendents;
- public event PurgeInventoryDescendents OnPurgeInventoryDescendents;
- public event FetchInventory OnFetchInventory;
- public event RequestTaskInventory OnRequestTaskInventory;
- public event UpdateInventoryItem OnUpdateInventoryItem;
- public event CopyInventoryItem OnCopyInventoryItem;
- public event MoveInventoryItem OnMoveInventoryItem;
- public event RemoveInventoryFolder OnRemoveInventoryFolder;
- public event RemoveInventoryItem OnRemoveInventoryItem;
- public event UDPAssetUploadRequest OnAssetUploadRequest;
- public event XferReceive OnXferReceive;
- public event RequestXfer OnRequestXfer;
- public event ConfirmXfer OnConfirmXfer;
- public event AbortXfer OnAbortXfer;
- public event RezScript OnRezScript;
- public event UpdateTaskInventory OnUpdateTaskInventory;
- public event MoveTaskInventory OnMoveTaskItem;
- public event RemoveTaskInventory OnRemoveTaskItem;
- public event RequestAsset OnRequestAsset;
- public event UUIDNameRequest OnNameFromUUIDRequest;
- public event ParcelAccessListRequest OnParcelAccessListRequest;
- public event ParcelAccessListUpdateRequest OnParcelAccessListUpdateRequest;
- public event ParcelPropertiesRequest OnParcelPropertiesRequest;
- public event ParcelDivideRequest OnParcelDivideRequest;
- public event ParcelJoinRequest OnParcelJoinRequest;
- public event ParcelPropertiesUpdateRequest OnParcelPropertiesUpdateRequest;
- public event ParcelSelectObjects OnParcelSelectObjects;
- public event ParcelObjectOwnerRequest OnParcelObjectOwnerRequest;
- public event ParcelAbandonRequest OnParcelAbandonRequest;
- public event ParcelGodForceOwner OnParcelGodForceOwner;
- public event ParcelReclaim OnParcelReclaim;
- public event ParcelReturnObjectsRequest OnParcelReturnObjectsRequest;
- public event ParcelDeedToGroup OnParcelDeedToGroup;
- public event RegionInfoRequest OnRegionInfoRequest;
- public event EstateCovenantRequest OnEstateCovenantRequest;
- public event FriendActionDelegate OnApproveFriendRequest;
- public event FriendActionDelegate OnDenyFriendRequest;
- public event FriendshipTermination OnTerminateFriendship;
- public event MoneyTransferRequest OnMoneyTransferRequest;
- public event EconomyDataRequest OnEconomyDataRequest;
- public event MoneyBalanceRequest OnMoneyBalanceRequest;
- public event UpdateAvatarProperties OnUpdateAvatarProperties;
- public event ParcelBuy OnParcelBuy;
- public event RequestPayPrice OnRequestPayPrice;
- public event ObjectSaleInfo OnObjectSaleInfo;
- public event ObjectBuy OnObjectBuy;
- public event BuyObjectInventory OnBuyObjectInventory;
- public event RequestTerrain OnRequestTerrain;
- public event RequestTerrain OnUploadTerrain;
- public event ObjectIncludeInSearch OnObjectIncludeInSearch;
- public event UUIDNameRequest OnTeleportHomeRequest;
- public event ScriptAnswer OnScriptAnswer;
- public event AgentSit OnUndo;
- public event AgentSit OnRedo;
- public event LandUndo OnLandUndo;
- public event ForceReleaseControls OnForceReleaseControls;
- public event GodLandStatRequest OnLandStatRequest;
- public event DetailedEstateDataRequest OnDetailedEstateDataRequest;
- public event SetEstateFlagsRequest OnSetEstateFlagsRequest;
- public event SetEstateTerrainBaseTexture OnSetEstateTerrainBaseTexture;
- public event SetEstateTerrainDetailTexture OnSetEstateTerrainDetailTexture;
- public event SetEstateTerrainTextureHeights OnSetEstateTerrainTextureHeights;
- public event CommitEstateTerrainTextureRequest OnCommitEstateTerrainTextureRequest;
- public event SetRegionTerrainSettings OnSetRegionTerrainSettings;
- public event EstateRestartSimRequest OnEstateRestartSimRequest;
- public event EstateChangeCovenantRequest OnEstateChangeCovenantRequest;
- public event UpdateEstateAccessDeltaRequest OnUpdateEstateAccessDeltaRequest;
- public event SimulatorBlueBoxMessageRequest OnSimulatorBlueBoxMessageRequest;
- public event EstateBlueBoxMessageRequest OnEstateBlueBoxMessageRequest;
- public event EstateDebugRegionRequest OnEstateDebugRegionRequest;
- public event EstateTeleportOneUserHomeRequest OnEstateTeleportOneUserHomeRequest;
- public event EstateTeleportAllUsersHomeRequest OnEstateTeleportAllUsersHomeRequest;
- public event UUIDNameRequest OnUUIDGroupNameRequest;
- public event RegionHandleRequest OnRegionHandleRequest;
- public event ParcelInfoRequest OnParcelInfoRequest;
- public event RequestObjectPropertiesFamily OnObjectGroupRequest;
- public event ScriptReset OnScriptReset;
- public event GetScriptRunning OnGetScriptRunning;
- public event SetScriptRunning OnSetScriptRunning;
- public event UpdateVector OnAutoPilotGo;
- public event TerrainUnacked OnUnackedTerrain;
- public event ActivateGesture OnActivateGesture;
- public event DeactivateGesture OnDeactivateGesture;
- public event ObjectOwner OnObjectOwner;
- public event DirPlacesQuery OnDirPlacesQuery;
- public event DirFindQuery OnDirFindQuery;
- public event DirLandQuery OnDirLandQuery;
- public event DirPopularQuery OnDirPopularQuery;
- public event DirClassifiedQuery OnDirClassifiedQuery;
- public event EventInfoRequest OnEventInfoRequest;
- public event ParcelSetOtherCleanTime OnParcelSetOtherCleanTime;
- public event MapItemRequest OnMapItemRequest;
- public event OfferCallingCard OnOfferCallingCard;
- public event AcceptCallingCard OnAcceptCallingCard;
- public event DeclineCallingCard OnDeclineCallingCard;
- public event SoundTrigger OnSoundTrigger;
- public event StartLure OnStartLure;
- public event TeleportLureRequest OnTeleportLureRequest;
- public event NetworkStats OnNetworkStatsUpdate;
- public event ClassifiedInfoRequest OnClassifiedInfoRequest;
- public event ClassifiedInfoUpdate OnClassifiedInfoUpdate;
- public event ClassifiedDelete OnClassifiedDelete;
- public event ClassifiedDelete OnClassifiedGodDelete;
- public event EventNotificationAddRequest OnEventNotificationAddRequest;
- public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest;
- public event EventGodDelete OnEventGodDelete;
- public event ParcelDwellRequest OnParcelDwellRequest;
- public event UserInfoRequest OnUserInfoRequest;
- public event UpdateUserInfo OnUpdateUserInfo;
- public event RetrieveInstantMessages OnRetrieveInstantMessages;
- public event PickDelete OnPickDelete;
- public event PickGodDelete OnPickGodDelete;
- public event PickInfoUpdate OnPickInfoUpdate;
- public event AvatarNotesUpdate OnAvatarNotesUpdate;
- public event AvatarInterestUpdate OnAvatarInterestUpdate;
- public event GrantUserFriendRights OnGrantUserRights;
- public event MuteListRequest OnMuteListRequest;
- public event PlacesQuery OnPlacesQuery;
- public event FindAgentUpdate OnFindAgent;
- public event TrackAgentUpdate OnTrackAgent;
- public event NewUserReport OnUserReport;
- public event SaveStateHandler OnSaveState;
- public event GroupAccountSummaryRequest OnGroupAccountSummaryRequest;
- public event GroupAccountDetailsRequest OnGroupAccountDetailsRequest;
- public event GroupAccountTransactionsRequest OnGroupAccountTransactionsRequest;
- public event FreezeUserUpdate OnParcelFreezeUser;
- public event EjectUserUpdate OnParcelEjectUser;
- public event ParcelBuyPass OnParcelBuyPass;
- public event ParcelGodMark OnParcelGodMark;
- public event GroupActiveProposalsRequest OnGroupActiveProposalsRequest;
- public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest;
- public event SimWideDeletesDelegate OnSimWideDeletes;
- public event SendPostcard OnSendPostcard;
- public event MuteListEntryUpdate OnUpdateMuteListEntry;
- public event MuteListEntryRemove OnRemoveMuteListEntry;
- public event GodlikeMessage onGodlikeMessage;
- public event GodUpdateRegionInfoUpdate OnGodUpdateRegionInfoUpdate;
- public void SetDebugPacketLevel(int newDebug)
- {
- throw new System.NotImplementedException();
- }
-
- public void InPacket(object NewPack)
- {
- throw new System.NotImplementedException();
- }
-
- public void ProcessInPacket(Packet NewPack)
- {
- throw new System.NotImplementedException();
- }
-
- public void Close()
- {
- throw new System.NotImplementedException();
- }
-
- public void Kick(string message)
- {
- throw new System.NotImplementedException();
- }
-
- public void Start()
- {
- throw new System.NotImplementedException();
- }
-
- public void Stop()
- {
- throw new System.NotImplementedException();
- }
-
- public void SendWearables(AvatarWearable[] wearables, int serial)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAppearance(UUID agentID, byte[] visualParams, byte[] textureEntry)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendStartPingCheck(byte seq)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendKillObject(ulong regionHandle, uint localID)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAnimations(UUID[] animID, int[] seqs, UUID sourceAgentId, UUID[] objectIDs)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendRegionHandshake(RegionInfo regionInfo, RegionHandshakeArgs args)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendChatMessage(string message, byte type, Vector3 fromPos, string fromName, UUID fromAgentID, byte source, byte audible)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendInstantMessage(GridInstantMessage im)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendGenericMessage(string method, List message)
- {
- }
-
- public void SendGenericMessage(string method, List message)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendLayerData(float[] map)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendLayerData(int px, int py, float[] map)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendWindData(Vector2[] windSpeeds)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendCloudData(float[] cloudCover)
- {
- throw new System.NotImplementedException();
- }
-
- public void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look)
- {
- throw new System.NotImplementedException();
- }
-
- public void InformClientOfNeighbour(ulong neighbourHandle, IPEndPoint neighbourExternalEndPoint)
- {
- throw new System.NotImplementedException();
- }
-
- public AgentCircuitData RequestClientInfo()
- {
- throw new System.NotImplementedException();
- }
-
- public void CrossRegion(ulong newRegionHandle, Vector3 pos, Vector3 lookAt, IPEndPoint newRegionExternalEndPoint, string capsURL)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendMapBlock(List mapBlocks, uint flag)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendLocalTeleport(Vector3 position, Vector3 lookAt, uint flags)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendRegionTeleport(ulong regionHandle, byte simAccess, IPEndPoint regionExternalEndPoint, uint locationID, uint flags, string capsURL)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendTeleportFailed(string reason)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendTeleportStart(uint flags)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendTeleportProgress(uint flags, string message)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendMoneyBalance(UUID transaction, bool success, byte[] description, int balance)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendPayPrice(UUID objectID, int[] payPrice)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendCoarseLocationUpdate(List users, List CoarseLocations)
- {
- throw new System.NotImplementedException();
- }
-
- public void SetChildAgentThrottle(byte[] throttle)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAvatarDataImmediate(ISceneEntity avatar)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendPrimUpdate(ISceneEntity entity, PrimUpdateFlags updateFlags)
- {
- throw new System.NotImplementedException();
- }
-
- public void ReprioritizeUpdates()
- {
- throw new System.NotImplementedException();
- }
-
- public void FlushPrimUpdates()
- {
- throw new System.NotImplementedException();
- }
-
- public void SendInventoryFolderDetails(UUID ownerID, UUID folderID, List items, List folders, int version, bool fetchFolders, bool fetchItems)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendInventoryItemDetails(UUID ownerID, InventoryItemBase item)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendInventoryItemCreateUpdate(InventoryItemBase Item, uint callbackId)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendRemoveInventoryItem(UUID itemID)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendTakeControls(int controls, bool passToAgent, bool TakeControls)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendTaskInventory(UUID taskID, short serial, byte[] fileName)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendBulkUpdateInventory(InventoryNodeBase node)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendXferPacket(ulong xferID, uint packet, byte[] data)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendEconomyData(float EnergyEfficiency, int ObjectCapacity, int ObjectCount, int PriceEnergyUnit, int PriceGroupCreate, int PriceObjectClaim, float PriceObjectRent, float PriceObjectScaleFactor, int PriceParcelClaim, float PriceParcelClaimFactor, int PriceParcelRent, int PricePublicObjectDecay, int PricePublicObjectDelete, int PriceRentLight, int PriceUpload, int TeleportMinPrice, float TeleportPriceExponent)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAvatarPickerReply(AvatarPickerReplyAgentDataArgs AgentData, List Data)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAgentDataUpdate(UUID agentid, UUID activegroupid, string firstname, string lastname, ulong grouppowers, string groupname, string grouptitle)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendPreLoadSound(UUID objectID, UUID ownerID, UUID soundID)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendPlayAttachedSound(UUID soundID, UUID objectID, UUID ownerID, float gain, byte flags)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendTriggeredSound(UUID soundID, UUID ownerID, UUID objectID, UUID parentID, ulong handle, Vector3 position, float gain)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAttachedSoundGainChange(UUID objectID, float gain)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendNameReply(UUID profileId, string firstname, string lastname)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAlertMessage(string message)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAgentAlertMessage(string message, bool modal)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendLoadURL(string objectname, UUID objectID, UUID ownerID, bool groupOwned, string message, string url)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendDialog(string objectname, UUID objectID, string ownerFirstName, string ownerLastName, string msg, UUID textureID, int ch, string[] buttonlabels)
- {
- throw new System.NotImplementedException();
- }
-
- public bool AddMoney(int debit)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendSunPos(Vector3 sunPos, Vector3 sunVel, ulong CurrentTime, uint SecondsPerSunCycle, uint SecondsPerYear, float OrbitalPosition)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendViewerEffect(ViewerEffectPacket.EffectBlock[] effectBlocks)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendViewerTime(int phase)
- {
- throw new System.NotImplementedException();
- }
-
- public UUID GetDefaultAnimation(string name)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAvatarProperties(UUID avatarID, string aboutText, string bornOn, byte[] charterMember, string flAbout, uint flags, UUID flImageID, UUID imageID, string profileURL, UUID partnerID)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendScriptQuestion(UUID taskID, string taskName, string ownerName, UUID itemID, int question)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendHealth(float health)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendEstateList(UUID invoice, int code, UUID[] Data, uint estateID)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendBannedUserList(UUID invoice, EstateBan[] banlist, uint estateID)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendRegionInfoToEstateMenu(RegionInfoForEstateMenuArgs args)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendEstateCovenantInformation(UUID covenant)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendDetailedEstateData(UUID invoice, string estateName, uint estateID, uint parentEstate, uint estateFlags, uint sunPosition, UUID covenant, string abuseEmail, UUID estateOwner)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendLandProperties(int sequence_id, bool snap_selection, int request_result, LandData landData, float simObjectBonusFactor, int parcelObjectCapacity, int simObjectCapacity, uint regionFlags)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendLandAccessListData(List avatars, uint accessFlag, int localLandID)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendForceClientSelectObjects(List objectIDs)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendCameraConstraint(Vector4 ConstraintPlane)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendLandObjectOwners(LandData land, List groups, Dictionary ownersAndCount)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendLandParcelOverlay(byte[] data, int sequence_id)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendParcelMediaCommand(uint flags, ParcelMediaCommandEnum command, float time)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendParcelMediaUpdate(string mediaUrl, UUID mediaTextureID, byte autoScale, string mediaType, string mediaDesc, int mediaWidth, int mediaHeight, byte mediaLoop)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendConfirmXfer(ulong xferID, uint PacketID)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendXferRequest(ulong XferID, short AssetType, UUID vFileID, byte FilePath, byte[] FileName)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendInitiateDownload(string simFileName, string clientFileName)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendImageFirstPart(ushort numParts, UUID ImageUUID, uint ImageSize, byte[] ImageData, byte imageCodec)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendImageNextPart(ushort partNumber, UUID imageUuid, byte[] imageData)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendImageNotFound(UUID imageid)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendShutdownConnectionNotice()
- {
- throw new System.NotImplementedException();
- }
-
- public void SendSimStats(SimStats stats)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendObjectPropertiesFamilyData(uint RequestFlags, UUID ObjectUUID, UUID OwnerID, UUID GroupID, uint BaseMask, uint OwnerMask, uint GroupMask, uint EveryoneMask, uint NextOwnerMask, int OwnershipCost, byte SaleType, int SalePrice, uint Category, UUID LastOwnerID, string ObjectName, string Description)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendObjectPropertiesReply(UUID ItemID, ulong CreationDate, UUID CreatorUUID, UUID FolderUUID, UUID FromTaskUUID, UUID GroupUUID, short InventorySerial, UUID LastOwnerUUID, UUID ObjectUUID, UUID OwnerUUID, string TouchTitle, byte[] TextureID, string SitTitle, string ItemName, string ItemDescription, uint OwnerMask, uint NextOwnerMask, uint GroupMask, uint EveryoneMask, uint BaseMask, byte saleType, int salePrice)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAgentOffline(UUID[] agentIDs)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAgentOnline(UUID[] agentIDs)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendSitResponse(UUID TargetID, Vector3 OffsetPos, Quaternion SitOrientation, bool autopilot, Vector3 CameraAtOffset, Vector3 CameraEyeOffset, bool ForceMouseLook)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAdminResponse(UUID Token, uint AdminLevel)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendGroupMembership(GroupMembershipData[] GroupMembership)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendGroupNameReply(UUID groupLLUID, string GroupName)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendJoinGroupReply(UUID groupID, bool success)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendEjectGroupMemberReply(UUID agentID, UUID groupID, bool success)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendLeaveGroupReply(UUID groupID, bool success)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendCreateGroupReply(UUID groupID, bool success, string message)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendLandStatReply(uint reportType, uint requestFlags, uint resultCount, LandStatReportItem[] lsrpia)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendScriptRunningReply(UUID objectID, UUID itemID, bool running)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAsset(AssetRequestToClient req)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendTexture(AssetBase TextureAsset)
- {
- throw new System.NotImplementedException();
- }
-
- public byte[] GetThrottlesPacked(float multiplier)
- {
- throw new System.NotImplementedException();
- }
-
- public event ViewerEffectEventHandler OnViewerEffect;
- public event Action OnLogout;
- public event Action OnConnectionClosed;
- public void SendBlueBoxMessage(UUID FromAvatarID, string FromAvatarName, string Message)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendLogoutPacket()
- {
- throw new System.NotImplementedException();
- }
-
- public EndPoint GetClientEP()
- {
- throw new System.NotImplementedException();
- }
-
- public ClientInfo GetClientInfo()
- {
- throw new System.NotImplementedException();
- }
-
- public void SetClientInfo(ClientInfo info)
- {
- throw new System.NotImplementedException();
- }
-
- public void SetClientOption(string option, string value)
- {
- throw new System.NotImplementedException();
- }
-
- public string GetClientOption(string option)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendSetFollowCamProperties(UUID objectID, SortedDictionary parameters)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendClearFollowCamProperties(UUID objectID)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendRegionHandle(UUID regoinID, ulong handle)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendParcelInfo(RegionInfo info, LandData land, UUID parcelID, uint x, uint y)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendScriptTeleportRequest(string objName, string simName, Vector3 pos, Vector3 lookAt)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendDirPlacesReply(UUID queryID, DirPlacesReplyData[] data)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendDirPeopleReply(UUID queryID, DirPeopleReplyData[] data)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendDirEventsReply(UUID queryID, DirEventsReplyData[] data)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendDirGroupsReply(UUID queryID, DirGroupsReplyData[] data)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendDirClassifiedReply(UUID queryID, DirClassifiedReplyData[] data)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendDirLandReply(UUID queryID, DirLandReplyData[] data)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendDirPopularReply(UUID queryID, DirPopularReplyData[] data)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendEventInfoReply(EventData info)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendMapItemReply(mapItemReply[] replies, uint mapitemtype, uint flags)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAvatarGroupsReply(UUID avatarID, GroupMembershipData[] data)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendOfferCallingCard(UUID srcID, UUID transactionID)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAcceptCallingCard(UUID transactionID)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendDeclineCallingCard(UUID transactionID)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendTerminateFriend(UUID exFriendID)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAvatarClassifiedReply(UUID targetID, UUID[] classifiedID, string[] name)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendClassifiedInfoReply(UUID classifiedID, UUID creatorID, uint creationDate, uint expirationDate, uint category, string name, string description, UUID parcelID, uint parentEstate, UUID snapshotID, string simName, Vector3 globalPos, string parcelName, byte classifiedFlags, int price)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAgentDropGroup(UUID groupID)
- {
- throw new System.NotImplementedException();
- }
-
- public void RefreshGroupMembership()
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAvatarNotesReply(UUID targetID, string text)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAvatarPicksReply(UUID targetID, Dictionary picks)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendPickInfoReply(UUID pickID, UUID creatorID, bool topPick, UUID parcelID, string name, string desc, UUID snapshotID, string user, string originalName, string simName, Vector3 posGlobal, int sortOrder, bool enabled)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAvatarClassifiedReply(UUID targetID, Dictionary classifieds)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendParcelDwellReply(int localID, UUID parcelID, float dwell)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendUserInfoReply(bool imViaEmail, bool visible, string email)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendUseCachedMuteList()
- {
- throw new System.NotImplementedException();
- }
-
- public void SendMuteListUpdate(string filename)
- {
- throw new System.NotImplementedException();
- }
-
- public void KillEndDone()
- {
- throw new System.NotImplementedException();
- }
-
- public bool AddGenericPacketHandler(string MethodName, GenericMessage handler)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendRebakeAvatarTextures(UUID textureID)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages)
- {
- throw new System.NotImplementedException();
- }
-
- public void SendGroupAccountingDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID, int amt)
- {
- }
-
- public void SendGroupAccountingSummary(IClientAPI sender,UUID groupID, uint moneyAmt, int totalTier, int usedTier)
- {
- }
-
- public void SendGroupTransactionsSummaryDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID,int amt)
- {
- }
-
- public void SendGroupVoteHistory(UUID groupID, UUID transactionID, GroupVoteHistory[] Votes)
- {
- }
-
- public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals)
- {
- }
-
- public void SendChangeUserRights(UUID agentID, UUID friendID, int rights)
- {
- }
-
- public void SendTextBoxRequest(string message, int chatChannel, string objectname, string ownerFirstName, string ownerLastName, UUID objectId)
- {
- }
-
- public void StopFlying(ISceneEntity presence)
- {
- }
-
- #endregion
- }
-}
diff --git a/OpenSim/Client/Sirikata/Protocol/MessageHeader.cs b/OpenSim/Client/Sirikata/Protocol/MessageHeader.cs
deleted file mode 100644
index 22e10f7..0000000
--- a/OpenSim/Client/Sirikata/Protocol/MessageHeader.cs
+++ /dev/null
@@ -1,630 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-
-using pb = global::Google.ProtocolBuffers;
-using pbc = global::Google.ProtocolBuffers.Collections;
-using pbd = global::Google.ProtocolBuffers.Descriptors;
-using scg = global::System.Collections.Generic;
-namespace Sirikata.Protocol._PBJ_Internal {
-
- public static partial class MessageHeader {
-
- #region Extension registration
- public static void RegisterAllExtensions(pb::ExtensionRegistry registry) {
- }
- #endregion
- #region Static variables
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_Header__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_Header__FieldAccessorTable;
- #endregion
- #region Descriptor
- public static pbd::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbd::FileDescriptor descriptor;
-
- static MessageHeader() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- "ChNNZXNzYWdlSGVhZGVyLnByb3RvEh9TaXJpa2F0YS5Qcm90b2NvbC5fUEJK" +
- "X0ludGVybmFsIooDCgZIZWFkZXISFQoNc291cmNlX29iamVjdBgBIAEoDBIT" +
- "Cgtzb3VyY2VfcG9ydBgDIAEoDRIVCgxzb3VyY2Vfc3BhY2UYgAwgASgMEhoK" +
- "EmRlc3RpbmF0aW9uX29iamVjdBgCIAEoDBIYChBkZXN0aW5hdGlvbl9wb3J0" +
- "GAQgASgNEhoKEWRlc3RpbmF0aW9uX3NwYWNlGIEMIAEoDBIKCgJpZBgHIAEo" +
- "AxIQCghyZXBseV9pZBgIIAEoAxJMCg1yZXR1cm5fc3RhdHVzGIAOIAEoDjI0" +
- "LlNpcmlrYXRhLlByb3RvY29sLl9QQkpfSW50ZXJuYWwuSGVhZGVyLlJldHVy" +
- "blN0YXR1cyJ/CgxSZXR1cm5TdGF0dXMSCwoHU1VDQ0VTUxAAEhMKD05FVFdP" +
- "UktfRkFJTFVSRRABEhMKD1RJTUVPVVRfRkFJTFVSRRADEhIKDlBST1RPQ09M" +
- "X0VSUk9SEAQSEAoMUE9SVF9GQUlMVVJFEAUSEgoOVU5LTk9XTl9PQkpFQ1QQ" +
- "Bg==");
- pbd::FileDescriptor.InternalDescriptorAssigner assigner = delegate(pbd::FileDescriptor root) {
- descriptor = root;
- internal__static_Sirikata_Protocol__PBJ_Internal_Header__Descriptor = Descriptor.MessageTypes[0];
- internal__static_Sirikata_Protocol__PBJ_Internal_Header__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_Header__Descriptor,
- new string[] { "SourceObject", "SourcePort", "SourceSpace", "DestinationObject", "DestinationPort", "DestinationSpace", "Id", "ReplyId", "ReturnStatus", });
- return null;
- };
- pbd::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
- new pbd::FileDescriptor[] {
- }, assigner);
- }
- #endregion
-
- }
- #region Messages
- public sealed partial class Header : pb::GeneratedMessage {
- private static readonly Header defaultInstance = new Builder().BuildPartial();
- public static Header DefaultInstance {
- get { return defaultInstance; }
- }
-
- public override Header DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- protected override Header ThisMessage {
- get { return this; }
- }
-
- public static pbd::MessageDescriptor Descriptor {
- get { return global::Sirikata.Protocol._PBJ_Internal.MessageHeader.internal__static_Sirikata_Protocol__PBJ_Internal_Header__Descriptor; }
- }
-
- protected override pb::FieldAccess.FieldAccessorTable InternalFieldAccessors {
- get { return global::Sirikata.Protocol._PBJ_Internal.MessageHeader.internal__static_Sirikata_Protocol__PBJ_Internal_Header__FieldAccessorTable; }
- }
-
- #region Nested types
- public static class Types {
- public enum ReturnStatus {
- SUCCESS = 0,
- NETWORK_FAILURE = 1,
- TIMEOUT_FAILURE = 3,
- PROTOCOL_ERROR = 4,
- PORT_FAILURE = 5,
- UNKNOWN_OBJECT = 6,
- }
-
- }
- #endregion
-
- public const int SourceObjectFieldNumber = 1;
- private bool hasSourceObject;
- private pb::ByteString sourceObject_ = pb::ByteString.Empty;
- public bool HasSourceObject {
- get { return hasSourceObject; }
- }
- public pb::ByteString SourceObject {
- get { return sourceObject_; }
- }
-
- public const int SourcePortFieldNumber = 3;
- private bool hasSourcePort;
- private uint sourcePort_ = 0;
- public bool HasSourcePort {
- get { return hasSourcePort; }
- }
- [global::System.CLSCompliant(false)]
- public uint SourcePort {
- get { return sourcePort_; }
- }
-
- public const int SourceSpaceFieldNumber = 1536;
- private bool hasSourceSpace;
- private pb::ByteString sourceSpace_ = pb::ByteString.Empty;
- public bool HasSourceSpace {
- get { return hasSourceSpace; }
- }
- public pb::ByteString SourceSpace {
- get { return sourceSpace_; }
- }
-
- public const int DestinationObjectFieldNumber = 2;
- private bool hasDestinationObject;
- private pb::ByteString destinationObject_ = pb::ByteString.Empty;
- public bool HasDestinationObject {
- get { return hasDestinationObject; }
- }
- public pb::ByteString DestinationObject {
- get { return destinationObject_; }
- }
-
- public const int DestinationPortFieldNumber = 4;
- private bool hasDestinationPort;
- private uint destinationPort_ = 0;
- public bool HasDestinationPort {
- get { return hasDestinationPort; }
- }
- [global::System.CLSCompliant(false)]
- public uint DestinationPort {
- get { return destinationPort_; }
- }
-
- public const int DestinationSpaceFieldNumber = 1537;
- private bool hasDestinationSpace;
- private pb::ByteString destinationSpace_ = pb::ByteString.Empty;
- public bool HasDestinationSpace {
- get { return hasDestinationSpace; }
- }
- public pb::ByteString DestinationSpace {
- get { return destinationSpace_; }
- }
-
- public const int IdFieldNumber = 7;
- private bool hasId;
- private long id_ = 0L;
- public bool HasId {
- get { return hasId; }
- }
- public long Id {
- get { return id_; }
- }
-
- public const int ReplyIdFieldNumber = 8;
- private bool hasReplyId;
- private long replyId_ = 0L;
- public bool HasReplyId {
- get { return hasReplyId; }
- }
- public long ReplyId {
- get { return replyId_; }
- }
-
- public const int ReturnStatusFieldNumber = 1792;
- private bool hasReturnStatus;
- private global::Sirikata.Protocol._PBJ_Internal.Header.Types.ReturnStatus returnStatus_ = global::Sirikata.Protocol._PBJ_Internal.Header.Types.ReturnStatus.SUCCESS;
- public bool HasReturnStatus {
- get { return hasReturnStatus; }
- }
- public global::Sirikata.Protocol._PBJ_Internal.Header.Types.ReturnStatus ReturnStatus {
- get { return returnStatus_; }
- }
-
- public override bool IsInitialized {
- get {
- return true;
- }
- }
-
- public override void WriteTo(pb::CodedOutputStream output) {
- if (HasSourceObject) {
- output.WriteBytes(1, SourceObject);
- }
- if (HasDestinationObject) {
- output.WriteBytes(2, DestinationObject);
- }
- if (HasSourcePort) {
- output.WriteUInt32(3, SourcePort);
- }
- if (HasDestinationPort) {
- output.WriteUInt32(4, DestinationPort);
- }
- if (HasId) {
- output.WriteInt64(7, Id);
- }
- if (HasReplyId) {
- output.WriteInt64(8, ReplyId);
- }
- if (HasSourceSpace) {
- output.WriteBytes(1536, SourceSpace);
- }
- if (HasDestinationSpace) {
- output.WriteBytes(1537, DestinationSpace);
- }
- if (HasReturnStatus) {
- output.WriteEnum(1792, (int) ReturnStatus);
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public override int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (HasSourceObject) {
- size += pb::CodedOutputStream.ComputeBytesSize(1, SourceObject);
- }
- if (HasSourcePort) {
- size += pb::CodedOutputStream.ComputeUInt32Size(3, SourcePort);
- }
- if (HasSourceSpace) {
- size += pb::CodedOutputStream.ComputeBytesSize(1536, SourceSpace);
- }
- if (HasDestinationObject) {
- size += pb::CodedOutputStream.ComputeBytesSize(2, DestinationObject);
- }
- if (HasDestinationPort) {
- size += pb::CodedOutputStream.ComputeUInt32Size(4, DestinationPort);
- }
- if (HasDestinationSpace) {
- size += pb::CodedOutputStream.ComputeBytesSize(1537, DestinationSpace);
- }
- if (HasId) {
- size += pb::CodedOutputStream.ComputeInt64Size(7, Id);
- }
- if (HasReplyId) {
- size += pb::CodedOutputStream.ComputeInt64Size(8, ReplyId);
- }
- if (HasReturnStatus) {
- size += pb::CodedOutputStream.ComputeEnumSize(1792, (int) ReturnStatus);
- }
- size += UnknownFields.SerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static Header ParseFrom(pb::ByteString data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static Header ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static Header ParseFrom(byte[] data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static Header ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static Header ParseFrom(global::System.IO.Stream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static Header ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static Header ParseDelimitedFrom(global::System.IO.Stream input) {
- return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
- }
- public static Header ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
- }
- public static Header ParseFrom(pb::CodedInputStream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static Header ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static Builder CreateBuilder() { return new Builder(); }
- public override Builder ToBuilder() { return CreateBuilder(this); }
- public override Builder CreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder(Header prototype) {
- return (Builder) new Builder().MergeFrom(prototype);
- }
-
- public sealed partial class Builder : pb::GeneratedBuilder {
- protected override Builder ThisBuilder {
- get { return this; }
- }
- public Builder() {}
-
- Header result = new Header();
-
- protected override Header MessageBeingBuilt {
- get { return result; }
- }
-
- public override Builder Clear() {
- result = new Header();
- return this;
- }
-
- public override Builder Clone() {
- return new Builder().MergeFrom(result);
- }
-
- public override pbd::MessageDescriptor DescriptorForType {
- get { return global::Sirikata.Protocol._PBJ_Internal.Header.Descriptor; }
- }
-
- public override Header DefaultInstanceForType {
- get { return global::Sirikata.Protocol._PBJ_Internal.Header.DefaultInstance; }
- }
-
- public override Header BuildPartial() {
- if (result == null) {
- throw new global::System.InvalidOperationException("build() has already been called on this Builder");
- }
- Header returnMe = result;
- result = null;
- return returnMe;
- }
-
- public override Builder MergeFrom(pb::IMessage other) {
- if (other is Header) {
- return MergeFrom((Header) other);
- } else {
- base.MergeFrom(other);
- return this;
- }
- }
-
- public override Builder MergeFrom(Header other) {
- if (other == global::Sirikata.Protocol._PBJ_Internal.Header.DefaultInstance) return this;
- if (other.HasSourceObject) {
- SourceObject = other.SourceObject;
- }
- if (other.HasSourcePort) {
- SourcePort = other.SourcePort;
- }
- if (other.HasSourceSpace) {
- SourceSpace = other.SourceSpace;
- }
- if (other.HasDestinationObject) {
- DestinationObject = other.DestinationObject;
- }
- if (other.HasDestinationPort) {
- DestinationPort = other.DestinationPort;
- }
- if (other.HasDestinationSpace) {
- DestinationSpace = other.DestinationSpace;
- }
- if (other.HasId) {
- Id = other.Id;
- }
- if (other.HasReplyId) {
- ReplyId = other.ReplyId;
- }
- if (other.HasReturnStatus) {
- ReturnStatus = other.ReturnStatus;
- }
- this.MergeUnknownFields(other.UnknownFields);
- return this;
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input) {
- return MergeFrom(input, pb::ExtensionRegistry.Empty);
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields = null;
- while (true) {
- uint tag = input.ReadTag();
- switch (tag) {
- case 0: {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- default: {
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- ParseUnknownField(input, unknownFields, extensionRegistry, tag);
- break;
- }
- case 10: {
- SourceObject = input.ReadBytes();
- break;
- }
- case 18: {
- DestinationObject = input.ReadBytes();
- break;
- }
- case 24: {
- SourcePort = input.ReadUInt32();
- break;
- }
- case 32: {
- DestinationPort = input.ReadUInt32();
- break;
- }
- case 56: {
- Id = input.ReadInt64();
- break;
- }
- case 64: {
- ReplyId = input.ReadInt64();
- break;
- }
- case 12290: {
- SourceSpace = input.ReadBytes();
- break;
- }
- case 12298: {
- DestinationSpace = input.ReadBytes();
- break;
- }
- case 14336: {
- int rawValue = input.ReadEnum();
- if (!global::System.Enum.IsDefined(typeof(global::Sirikata.Protocol._PBJ_Internal.Header.Types.ReturnStatus), rawValue)) {
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- unknownFields.MergeVarintField(1792, (ulong) rawValue);
- } else {
- ReturnStatus = (global::Sirikata.Protocol._PBJ_Internal.Header.Types.ReturnStatus) rawValue;
- }
- break;
- }
- }
- }
- }
-
-
- public bool HasSourceObject {
- get { return result.HasSourceObject; }
- }
- public pb::ByteString SourceObject {
- get { return result.SourceObject; }
- set { SetSourceObject(value); }
- }
- public Builder SetSourceObject(pb::ByteString value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.hasSourceObject = true;
- result.sourceObject_ = value;
- return this;
- }
- public Builder ClearSourceObject() {
- result.hasSourceObject = false;
- result.sourceObject_ = pb::ByteString.Empty;
- return this;
- }
-
- public bool HasSourcePort {
- get { return result.HasSourcePort; }
- }
- [global::System.CLSCompliant(false)]
- public uint SourcePort {
- get { return result.SourcePort; }
- set { SetSourcePort(value); }
- }
- [global::System.CLSCompliant(false)]
- public Builder SetSourcePort(uint value) {
- result.hasSourcePort = true;
- result.sourcePort_ = value;
- return this;
- }
- public Builder ClearSourcePort() {
- result.hasSourcePort = false;
- result.sourcePort_ = 0;
- return this;
- }
-
- public bool HasSourceSpace {
- get { return result.HasSourceSpace; }
- }
- public pb::ByteString SourceSpace {
- get { return result.SourceSpace; }
- set { SetSourceSpace(value); }
- }
- public Builder SetSourceSpace(pb::ByteString value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.hasSourceSpace = true;
- result.sourceSpace_ = value;
- return this;
- }
- public Builder ClearSourceSpace() {
- result.hasSourceSpace = false;
- result.sourceSpace_ = pb::ByteString.Empty;
- return this;
- }
-
- public bool HasDestinationObject {
- get { return result.HasDestinationObject; }
- }
- public pb::ByteString DestinationObject {
- get { return result.DestinationObject; }
- set { SetDestinationObject(value); }
- }
- public Builder SetDestinationObject(pb::ByteString value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.hasDestinationObject = true;
- result.destinationObject_ = value;
- return this;
- }
- public Builder ClearDestinationObject() {
- result.hasDestinationObject = false;
- result.destinationObject_ = pb::ByteString.Empty;
- return this;
- }
-
- public bool HasDestinationPort {
- get { return result.HasDestinationPort; }
- }
- [global::System.CLSCompliant(false)]
- public uint DestinationPort {
- get { return result.DestinationPort; }
- set { SetDestinationPort(value); }
- }
- [global::System.CLSCompliant(false)]
- public Builder SetDestinationPort(uint value) {
- result.hasDestinationPort = true;
- result.destinationPort_ = value;
- return this;
- }
- public Builder ClearDestinationPort() {
- result.hasDestinationPort = false;
- result.destinationPort_ = 0;
- return this;
- }
-
- public bool HasDestinationSpace {
- get { return result.HasDestinationSpace; }
- }
- public pb::ByteString DestinationSpace {
- get { return result.DestinationSpace; }
- set { SetDestinationSpace(value); }
- }
- public Builder SetDestinationSpace(pb::ByteString value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.hasDestinationSpace = true;
- result.destinationSpace_ = value;
- return this;
- }
- public Builder ClearDestinationSpace() {
- result.hasDestinationSpace = false;
- result.destinationSpace_ = pb::ByteString.Empty;
- return this;
- }
-
- public bool HasId {
- get { return result.HasId; }
- }
- public long Id {
- get { return result.Id; }
- set { SetId(value); }
- }
- public Builder SetId(long value) {
- result.hasId = true;
- result.id_ = value;
- return this;
- }
- public Builder ClearId() {
- result.hasId = false;
- result.id_ = 0L;
- return this;
- }
-
- public bool HasReplyId {
- get { return result.HasReplyId; }
- }
- public long ReplyId {
- get { return result.ReplyId; }
- set { SetReplyId(value); }
- }
- public Builder SetReplyId(long value) {
- result.hasReplyId = true;
- result.replyId_ = value;
- return this;
- }
- public Builder ClearReplyId() {
- result.hasReplyId = false;
- result.replyId_ = 0L;
- return this;
- }
-
- public bool HasReturnStatus {
- get { return result.HasReturnStatus; }
- }
- public global::Sirikata.Protocol._PBJ_Internal.Header.Types.ReturnStatus ReturnStatus {
- get { return result.ReturnStatus; }
- set { SetReturnStatus(value); }
- }
- public Builder SetReturnStatus(global::Sirikata.Protocol._PBJ_Internal.Header.Types.ReturnStatus value) {
- result.hasReturnStatus = true;
- result.returnStatus_ = value;
- return this;
- }
- public Builder ClearReturnStatus() {
- result.hasReturnStatus = false;
- result.returnStatus_ = global::Sirikata.Protocol._PBJ_Internal.Header.Types.ReturnStatus.SUCCESS;
- return this;
- }
- }
- static Header() {
- object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.MessageHeader.Descriptor, null);
- }
- }
-
- #endregion
-
-}
diff --git a/OpenSim/Client/Sirikata/Protocol/MessageHeader.pbj.cs b/OpenSim/Client/Sirikata/Protocol/MessageHeader.pbj.cs
deleted file mode 100644
index fb4963f..0000000
--- a/OpenSim/Client/Sirikata/Protocol/MessageHeader.pbj.cs
+++ /dev/null
@@ -1,339 +0,0 @@
-/*
- * Copyright (c) Contributors, http://opensimulator.org/
- * See CONTRIBUTORS.TXT for a full list of copyright holders.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * * Neither the name of the OpenSimulator Project nor the
- * names of its contributors may be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-using pbd = global::Google.ProtocolBuffers.Descriptors;
-using pb = global::Google.ProtocolBuffers;
-namespace Sirikata.Protocol {
- public class Header : PBJ.IMessage {
- protected _PBJ_Internal.Header super;
- public _PBJ_Internal.Header _PBJSuper{ get { return super;} }
- public Header() {
- super=new _PBJ_Internal.Header();
- }
- public Header(_PBJ_Internal.Header reference) {
- super=reference;
- }
- public static Header defaultInstance= new Header (_PBJ_Internal.Header.DefaultInstance);
- public static Header DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.Header.Descriptor; } }
- public static class Types {
- public enum ReturnStatus {
- SUCCESS=_PBJ_Internal.Header.Types.ReturnStatus.SUCCESS,
- NETWORK_FAILURE=_PBJ_Internal.Header.Types.ReturnStatus.NETWORK_FAILURE,
- TIMEOUT_FAILURE=_PBJ_Internal.Header.Types.ReturnStatus.TIMEOUT_FAILURE,
- PROTOCOL_ERROR=_PBJ_Internal.Header.Types.ReturnStatus.PROTOCOL_ERROR,
- PORT_FAILURE=_PBJ_Internal.Header.Types.ReturnStatus.PORT_FAILURE,
- UNKNOWN_OBJECT=_PBJ_Internal.Header.Types.ReturnStatus.UNKNOWN_OBJECT
- };
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int SourceObjectFieldTag=1;
- public bool HasSourceObject{ get {return super.HasSourceObject&&PBJ._PBJ.ValidateUuid(super.SourceObject);} }
- public PBJ.UUID SourceObject{ get {
- if (HasSourceObject) {
- return PBJ._PBJ.CastUuid(super.SourceObject);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public const int SourcePortFieldTag=3;
- public bool HasSourcePort{ get {return super.HasSourcePort&&PBJ._PBJ.ValidateUint32(super.SourcePort);} }
- public uint SourcePort{ get {
- if (HasSourcePort) {
- return PBJ._PBJ.CastUint32(super.SourcePort);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- }
- public const int SourceSpaceFieldTag=1536;
- public bool HasSourceSpace{ get {return super.HasSourceSpace&&PBJ._PBJ.ValidateUuid(super.SourceSpace);} }
- public PBJ.UUID SourceSpace{ get {
- if (HasSourceSpace) {
- return PBJ._PBJ.CastUuid(super.SourceSpace);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public const int DestinationObjectFieldTag=2;
- public bool HasDestinationObject{ get {return super.HasDestinationObject&&PBJ._PBJ.ValidateUuid(super.DestinationObject);} }
- public PBJ.UUID DestinationObject{ get {
- if (HasDestinationObject) {
- return PBJ._PBJ.CastUuid(super.DestinationObject);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public const int DestinationPortFieldTag=4;
- public bool HasDestinationPort{ get {return super.HasDestinationPort&&PBJ._PBJ.ValidateUint32(super.DestinationPort);} }
- public uint DestinationPort{ get {
- if (HasDestinationPort) {
- return PBJ._PBJ.CastUint32(super.DestinationPort);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- }
- public const int DestinationSpaceFieldTag=1537;
- public bool HasDestinationSpace{ get {return super.HasDestinationSpace&&PBJ._PBJ.ValidateUuid(super.DestinationSpace);} }
- public PBJ.UUID DestinationSpace{ get {
- if (HasDestinationSpace) {
- return PBJ._PBJ.CastUuid(super.DestinationSpace);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public const int IdFieldTag=7;
- public bool HasId{ get {return super.HasId&&PBJ._PBJ.ValidateInt64(super.Id);} }
- public long Id{ get {
- if (HasId) {
- return PBJ._PBJ.CastInt64(super.Id);
- } else {
- return PBJ._PBJ.CastInt64();
- }
- }
- }
- public const int ReplyIdFieldTag=8;
- public bool HasReplyId{ get {return super.HasReplyId&&PBJ._PBJ.ValidateInt64(super.ReplyId);} }
- public long ReplyId{ get {
- if (HasReplyId) {
- return PBJ._PBJ.CastInt64(super.ReplyId);
- } else {
- return PBJ._PBJ.CastInt64();
- }
- }
- }
- public const int ReturnStatusFieldTag=1792;
- public bool HasReturnStatus{ get {return super.HasReturnStatus;} }
- public Types.ReturnStatus ReturnStatus{ get {
- if (HasReturnStatus) {
- return (Types.ReturnStatus)super.ReturnStatus;
- } else {
- return new Types.ReturnStatus();
- }
- }
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(Header prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static Header ParseFrom(pb::ByteString data) {
- return new Header(_PBJ_Internal.Header.ParseFrom(data));
- }
- public static Header ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new Header(_PBJ_Internal.Header.ParseFrom(data,er));
- }
- public static Header ParseFrom(byte[] data) {
- return new Header(_PBJ_Internal.Header.ParseFrom(data));
- }
- public static Header ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new Header(_PBJ_Internal.Header.ParseFrom(data,er));
- }
- public static Header ParseFrom(global::System.IO.Stream data) {
- return new Header(_PBJ_Internal.Header.ParseFrom(data));
- }
- public static Header ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new Header(_PBJ_Internal.Header.ParseFrom(data,er));
- }
- public static Header ParseFrom(pb::CodedInputStream data) {
- return new Header(_PBJ_Internal.Header.ParseFrom(data));
- }
- public static Header ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new Header(_PBJ_Internal.Header.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.Header.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.Header.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.Header.Builder();}
- public Builder(_PBJ_Internal.Header.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(Header prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public Header BuildPartial() {return new Header(super.BuildPartial());}
- public Header Build() {if (_HasAllPBJFields) return new Header(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return Header.Descriptor; } }
- public Builder ClearSourceObject() { super.ClearSourceObject();return this;}
- public const int SourceObjectFieldTag=1;
- public bool HasSourceObject{ get {return super.HasSourceObject&&PBJ._PBJ.ValidateUuid(super.SourceObject);} }
- public PBJ.UUID SourceObject{ get {
- if (HasSourceObject) {
- return PBJ._PBJ.CastUuid(super.SourceObject);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.SourceObject=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearSourcePort() { super.ClearSourcePort();return this;}
- public const int SourcePortFieldTag=3;
- public bool HasSourcePort{ get {return super.HasSourcePort&&PBJ._PBJ.ValidateUint32(super.SourcePort);} }
- public uint SourcePort{ get {
- if (HasSourcePort) {
- return PBJ._PBJ.CastUint32(super.SourcePort);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- set {
- super.SourcePort=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearSourceSpace() { super.ClearSourceSpace();return this;}
- public const int SourceSpaceFieldTag=1536;
- public bool HasSourceSpace{ get {return super.HasSourceSpace&&PBJ._PBJ.ValidateUuid(super.SourceSpace);} }
- public PBJ.UUID SourceSpace{ get {
- if (HasSourceSpace) {
- return PBJ._PBJ.CastUuid(super.SourceSpace);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.SourceSpace=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearDestinationObject() { super.ClearDestinationObject();return this;}
- public const int DestinationObjectFieldTag=2;
- public bool HasDestinationObject{ get {return super.HasDestinationObject&&PBJ._PBJ.ValidateUuid(super.DestinationObject);} }
- public PBJ.UUID DestinationObject{ get {
- if (HasDestinationObject) {
- return PBJ._PBJ.CastUuid(super.DestinationObject);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.DestinationObject=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearDestinationPort() { super.ClearDestinationPort();return this;}
- public const int DestinationPortFieldTag=4;
- public bool HasDestinationPort{ get {return super.HasDestinationPort&&PBJ._PBJ.ValidateUint32(super.DestinationPort);} }
- public uint DestinationPort{ get {
- if (HasDestinationPort) {
- return PBJ._PBJ.CastUint32(super.DestinationPort);
- } else {
- return PBJ._PBJ.CastUint32();
- }
- }
- set {
- super.DestinationPort=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearDestinationSpace() { super.ClearDestinationSpace();return this;}
- public const int DestinationSpaceFieldTag=1537;
- public bool HasDestinationSpace{ get {return super.HasDestinationSpace&&PBJ._PBJ.ValidateUuid(super.DestinationSpace);} }
- public PBJ.UUID DestinationSpace{ get {
- if (HasDestinationSpace) {
- return PBJ._PBJ.CastUuid(super.DestinationSpace);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.DestinationSpace=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearId() { super.ClearId();return this;}
- public const int IdFieldTag=7;
- public bool HasId{ get {return super.HasId&&PBJ._PBJ.ValidateInt64(super.Id);} }
- public long Id{ get {
- if (HasId) {
- return PBJ._PBJ.CastInt64(super.Id);
- } else {
- return PBJ._PBJ.CastInt64();
- }
- }
- set {
- super.Id=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearReplyId() { super.ClearReplyId();return this;}
- public const int ReplyIdFieldTag=8;
- public bool HasReplyId{ get {return super.HasReplyId&&PBJ._PBJ.ValidateInt64(super.ReplyId);} }
- public long ReplyId{ get {
- if (HasReplyId) {
- return PBJ._PBJ.CastInt64(super.ReplyId);
- } else {
- return PBJ._PBJ.CastInt64();
- }
- }
- set {
- super.ReplyId=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearReturnStatus() { super.ClearReturnStatus();return this;}
- public const int ReturnStatusFieldTag=1792;
- public bool HasReturnStatus{ get {return super.HasReturnStatus;} }
- public Types.ReturnStatus ReturnStatus{ get {
- if (HasReturnStatus) {
- return (Types.ReturnStatus)super.ReturnStatus;
- } else {
- return new Types.ReturnStatus();
- }
- }
- set {
- super.ReturnStatus=((_PBJ_Internal.Header.Types.ReturnStatus)value);
- }
- }
- }
- }
-}
diff --git a/OpenSim/Client/Sirikata/Protocol/PBJ.cs b/OpenSim/Client/Sirikata/Protocol/PBJ.cs
deleted file mode 100644
index 9b1951a..0000000
--- a/OpenSim/Client/Sirikata/Protocol/PBJ.cs
+++ /dev/null
@@ -1,2104 +0,0 @@
-/*
- * Copyright (c) Contributors, http://opensimulator.org/
- * See CONTRIBUTORS.TXT for a full list of copyright holders.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * * Neither the name of the OpenSimulator Project nor the
- * names of its contributors may be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-using System;
-namespace PBJ
-{
-
- public class IMessage
- {
- public virtual Google.ProtocolBuffers.IMessage _PBJISuper { get { return null; } }
- protected virtual bool _HasAllPBJFields { get { return true; } }
- public void WriteTo(Google.ProtocolBuffers.CodedOutputStream output)
- {
- _PBJISuper.WriteTo(output);
- }
- public override bool Equals(object other)
- {
- return _PBJISuper.Equals(other);
- }
- public int SerializedSize { get { return _PBJISuper.SerializedSize; } }
-
- public override int GetHashCode() { return _PBJISuper.GetHashCode(); }
-
- public override string ToString()
- {
- return _PBJISuper.ToString();
- }
- public virtual IBuilder WeakCreateBuilderForType() { return null; }
- public Google.ProtocolBuffers.ByteString ToByteString()
- {
- return _PBJISuper.ToByteString();
- }
- public byte[] ToByteArray()
- {
- return _PBJISuper.ToByteArray();
- }
- public void WriteTo(global::System.IO.Stream output)
- {
- _PBJISuper.WriteTo(output);
- }
- // Google.ProtocolBuffers.MessageDescriptor DescriptorForType { get {return _PBJISuper.DescriptorForType;} }
- public Google.ProtocolBuffers.UnknownFieldSet UnknownFields { get { return _PBJISuper.UnknownFields; } }
- public class IBuilder
- {
- public virtual Google.ProtocolBuffers.IBuilder _PBJISuper { get { return null; } }
- protected virtual bool _HasAllPBJFields { get { return true; } }
- }
- }
-
- public struct Vector2f
- {
-
- public float x;
- public float y;
-
-
- public Vector2f(float _x, float _y)
- {
- x = _x; y = _y;
- }
-
- public Vector2f(Vector2f cpy)
- {
- x = cpy.x; y = cpy.y;
- }
-
-
- public Vector2f Negate()
- {
- return new Vector2f(-x, -y);
- }
-
- public Vector2f Add(Vector2f rhs)
- {
- return new Vector2f(x + rhs.x, y + rhs.y);
- }
-
- public Vector2f Subtract(Vector2f rhs)
- {
- return new Vector2f(x - rhs.x, y - rhs.y);
- }
-
- public Vector2f Multiply(Vector2f rhs)
- {
- return new Vector2f(x * rhs.x, y * rhs.y);
- }
-
- public Vector2f Multiply(float s)
- {
- return new Vector2f(x * s, y * s);
- }
-
- public Vector2f Divide(Vector2f rhs)
- {
- return new Vector2f(x / rhs.x, y / rhs.y);
- }
-
- public Vector2f Divide(float s)
- {
- return new Vector2f(x / s, y / s);
- }
-
- public float Dot(Vector2f rhs)
- {
- return (x * rhs.x + y * rhs.y);
- }
-
- public void Normalize()
- {
- float len = Length;
- if (len != 0.0)
- {
- x /= len; y /= len;
- }
- }
-
- public Vector2f Normalized
- {
- get
- {
- Vector2f normed = new Vector2f(this);
- normed.Normalize();
- return normed;
- }
- }
-
- public float SquaredLength
- {
- get
- {
- return (x * x + y * y);
- }
- }
- public float Length
- {
- get
- {
- return (float)Math.Sqrt(SquaredLength);
- }
- }
-
-
- public override string ToString()
- {
- return String.Format("<{0}, {1}>", x, y);
- }
-
-
- public static Vector2f operator -(Vector2f uo)
- {
- return uo.Negate();
- }
-
- public static Vector2f operator +(Vector2f lhs, Vector2f rhs)
- {
- return lhs.Add(rhs);
- }
-
- public static Vector2f operator -(Vector2f lhs, Vector2f rhs)
- {
- return lhs.Subtract(rhs);
- }
-
- public static Vector2f operator *(Vector2f lhs, Vector2f rhs)
- {
- return lhs.Multiply(rhs);
- }
-
- public static Vector2f operator *(Vector2f lhs, float rhs)
- {
- return lhs.Multiply(rhs);
- }
- public static Vector2f operator *(float lhs, Vector2f rhs)
- {
- return rhs.Multiply(lhs);
- }
-
- public static Vector2f operator /(Vector2f lhs, Vector2f rhs)
- {
- return lhs.Divide(rhs);
- }
-
- public static Vector2f operator /(Vector2f lhs, float rhs)
- {
- return lhs.Divide(rhs);
- }
-
- } // struct Vector2f
-
- public struct Vector2d
- {
-
- public double x;
- public double y;
-
-
- public Vector2d(double _x, double _y)
- {
- x = _x; y = _y;
- }
-
- public Vector2d(Vector2d cpy)
- {
- x = cpy.x; y = cpy.y;
- }
-
-
- public Vector2d Negate()
- {
- return new Vector2d(-x, -y);
- }
-
- public Vector2d Add(Vector2d rhs)
- {
- return new Vector2d(x + rhs.x, y + rhs.y);
- }
-
- public Vector2d Subtract(Vector2d rhs)
- {
- return new Vector2d(x - rhs.x, y - rhs.y);
- }
-
- public Vector2d Multiply(Vector2d rhs)
- {
- return new Vector2d(x * rhs.x, y * rhs.y);
- }
-
- public Vector2d Multiply(double s)
- {
- return new Vector2d(x * s, y * s);
- }
-
- public Vector2d Divide(Vector2d rhs)
- {
- return new Vector2d(x / rhs.x, y / rhs.y);
- }
-
- public Vector2d Divide(double s)
- {
- return new Vector2d(x / s, y / s);
- }
-
- public double Dot(Vector2d rhs)
- {
- return (x * rhs.x + y * rhs.y);
- }
-
- public void Normalize()
- {
- double len = Length;
- if (len != 0.0)
- {
- x /= len; y /= len;
- }
- }
-
- public Vector2d Normalized
- {
- get
- {
- Vector2d normed = new Vector2d(this);
- normed.Normalize();
- return normed;
- }
- }
-
- public double SquaredLength
- {
- get
- {
- return (x * x + y * y);
- }
- }
- public double Length
- {
- get
- {
- return Math.Sqrt(SquaredLength);
- }
- }
-
-
- public override string ToString()
- {
- return String.Format("<{0}, {1}>", x, y);
- }
-
-
- public static Vector2d operator -(Vector2d uo)
- {
- return uo.Negate();
- }
-
- public static Vector2d operator +(Vector2d lhs, Vector2d rhs)
- {
- return lhs.Add(rhs);
- }
-
- public static Vector2d operator -(Vector2d lhs, Vector2d rhs)
- {
- return lhs.Subtract(rhs);
- }
-
- public static Vector2d operator *(Vector2d lhs, Vector2d rhs)
- {
- return lhs.Multiply(rhs);
- }
-
- public static Vector2d operator *(Vector2d lhs, double rhs)
- {
- return lhs.Multiply(rhs);
- }
- public static Vector2d operator *(double lhs, Vector2d rhs)
- {
- return rhs.Multiply(lhs);
- }
-
- public static Vector2d operator /(Vector2d lhs, Vector2d rhs)
- {
- return lhs.Divide(rhs);
- }
-
- public static Vector2d operator /(Vector2d lhs, double rhs)
- {
- return lhs.Divide(rhs);
- }
-
- } // struct Vector2d
-
- public struct Vector3f
- {
-
- public float x;
- public float y;
- public float z;
-
-
- public Vector3f(float _x, float _y, float _z)
- {
- x = _x; y = _y; z = _z;
- }
-
- public Vector3f(Vector3f cpy)
- {
- x = cpy.x; y = cpy.y; z = cpy.z;
- }
-
-
- public Vector3f Negate()
- {
- return new Vector3f(-x, -y, -z);
- }
-
- public Vector3f Add(Vector3f rhs)
- {
- return new Vector3f(x + rhs.x, y + rhs.y, z + rhs.z);
- }
-
- public Vector3f Subtract(Vector3f rhs)
- {
- return new Vector3f(x - rhs.x, y - rhs.y, z - rhs.z);
- }
-
- public Vector3f Multiply(Vector3f rhs)
- {
- return new Vector3f(x * rhs.x, y * rhs.y, z * rhs.z);
- }
-
- public Vector3f Multiply(float s)
- {
- return new Vector3f(x * s, y * s, z * s);
- }
-
- public Vector3f Divide(Vector3f rhs)
- {
- return new Vector3f(x / rhs.x, y / rhs.y, z / rhs.z);
- }
-
- public Vector3f Divide(float s)
- {
- return new Vector3f(x / s, y / s, z / s);
- }
-
- public float Dot(Vector3f rhs)
- {
- return (x * rhs.x + y * rhs.y + z * rhs.z);
- }
-
- public Vector3f Cross(Vector3f rhs)
- {
- return new Vector3f(y * rhs.z - z * rhs.y, z * rhs.x - x * rhs.z, x * rhs.y - y * rhs.x);
- }
-
- public void Normalize()
- {
- float len = Length;
- if (len != 0.0)
- {
- x /= len; y /= len; z /= len;
- }
- }
-
- public Vector3f Normalized
- {
- get
- {
- Vector3f normed = new Vector3f(this);
- normed.Normalize();
- return normed;
- }
- }
-
- public float SquaredLength
- {
- get
- {
- return (x * x + y * y + z * z);
- }
- }
- public float Length
- {
- get
- {
- return (float)Math.Sqrt(SquaredLength);
- }
- }
-
-
- public override string ToString()
- {
- return String.Format("<{0}, {1}, {2}>", x, y, z);
- }
-
-
- public static Vector3f operator -(Vector3f uo)
- {
- return uo.Negate();
- }
-
- public static Vector3f operator +(Vector3f lhs, Vector3f rhs)
- {
- return lhs.Add(rhs);
- }
-
- public static Vector3f operator -(Vector3f lhs, Vector3f rhs)
- {
- return lhs.Subtract(rhs);
- }
-
- public static Vector3f operator *(Vector3f lhs, Vector3f rhs)
- {
- return lhs.Multiply(rhs);
- }
-
- public static Vector3f operator *(Vector3f lhs, float rhs)
- {
- return lhs.Multiply(rhs);
- }
- public static Vector3f operator *(float lhs, Vector3f rhs)
- {
- return rhs.Multiply(lhs);
- }
-
- public static Vector3f operator /(Vector3f lhs, Vector3f rhs)
- {
- return lhs.Divide(rhs);
- }
-
- public static Vector3f operator /(Vector3f lhs, float rhs)
- {
- return lhs.Divide(rhs);
- }
-
- } // struct Vector3f
-
- public struct Vector3d
- {
-
- public double x;
- public double y;
- public double z;
-
-
- public Vector3d(double _x, double _y, double _z)
- {
- x = _x; y = _y; z = _z;
- }
-
- public Vector3d(Vector3d cpy)
- {
- x = cpy.x; y = cpy.y; z = cpy.z;
- }
-
-
- public Vector3d Negate()
- {
- return new Vector3d(-x, -y, -z);
- }
-
- public Vector3d Add(Vector3d rhs)
- {
- return new Vector3d(x + rhs.x, y + rhs.y, z + rhs.z);
- }
-
- public Vector3d Subtract(Vector3d rhs)
- {
- return new Vector3d(x - rhs.x, y - rhs.y, z - rhs.z);
- }
-
- public Vector3d Multiply(Vector3d rhs)
- {
- return new Vector3d(x * rhs.x, y * rhs.y, z * rhs.z);
- }
-
- public Vector3d Multiply(double s)
- {
- return new Vector3d(x * s, y * s, z * s);
- }
-
- public Vector3d Divide(Vector3d rhs)
- {
- return new Vector3d(x / rhs.x, y / rhs.y, z / rhs.z);
- }
-
- public Vector3d Divide(double s)
- {
- return new Vector3d(x / s, y / s, z / s);
- }
-
- public double Dot(Vector3d rhs)
- {
- return (x * rhs.x + y * rhs.y + z * rhs.z);
- }
-
- public Vector3d Cross(Vector3d rhs)
- {
- return new Vector3d(y * rhs.z - z * rhs.y, z * rhs.x - x * rhs.z, x * rhs.y - y * rhs.x);
- }
-
- public void Normalize()
- {
- double len = Length;
- if (len != 0.0)
- {
- x /= len; y /= len; z /= len;
- }
- }
-
- public Vector3d Normalized
- {
- get
- {
- Vector3d normed = new Vector3d(this);
- normed.Normalize();
- return normed;
- }
- }
-
- public double SquaredLength
- {
- get
- {
- return (x * x + y * y + z * z);
- }
- }
- public double Length
- {
- get
- {
- return Math.Sqrt(SquaredLength);
- }
- }
-
-
- public override string ToString()
- {
- return String.Format("<{0}, {1}, {2}>", x, y, z);
- }
-
-
- public static Vector3d operator -(Vector3d uo)
- {
- return uo.Negate();
- }
-
- public static Vector3d operator +(Vector3d lhs, Vector3d rhs)
- {
- return lhs.Add(rhs);
- }
-
- public static Vector3d operator -(Vector3d lhs, Vector3d rhs)
- {
- return lhs.Subtract(rhs);
- }
-
- public static Vector3d operator *(Vector3d lhs, Vector3d rhs)
- {
- return lhs.Multiply(rhs);
- }
-
- public static Vector3d operator *(Vector3d lhs, double rhs)
- {
- return lhs.Multiply(rhs);
- }
- public static Vector3d operator *(double lhs, Vector3d rhs)
- {
- return rhs.Multiply(lhs);
- }
-
- public static Vector3d operator /(Vector3d lhs, Vector3d rhs)
- {
- return lhs.Divide(rhs);
- }
-
- public static Vector3d operator /(Vector3d lhs, double rhs)
- {
- return lhs.Divide(rhs);
- }
-
- } // struct Vector3d
-
- public struct Quaternion
- {
-
- public float w;
- public float x;
- public float y;
- public float z;
-
-
- public Quaternion(float _w, float _x, float _y, float _z)
- {
- w = _w; x = _x; y = _y; z = _z;
- }
-
- public Quaternion(Quaternion cpy)
- {
- w = cpy.w; x = cpy.x; y = cpy.y; z = cpy.z;
- }
-
- public static readonly Quaternion Identity = new Quaternion((float)1.0, (float)0.0, (float)0.0, (float)0.0);
-
- public static Quaternion FromAxisAngle(Vector3f axis, float rads)
- {
- float halfAngle = rads * 0.5f;
- float sinHalf = (float)Math.Sin(halfAngle);
- float w = (float)Math.Cos(halfAngle);
- float x = sinHalf * axis.x;
- float y = sinHalf * axis.y;
- float z = sinHalf * axis.z;
- return new Quaternion(w, x, y, z);
- }
-
- public static Quaternion FromAxisAngle(Vector3d axis, float rads)
- {
- float halfAngle = rads * 0.5f;
- float sinHalf = (float)Math.Sin(halfAngle);
- float w = (float)Math.Cos(halfAngle);
- float x = (float)(sinHalf * axis.x);
- float y = (float)(sinHalf * axis.y);
- float z = (float)(sinHalf * axis.z);
- return new Quaternion(w, x, y, z);
- }
-
-
- public Quaternion Add(Quaternion rhs)
- {
- return new Quaternion(w + rhs.w, x + rhs.x, y + rhs.y, z + rhs.z);
- }
-
- public Quaternion Subtract(Quaternion rhs)
- {
- return new Quaternion(w - rhs.w, x - rhs.x, y - rhs.y, z - rhs.z);
- }
-
- public Quaternion Multiply(Quaternion rhs)
- {
- return new Quaternion(
- w * rhs.w - x * rhs.x - y * rhs.y - z * rhs.z,
- w * rhs.x + x * rhs.w + y * rhs.z - z * rhs.y,
- w * rhs.y + y * rhs.w + z * rhs.x - x * rhs.z,
- w * rhs.z + z * rhs.w + x * rhs.y - y * rhs.x
- );
- }
-
- public Vector3f Multiply(Vector3f rhs)
- {
- Vector3f qvec = new Vector3f(x, y, z);
- Vector3f uv = qvec.Cross(rhs);
- Vector3f uuv = qvec.Cross(uv);
- uv *= 2.0f * w;
- uuv *= 2.0f;
-
- return rhs + uv + uuv;
- }
-
- public Vector3d Multiply(Vector3d rhs)
- {
- Vector3d qvec = new Vector3d(x, y, z);
- Vector3d uv = qvec.Cross(rhs);
- Vector3d uuv = qvec.Cross(uv);
- uv *= 2.0f * w;
- uuv *= 2.0f;
-
- return rhs + uv + uuv;
- }
-
- public Quaternion Multiply(float rhs)
- {
- return new Quaternion(w * rhs, x * rhs, y * rhs, z * rhs);
- }
-
- public Quaternion Negate()
- {
- return new Quaternion(-w, -x, -y, -z);
- }
-
- public float Dot(Quaternion rhs)
- {
- return (w * rhs.w + x * rhs.x + y * rhs.y + z * rhs.z);
- }
-
- public float Norm
- {
- get
- {
- return (float)Math.Sqrt(w * w + x * x + y * y + z * z);
- }
- }
-
- public float SquareNorm
- {
- get
- {
- return (w * w + x * x + y * y + z * z);
- }
- }
-
- public void Normalize()
- {
- float len = SquareNorm;
- if (len == 0.0) return;
- float factor = 1.0f / (float)Math.Sqrt(len);
- this *= factor;
- }
-
- public Quaternion Normalized
- {
- get
- {
- Quaternion q = new Quaternion(this);
- q.Normalize();
- return q;
- }
- }
-
- public Quaternion Inverse
- {
- get
- {
- float norm = SquareNorm;
- if (norm > 0.0)
- {
- double invnorm = 1.0 / norm;
- return new Quaternion((float)(w * invnorm), (float)(-x * invnorm), (float)(-y * invnorm), (float)(-z * invnorm));
- }
- else
- return new Quaternion((float)0.0, 0.0f, 0.0f, 0.0f);
- }
- }
-
-
- public override string ToString()
- {
- return String.Format("<{0}, {1}, {2}, {3}>", w, x, y, z);
- }
-
-
-
- public static Quaternion operator -(Quaternion uo)
- {
- return uo.Negate();
- }
-
- public static Quaternion operator +(Quaternion lhs, Quaternion rhs)
- {
- return lhs.Add(rhs);
- }
-
- public static Quaternion operator -(Quaternion lhs, Quaternion rhs)
- {
- return lhs.Subtract(rhs);
- }
-
- public static Vector3f operator *(Quaternion lhs, Vector3f rhs)
- {
- return lhs.Multiply(rhs);
- }
-
- public static Vector3d operator *(Quaternion lhs, Vector3d rhs)
- {
- return lhs.Multiply(rhs);
- }
-
- public static Quaternion operator *(Quaternion lhs, Quaternion rhs)
- {
- return lhs.Multiply(rhs);
- }
-
- public static Quaternion operator *(Quaternion lhs, float rhs)
- {
- return lhs.Multiply(rhs);
- }
-
- public static Quaternion operator *(float lhs, Quaternion rhs)
- {
- return rhs.Multiply(lhs);
- }
-
- } // struct Quaternion
-
-
- public struct Vector4f
- {
-
- public float x;
- public float y;
- public float z;
- public float w;
-
-
- public Vector4f(float _x, float _y, float _z, float _w)
- {
- x = _x; y = _y; z = _z; w = _w;
- }
-
- public Vector4f(Vector4f cpy)
- {
- x = cpy.x; y = cpy.y; z = cpy.z; w = cpy.w;
- }
-
-
- public Vector4f Negate()
- {
- return new Vector4f(-x, -y, -z, -w);
- }
-
- public Vector4f Add(Vector4f rhs)
- {
- return new Vector4f(x + rhs.x, y + rhs.y, z + rhs.z, w + rhs.w);
- }
-
- public Vector4f Subtract(Vector4f rhs)
- {
- return new Vector4f(x - rhs.x, y - rhs.y, z - rhs.z, w - rhs.w);
- }
-
- public Vector4f Multiply(Vector4f rhs)
- {
- return new Vector4f(x * rhs.x, y * rhs.y, z * rhs.z, w * rhs.w);
- }
-
- public Vector4f Multiply(float s)
- {
- return new Vector4f(x * s, y * s, z * s, w * s);
- }
-
- public Vector4f Divide(Vector4f rhs)
- {
- return new Vector4f(x / rhs.x, y / rhs.y, z / rhs.z, w / rhs.w);
- }
-
- public Vector4f Divide(float s)
- {
- return new Vector4f(x / s, y / s, z / s, w / s);
- }
-
- public float Dot(Vector4f rhs)
- {
- return (x * rhs.x + y * rhs.y + z * rhs.z + w * rhs.w);
- }
-
- public void Normalize()
- {
- float len = Length;
- if (len != 0.0)
- {
- x /= len; y /= len; z /= len; w /= len;
- }
- }
-
- public Vector4f Normalized
- {
- get
- {
- Vector4f normed = new Vector4f(this);
- normed.Normalize();
- return normed;
- }
- }
-
- public float SquaredLength
- {
- get
- {
- return (x * x + y * y + z * z + w * w);
- }
- }
- public float Length
- {
- get
- {
- return (float)Math.Sqrt(SquaredLength);
- }
- }
-
-
- public override string ToString()
- {
- return String.Format("<{0}, {1}, {2}, {3}>", x, y, z, w);
- }
-
-
- public static Vector4f operator -(Vector4f uo)
- {
- return uo.Negate();
- }
-
- public static Vector4f operator +(Vector4f lhs, Vector4f rhs)
- {
- return lhs.Add(rhs);
- }
-
- public static Vector4f operator -(Vector4f lhs, Vector4f rhs)
- {
- return lhs.Subtract(rhs);
- }
-
- public static Vector4f operator *(Vector4f lhs, Vector4f rhs)
- {
- return lhs.Multiply(rhs);
- }
-
- public static Vector4f operator *(Vector4f lhs, float rhs)
- {
- return lhs.Multiply(rhs);
- }
- public static Vector4f operator *(float lhs, Vector4f rhs)
- {
- return rhs.Multiply(lhs);
- }
-
- public static Vector4f operator /(Vector4f lhs, Vector4f rhs)
- {
- return lhs.Divide(rhs);
- }
-
- public static Vector4f operator /(Vector4f lhs, float rhs)
- {
- return lhs.Divide(rhs);
- }
-
- } // struct Vector4f
-
-
-
- public struct Vector4d
- {
-
- public double x;
- public double y;
- public double z;
- public double w;
-
-
- public Vector4d(double _x, double _y, double _z, double _w)
- {
- x = _x; y = _y; z = _z; w = _w;
- }
-
- public Vector4d(Vector4d cpy)
- {
- x = cpy.x; y = cpy.y; z = cpy.z; w = cpy.w;
- }
-
-
- public Vector4d Negate()
- {
- return new Vector4d(-x, -y, -z, -w);
- }
-
- public Vector4d Add(Vector4d rhs)
- {
- return new Vector4d(x + rhs.x, y + rhs.y, z + rhs.z, w + rhs.w);
- }
-
- public Vector4d Subtract(Vector4d rhs)
- {
- return new Vector4d(x - rhs.x, y - rhs.y, z - rhs.z, w - rhs.w);
- }
-
- public Vector4d Multiply(Vector4d rhs)
- {
- return new Vector4d(x * rhs.x, y * rhs.y, z * rhs.z, w * rhs.w);
- }
-
- public Vector4d Multiply(double s)
- {
- return new Vector4d(x * s, y * s, z * s, w * s);
- }
-
- public Vector4d Divide(Vector4d rhs)
- {
- return new Vector4d(x / rhs.x, y / rhs.y, z / rhs.z, w / rhs.w);
- }
-
- public Vector4d Divide(double s)
- {
- return new Vector4d(x / s, y / s, z / s, w / s);
- }
-
- public double Dot(Vector4d rhs)
- {
- return (x * rhs.x + y * rhs.y + z * rhs.z + w * rhs.w);
- }
-
- public void Normalize()
- {
- double len = Length;
- if (len != 0.0)
- {
- x /= len; y /= len; z /= len; w /= len;
- }
- }
-
- public Vector4d Normalized
- {
- get
- {
- Vector4d normed = new Vector4d(this);
- normed.Normalize();
- return normed;
- }
- }
-
- public double SquaredLength
- {
- get
- {
- return (x * x + y * y + z * z + w * w);
- }
- }
- public double Length
- {
- get
- {
- return Math.Sqrt(SquaredLength);
- }
- }
-
-
- public override string ToString()
- {
- return String.Format("<{0}, {1}, {2}, {3}>", x, y, z, w);
- }
-
-
- public static Vector4d operator -(Vector4d uo)
- {
- return uo.Negate();
- }
-
- public static Vector4d operator +(Vector4d lhs, Vector4d rhs)
- {
- return lhs.Add(rhs);
- }
-
- public static Vector4d operator -(Vector4d lhs, Vector4d rhs)
- {
- return lhs.Subtract(rhs);
- }
-
- public static Vector4d operator *(Vector4d lhs, Vector4d rhs)
- {
- return lhs.Multiply(rhs);
- }
-
- public static Vector4d operator *(Vector4d lhs, double rhs)
- {
- return lhs.Multiply(rhs);
- }
- public static Vector4d operator *(double lhs, Vector4d rhs)
- {
- return rhs.Multiply(lhs);
- }
-
- public static Vector4d operator /(Vector4d lhs, Vector4d rhs)
- {
- return lhs.Divide(rhs);
- }
-
- public static Vector4d operator /(Vector4d lhs, double rhs)
- {
- return lhs.Divide(rhs);
- }
-
- } // struct Vector4d
-
-
-
- public struct BoundingBox3f3f
- {
- Vector3f mMin;
- Vector3f mDiag;
- public BoundingBox3f3f(float minx, float miny, float minz, float diagx, float diagy, float diagz)
- {
- mMin.x = minx;
- mMin.y = miny;
- mMin.z = minz;
-
- mDiag.x = diagx;
- mDiag.y = diagy;
- mDiag.z = diagz;
- }
- public BoundingBox3f3f(Vector3f min, Vector3f max)
- {
- mMin = min;
- mDiag = (max - min);
- }
- public BoundingBox3f3f(BoundingBox3f3f cpy, Vector3f scale)
- {
- mMin.x = (float)(cpy.mMin.x * scale.x);
- mMin.y = (float)(cpy.mMin.y * scale.y);
- mMin.z = (float)(cpy.mMin.z * scale.z);
-
- mDiag.x = (float)(cpy.mDiag.x * scale.x);
- mDiag.y = (float)(cpy.mDiag.y * scale.y);
- mDiag.z = (float)(cpy.mDiag.z * scale.z);
- }
- public Vector3f Min
- {
- get
- {
- return new Vector3f(mMin.x, mMin.y, mMin.z);
- }
- }
- public Vector3f Max
- {
- get
- {
- return new Vector3f(mMin.x + mDiag.x, mMin.y + mDiag.y, mMin.z + mDiag.z);
- }
- }
-
- public Vector3f Diag
- {
- get
- {
- return new Vector3f(mDiag.x, mDiag.y, mDiag.z);
- }
- }
-
-
- public override string ToString()
- {
- return "[" + this.Min.ToString() + " - " + this.Max.ToString() + "]";
- }
- public BoundingBox3f3f Merge(BoundingBox3f3f other)
- {
- Vector3f thisMax = Max;
- Vector3f otherMax = other.Max;
- bool xless = other.mMin.x > mMin.x;
- bool yless = other.mMin.y > mMin.y;
- bool zless = other.mMin.z > mMin.z;
-
- bool xmore = otherMax.x < thisMax.x;
- bool ymore = otherMax.y < thisMax.y;
- bool zmore = otherMax.z < thisMax.z;
- return new BoundingBox3f3f(xless ? mMin.x : other.mMin.x,
- yless ? mMin.y : other.mMin.y,
- zless ? mMin.z : other.mMin.z,
- xmore ? (xless ? mDiag.x : otherMax.x - mMin.x) : (xless ? thisMax.x - other.mMin.x : other.mDiag.x),
- ymore ? (yless ? mDiag.y : otherMax.y - mMin.y) : (yless ? thisMax.y - other.mMin.y : other.mDiag.y),
- zmore ? (zless ? mDiag.z : otherMax.z - mMin.z) : (zless ? thisMax.z - other.mMin.z : other.mDiag.z));
- }
-
- } // struct BoundingBox
-
- public struct BoundingBox3d3f
- {
- Vector3d mMin;
- Vector3f mDiag;
- public BoundingBox3d3f(double minx, double miny, double minz, float diagx, float diagy, float diagz)
- {
- mMin.x = minx;
- mMin.y = miny;
- mMin.z = minz;
-
- mDiag.x = diagx;
- mDiag.y = diagy;
- mDiag.z = diagz;
- }
- public BoundingBox3d3f(Vector3d min, Vector3f max)
- {
- mMin = min;
-
- mDiag = new Vector3f((float)(max.x - min.x),
- (float)(max.y - min.y),
- (float)(max.z - min.z));
- }
- public BoundingBox3d3f(BoundingBox3d3f cpy, Vector3d scale)
- {
- mMin.x = (double)(cpy.mMin.x * scale.x);
- mMin.y = (double)(cpy.mMin.y * scale.y);
- mMin.z = (double)(cpy.mMin.z * scale.z);
-
- mDiag.x = (float)(cpy.mDiag.x * scale.x);
- mDiag.y = (float)(cpy.mDiag.y * scale.y);
- mDiag.z = (float)(cpy.mDiag.z * scale.z);
- }
- public Vector3d Min
- {
- get
- {
- return new Vector3d(mMin.x, mMin.y, mMin.z);
- }
- }
- public Vector3d Max
- {
- get
- {
- return new Vector3d(mMin.x + mDiag.x, mMin.y + mDiag.y, mMin.z + mDiag.z);
- }
- }
-
- public Vector3d Diag
- {
- get
- {
- return new Vector3d(mDiag.x, mDiag.y, mDiag.z);
- }
- }
-
-
- public override string ToString()
- {
- return "[" + this.Min.ToString() + " - " + this.Max.ToString() + "]";
- }
- public BoundingBox3d3f Merge(BoundingBox3d3f other)
- {
- Vector3d thisMax = Max;
- Vector3d otherMax = other.Max;
- bool xless = other.mMin.x > mMin.x;
- bool yless = other.mMin.y > mMin.y;
- bool zless = other.mMin.z > mMin.z;
-
- bool xmore = otherMax.x < thisMax.x;
- bool ymore = otherMax.y < thisMax.y;
- bool zmore = otherMax.z < thisMax.z;
- return new BoundingBox3d3f(xless ? mMin.x : other.mMin.x,
- yless ? mMin.y : other.mMin.y,
- zless ? mMin.z : other.mMin.z,
- (float)(xmore ? (xless ? mDiag.x : otherMax.x - mMin.x) : (xless ? thisMax.x - other.mMin.x : other.mDiag.x)),
- (float)(ymore ? (yless ? mDiag.y : otherMax.y - mMin.y) : (yless ? thisMax.y - other.mMin.y : other.mDiag.y)),
- (float)(zmore ? (zless ? mDiag.z : otherMax.z - mMin.z) : (zless ? thisMax.z - other.mMin.z : other.mDiag.z)));
- }
-
- } // struct BoundingBox
-
-
-
-
- public struct BoundingSphere3f
- {
- Vector3f mCenter;
- float mRadius;
- public BoundingSphere3f(float x, float y, float z, float r)
- {
- mCenter = new Vector3f(x, y, z);
- mRadius = r;
- }
- public BoundingSphere3f(Vector3f center, float radius)
- {
- mCenter = center;
- mRadius = radius;
- }
- public BoundingSphere3f(BoundingSphere3f cpy, float scale)
- {
- mCenter = cpy.mCenter;
- mRadius = cpy.mRadius * scale;
- }
- public Vector3f Center
- {
- get
- {
- return new Vector3f(mCenter.x, mCenter.y, mCenter.z);
- }
- }
- public float Radius
- {
- get
- {
- return mRadius;
- }
- }
-
- public override string ToString()
- {
- return "[" + this.Center.ToString() + " : " + this.Radius.ToString() + "]";
- }
- } // struct BoundingSphere3f
-
-
-
- public struct BoundingSphere3d
- {
- Vector3d mCenter;
- float mRadius;
- public BoundingSphere3d(double x, double y, double z, float r)
- {
- mCenter.x = x;
- mCenter.y = y;
- mCenter.z = z;
- mRadius = r;
- }
- public BoundingSphere3d(Vector3d center, float radius)
- {
- mCenter = center;
- mRadius = radius;
- }
- public BoundingSphere3d(BoundingSphere3d cpy, float scale)
- {
- mCenter = cpy.mCenter;
- mRadius = cpy.mRadius * scale;
- }
- public Vector3d Center
- {
- get
- {
- return new Vector3d(mCenter.x, mCenter.y, mCenter.z);
- }
- }
- public float Radius
- {
- get
- {
- return mRadius;
- }
- }
-
- public override string ToString()
- {
- return "[" + this.Center.ToString() + " : " + this.Radius.ToString() + "]";
- }
- } // struct BoundingSphere3f
-
- public struct UUID
- {
- ulong mLowOrderBytes;
- ulong mHighOrderBytes;
-
-
- static ulong SetUUIDlow(Google.ProtocolBuffers.ByteString data, int offset)
- {
- ulong LowOrderBytes = 0;
- int shiftVal = 0;
- for (int i = 0; i < 8; ++i)
- {
- ulong temp = data[i];
- LowOrderBytes |= (temp << shiftVal);
- shiftVal += 8;
- }
- return LowOrderBytes;
- }
- static ulong SetUUIDhigh(Google.ProtocolBuffers.ByteString data)
- {
- return SetUUIDlow(data, 8);
- }
- static ulong SetUUIDlow(byte[] data, int offset)
- {
- ulong LowOrderBytes = 0;
- int shiftVal = 0;
- for (int i = 0; i < 8; ++i)
- {
- ulong temp = data[i];
- LowOrderBytes |= (temp << shiftVal);
- shiftVal += 8;
- }
- return LowOrderBytes;
- }
- static ulong SetUUIDhigh(byte[] data)
- {
- return SetUUIDlow(data, 8);
- }
- public bool SetUUID(byte[] data)
- {
- if (data.Length == 16)
- {
- mLowOrderBytes = 0;
- mHighOrderBytes = 0;
- mLowOrderBytes = SetUUIDlow(data, 0);
- mHighOrderBytes = SetUUIDlow(data, 8);
- return true;
- }
- else
- {
- return false;
- }
- }
- public byte[] GetUUID()
- {
- byte[] data = new byte[16];
- int shiftVal = 0;
- for (int i = 0; i < 8; ++i)
- {
- ulong temp = 0xff;
- temp = (mLowOrderBytes & (temp << shiftVal));
- temp = (temp >> shiftVal);
- data[i] = (byte)temp;
- shiftVal += 8;
- }
- shiftVal = 0;
- for (int i = 8; i < 16; ++i)
- {
- ulong temp = 0xff;
- temp = (mHighOrderBytes & (temp << shiftVal));
- temp = (temp >> shiftVal);
- data[i] = (byte)temp;
- shiftVal += 8;
- }
- return data;
- }
-
- public static UUID Empty = new UUID(new byte[16]);
- public UUID(byte[] data)
- {
- if (data.Length != 16)
- {
- throw new System.ArgumentException("UUIDs must be provided 16 bytes");
- }
- mLowOrderBytes = SetUUIDlow(data, 0);
- mHighOrderBytes = SetUUIDhigh(data);
- }
- public UUID(Google.ProtocolBuffers.ByteString data)
- {
- if (data.Length != 16)
- {
- throw new System.ArgumentException("UUIDs must be provided 16 bytes");
- }
- mLowOrderBytes = SetUUIDlow(data, 0);
- mHighOrderBytes = SetUUIDhigh(data);
- }
-
- }
-
-
- public struct SHA256
- {
- ulong mLowOrderBytes;
- ulong mLowMediumOrderBytes;
- ulong mMediumHighOrderBytes;
- ulong mHighOrderBytes;
-
-
- static ulong SetLMH(Google.ProtocolBuffers.ByteString data, int offset)
- {
- ulong LowOrderBytes = 0;
- int shiftVal = 0;
- for (int i = 0; i < 8; ++i)
- {
- ulong temp = data[i];
- LowOrderBytes |= (temp << shiftVal);
- shiftVal += 8;
- }
- return LowOrderBytes;
- }
- static ulong SetLow(Google.ProtocolBuffers.ByteString data)
- {
- return SetLMH(data, 0);
- }
- static ulong SetLowMedium(Google.ProtocolBuffers.ByteString data)
- {
- return SetLMH(data, 8);
- }
- static ulong SetMediumHigh(Google.ProtocolBuffers.ByteString data)
- {
- return SetLMH(data, 16);
- }
- static ulong SetHigh(Google.ProtocolBuffers.ByteString data)
- {
- return SetLMH(data, 24);
- }
- static ulong SetLMH(byte[] data, int offset)
- {
- ulong LowOrderBytes = 0;
- int shiftVal = 0;
- for (int i = 0; i < 8; ++i)
- {
- ulong temp = data[i];
- LowOrderBytes |= (temp << shiftVal);
- shiftVal += 8;
- }
- return LowOrderBytes;
- }
- static ulong SetLow(byte[] data)
- {
- return SetLMH(data, 0);
- }
- static ulong SetLowMedium(byte[] data)
- {
- return SetLMH(data, 8);
- }
- static ulong SetMediumHigh(byte[] data)
- {
- return SetLMH(data, 16);
- }
- static ulong SetHigh(byte[] data)
- {
- return SetLMH(data, 24);
- }
- public bool SetSHA256(byte[] data)
- {
- if (data.Length == 32)
- {
- mLowOrderBytes = SetLow(data);
- mLowMediumOrderBytes = SetLowMedium(data);
- mMediumHighOrderBytes = SetMediumHigh(data);
- mHighOrderBytes = SetHigh(data);
- return true;
- }
- else
- {
- return false;
- }
- }
- public byte[] GetBinaryData()
- {
- byte[] data = new byte[32];
- int shiftVal = 0;
- for (int i = 0; i < 8; ++i)
- {
- ulong temp = 0xff;
- temp = (mLowOrderBytes & (temp << shiftVal));
- temp = (temp >> shiftVal);
- data[i] = (byte)temp;
- shiftVal += 8;
- }
- shiftVal = 0;
- for (int i = 8; i < 16; ++i)
- {
- ulong temp = 0xff;
- temp = (mLowMediumOrderBytes & (temp << shiftVal));
- temp = (temp >> shiftVal);
- data[i] = (byte)temp;
- shiftVal += 8;
- }
- shiftVal = 0;
- for (int i = 16; i < 24; ++i)
- {
- ulong temp = 0xff;
- temp = (mMediumHighOrderBytes & (temp << shiftVal));
- temp = (temp >> shiftVal);
- data[i] = (byte)temp;
- shiftVal += 8;
- }
- shiftVal = 0;
- for (int i = 24; i < 32; ++i)
- {
- ulong temp = 0xff;
- temp = (mHighOrderBytes & (temp << shiftVal));
- temp = (temp >> shiftVal);
- data[i] = (byte)temp;
- shiftVal += 8;
- }
- return data;
- }
-
- public static SHA256 Empty = new SHA256(new byte[32]);
- public SHA256(byte[] data)
- {
- if (data.Length != 32)
- {
- throw new System.ArgumentException("SHA256s must be provided 32 bytes");
- }
- mLowOrderBytes = SetLow(data);
- mLowMediumOrderBytes = SetLowMedium(data);
- mMediumHighOrderBytes = SetMediumHigh(data);
- mHighOrderBytes = SetHigh(data);
- }
- public SHA256(Google.ProtocolBuffers.ByteString data)
- {
- if (data.Length != 32)
- {
- throw new System.ArgumentException("SHA256s must be provided 32 bytes");
- }
- mLowOrderBytes = SetLow(data);
- mLowMediumOrderBytes = SetLowMedium(data);
- mMediumHighOrderBytes = SetMediumHigh(data);
- mHighOrderBytes = SetHigh(data);
- }
-
- }
-
-
-
-
- public struct Time
- {
- ulong usec;
- public Time(ulong usec_since_epoch)
- {
- usec = usec_since_epoch;
- }
- public ulong toMicro()
- {
- return usec;
- }
- }
- public class Duration
- {
- long usec;
- public Duration(long time_since)
- {
- usec = time_since;
- }
- public long toMicro()
- {
- return usec;
- }
- }
-
- class _PBJ
- {
-
- public static bool ValidateBool(bool d)
- {
- return true;
- }
- public static bool ValidateDouble(double d)
- {
- return true;
- }
- public static bool ValidateFloat(float d)
- {
- return true;
- }
- public static bool ValidateUint64(ulong d)
- {
- return true;
- }
- public static bool ValidateUint32(uint d)
- {
- return true;
- }
- public static bool ValidateUint16(ushort d)
- {
- return true;
- }
- public static bool ValidateUint8(byte d)
- {
- return true;
- }
- public static bool ValidateInt64(long d)
- {
- return true;
- }
- public static bool ValidateInt32(int d)
- {
- return true;
- }
- public static bool ValidateInt16(short d)
- {
- return true;
- }
- public static bool ValidateInt8(sbyte d)
- {
- return true;
- }
- public static bool ValidateString(S input)
- {
- return true;
- }
- public static bool ValidateBytes(B input)
- {
- return true;
- }
- public static bool ValidateUuid(Google.ProtocolBuffers.ByteString input)
- {
- return input.Length == 16;
- }
- public static bool ValidateSha256(Google.ProtocolBuffers.ByteString input)
- {
- return input.Length == 32;
- }
- public static bool ValidateAngle(float input)
- {
- return input >= 0 && input <= 3.1415926536 * 2.0;
- }
- public static bool ValidateTime(ulong input)
- {
- return true;
- }
- public static bool ValidateDuration(long input)
- {
- return true;
- }
- public static bool ValidateFlags(ulong input, ulong verification)
- {
- return (input & verification) == input;
- }
-
-
-
-
- public static bool CastBool(bool d)
- {
- return d;
- }
- public static double CastDouble(double d)
- {
- return d;
- }
- public static float CastFloat(float d)
- {
- return d;
- }
- public static ulong CastUint64(ulong d)
- {
- return d;
- }
- public static uint CastUint32(uint d)
- {
- return d;
- }
- public static ushort CastUint16(ushort d)
- {
- return d;
- }
- public static byte CastUint8(byte d)
- {
- return d;
- }
- public static long CastInt64(long d)
- {
- return d;
- }
- public static int CastInt32(int d)
- {
- return d;
- }
- public static short CastInt16(short d)
- {
- return d;
- }
- public static sbyte CastInt8(sbyte d)
- {
- return d;
- }
- public static S CastString(S input)
- {
- return input;
- }
- public static B CastBytes(B input)
- {
- return input;
- }
-
-
-
- public static bool CastBool()
- {
- return false;
- }
- public static double CastDouble()
- {
- return 0;
- }
- public static float CastFloat()
- {
- return 0;
- }
- public static ulong CastUint64()
- {
- return 0;
- }
- public static uint CastUint32()
- {
- return 0;
- }
- public static ushort CastUint16()
- {
- return 0;
- }
- public static byte CastUint8()
- {
- return 0;
- }
- public static long CastInt64()
- {
- return 0;
- }
- public static int CastInt32()
- {
- return 0;
- }
- public static short CastInt16()
- {
- return 0;
- }
- public static sbyte CastInt8()
- {
- return 0;
- }
- public static string CastString()
- {
- return "";
- }
- public static Google.ProtocolBuffers.ByteString CastBytes()
- {
- return Google.ProtocolBuffers.ByteString.Empty;
- }
-
-
- public static ulong CastFlags(ulong data, ulong allFlagsOn)
- {
- return allFlagsOn & data;
- }
- public static ulong CastFlags(ulong allFlagsOn)
- {
- return 0;
- }
-
- public static Vector3f CastNormal(float x, float y)
- {
- float neg = (x > 1.5f || y > 1.5f) ? -1.0f : 1.0f;
- if (x > 1.5)
- x -= 3;
- if (y > 1.5)
- y -= 3;
- return new Vector3f(x, y, neg - neg * (float)Math.Sqrt(x * x + y * y));
- }
- public static Vector3f CastNormal()
- {
- return new Vector3f(0, 1, 0);
- }
-
-
- public static Vector2f CastVector2f(float x, float y)
- {
- return new Vector2f(x, y);
- }
- public static Vector2f CastVector2f()
- {
- return new Vector2f(0, 0);
- }
-
- public static Vector3f CastVector3f(float x, float y, float z)
- {
- return new Vector3f(x, y, z);
- }
- public static Vector3f CastVector3f()
- {
- return new Vector3f(0, 0, 0);
- }
-
- public static Vector4f CastVector4f(float x, float y, float z, float w)
- {
- return new Vector4f(x, y, z, w);
- }
- public static Vector4f CastVector4f()
- {
- return new Vector4f(0, 0, 0, 0);
- }
- public static Vector2d CastVector2d(double x, double y)
- {
- return new Vector2d(x, y);
- }
- public static Vector2d CastVector2d()
- {
- return new Vector2d(0, 0);
- }
-
- public static Vector3d CastVector3d(double x, double y, double z)
- {
- return new Vector3d(x, y, z);
- }
- public static Vector3d CastVector3d()
- {
- return new Vector3d(0, 0, 0);
- }
-
- public static Vector4d CastVector4d(double x, double y, double z, double w)
- {
- return new Vector4d(x, y, z, w);
- }
- public static Vector4d CastVector4d()
- {
- return new Vector4d(0, 0, 0, 0);
- }
-
- public static BoundingSphere3f CastBoundingsphere3f(float x, float y, float z, float r)
- {
- return new BoundingSphere3f(new Vector3f(x, y, z), r);
- }
- public static BoundingSphere3d CastBoundingsphere3d(double x, double y, double z, double r)
- {
- return new BoundingSphere3d(new Vector3d(x, y, z), (float)r);
- }
-
- public static BoundingSphere3f CastBoundingsphere3f()
- {
- return new BoundingSphere3f(new Vector3f(0, 0, 0), 0);
- }
- public static BoundingSphere3d CastBoundingsphere3d()
- {
- return new BoundingSphere3d(new Vector3d(0, 0, 0), (float)0);
- }
-
-
- public static BoundingBox3f3f CastBoundingbox3f3f(float x, float y, float z, float dx, float dy, float dz)
- {
- return new BoundingBox3f3f(x, y, z, dx, dy, dz);
- }
- public static BoundingBox3d3f CastBoundingbox3d3f(double x, double y, double z, double dx, double dy, double dz)
- {
- return new BoundingBox3d3f(x, y, z, (float)dx, (float)dy, (float)dz);
- }
-
- public static BoundingBox3f3f CastBoundingbox3f3f()
- {
- return new BoundingBox3f3f(new Vector3f(0, 0, 0), new Vector3f(0, 0, 0));
- }
- public static BoundingBox3d3f CastBoundingbox3d3f()
- {
- return new BoundingBox3d3f(0, 0, 0, 0, 0, 0);
- }
-
-
-
- public static Quaternion CastQuaternion(float x, float y, float z)
- {
- float neg = (x > 1.5 || y > 1.5 || z > 1.5) ? -1.0f : 1.0f;
- if (x > 1.5)
- x -= 3.0f;
- if (y > 1.5)
- y -= 3.0f;
- if (z > 1.5)
- z -= 3.0f;
- return new Quaternion(neg - neg * (float)Math.Sqrt(x * x + y * y + z * z), x, y, z);
- }
- public static Quaternion CastQuaternion()
- {
- return new Quaternion(1, 0, 0, 0);
- }
-
- public static UUID CastUuid(Google.ProtocolBuffers.ByteString input)
- {
- return new UUID(input);
- }
- public static SHA256 CastSha256(Google.ProtocolBuffers.ByteString input)
- {
- return new SHA256(input);
- }
- public static SHA256 CastSha256()
- {
- return SHA256.Empty;
- }
- public static UUID CastUuid()
- {
- return UUID.Empty;
- }
-
- public static float CastAngle(float d)
- {
- return d;
- }
- public static float CastAngle()
- {
- return 0;
- }
-
- public static Time CastTime(ulong t)
- {
- return new Time(t);
- }
- public static Time CastTime()
- {
- return new Time(0);
- }
- public static Duration CastDuration(long t)
- {
- return new Duration(t);
- }
- public static Duration CastDuration()
- {
- return new Duration(0);
- }
-
- public static T Construct(T retval)
- {
- return retval;
- }
- public static long Construct(Duration d)
- {
- return d.toMicro();
- }
- public static ulong Construct(Time t)
- {
- return t.toMicro();
- }
- public static Google.ProtocolBuffers.ByteString Construct(UUID u)
- {
- byte[] data = u.GetUUID();
- Google.ProtocolBuffers.ByteString retval = Google.ProtocolBuffers.ByteString.CopyFrom(data, 0, 16);
- return retval;
- }
- public static Google.ProtocolBuffers.ByteString Construct(SHA256 u)
- {
- byte[] data = u.GetBinaryData();
- Google.ProtocolBuffers.ByteString retval = Google.ProtocolBuffers.ByteString.CopyFrom(data, 0, 16);
- return retval;
- }
- public static float[] ConstructNormal(Vector3f d)
- {
- return new float[] { d.x + (d.z < 0 ? 3.0f : 0.0f), d.y };
- }
- public static float[] ConstructQuaternion(Quaternion d)
- {
- return new float[] { d.x + (d.w < 0 ? 3.0f : 0.0f), d.y, d.z };
- }
-
- public static float[] ConstructVector2f(Vector2f d)
- {
- return new float[] { d.x, d.y };
- }
- public static double[] ConstructVector2d(Vector2d d)
- {
- return new double[] { d.x, d.y };
- }
-
- public static float[] ConstructVector3f(Vector3f d)
- {
- return new float[] { d.x, d.y, d.z };
- }
- public static double[] ConstructVector3d(Vector3d d)
- {
- return new double[] { d.x, d.y, d.z };
- }
- public static float[] ConstructVector4f(Vector4f d)
- {
- return new float[] { d.x, d.y, d.z, d.w };
- }
- public static double[] ConstructVector4d(Vector4d d)
- {
- return new double[] { d.x, d.y, d.z, d.w };
- }
-
-
- public static float[] ConstructBoundingsphere3f(BoundingSphere3f d)
- {
- return new float[] { d.Center.x, d.Center.y, d.Center.z, d.Radius };
- }
- public static double[] ConstructBoundingsphere3d(BoundingSphere3d d)
- {
- return new double[] { d.Center.x, d.Center.y, d.Center.z, d.Radius };
- }
-
- public static float[] ConstructBoundingbox3f3f(BoundingBox3f3f d)
- {
- return new float[] { d.Min.x, d.Min.y, d.Min.z, d.Diag.x, d.Diag.y, d.Diag.z };
- }
- public static double[] ConstructBoundingbox3d3f(BoundingBox3d3f d)
- {
- return new double[] { d.Min.x, d.Min.y, d.Min.z, d.Diag.x, d.Diag.y, d.Diag.z };
- }
-
-
- }
-
-}
diff --git a/OpenSim/Client/Sirikata/Protocol/Persistence.cs b/OpenSim/Client/Sirikata/Protocol/Persistence.cs
deleted file mode 100644
index d8f8d33..0000000
--- a/OpenSim/Client/Sirikata/Protocol/Persistence.cs
+++ /dev/null
@@ -1,3299 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-
-using pb = global::Google.ProtocolBuffers;
-using pbc = global::Google.ProtocolBuffers.Collections;
-using pbd = global::Google.ProtocolBuffers.Descriptors;
-using scg = global::System.Collections.Generic;
-namespace Sirikata.Persistence.Protocol._PBJ_Internal {
-
- public static partial class Persistence {
-
- #region Extension registration
- public static void RegisterAllExtensions(pb::ExtensionRegistry registry) {
- }
- #endregion
- #region Static variables
- internal static pbd::MessageDescriptor internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageKey__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageKey__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageValue__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageValue__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageElement__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageElement__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_CompareElement__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_CompareElement__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageSet__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageSet__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_ReadSet__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_ReadSet__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_WriteSet__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_WriteSet__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_ReadWriteSet__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_ReadWriteSet__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_Minitransaction__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_Minitransaction__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_Response__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_Response__FieldAccessorTable;
- #endregion
- #region Descriptor
- public static pbd::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbd::FileDescriptor descriptor;
-
- static Persistence() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- "ChFQZXJzaXN0ZW5jZS5wcm90bxIrU2lyaWthdGEuUGVyc2lzdGVuY2UuUHJv" +
- "dG9jb2wuX1BCSl9JbnRlcm5hbCJHCgpTdG9yYWdlS2V5EhMKC29iamVjdF91" +
- "dWlkGAkgASgMEhAKCGZpZWxkX2lkGAogASgEEhIKCmZpZWxkX25hbWUYCyAB" +
- "KAkiHAoMU3RvcmFnZVZhbHVlEgwKBGRhdGEYDCABKAwi/gEKDlN0b3JhZ2VF" +
- "bGVtZW50EhMKC29iamVjdF91dWlkGAkgASgMEhAKCGZpZWxkX2lkGAogASgE" +
- "EhIKCmZpZWxkX25hbWUYCyABKAkSDAoEZGF0YRgMIAEoDBINCgVpbmRleBgN" +
- "IAEoBRJfCg1yZXR1cm5fc3RhdHVzGA8gASgOMkguU2lyaWthdGEuUGVyc2lz" +
- "dGVuY2UuUHJvdG9jb2wuX1BCSl9JbnRlcm5hbC5TdG9yYWdlRWxlbWVudC5S" +
- "ZXR1cm5TdGF0dXMiMwoMUmV0dXJuU3RhdHVzEg8KC0tFWV9NSVNTSU5HEAQS" +
- "EgoOSU5URVJOQUxfRVJST1IQBiLaAQoOQ29tcGFyZUVsZW1lbnQSEwoLb2Jq" +
- "ZWN0X3V1aWQYCSABKAwSEAoIZmllbGRfaWQYCiABKAQSEgoKZmllbGRfbmFt" +
- "ZRgLIAEoCRIMCgRkYXRhGAwgASgMEloKCmNvbXBhcmF0b3IYDiABKA4yRi5T" +
- "aXJpa2F0YS5QZXJzaXN0ZW5jZS5Qcm90b2NvbC5fUEJKX0ludGVybmFsLkNv" +
- "bXBhcmVFbGVtZW50LkNPTVBBUkFUT1IiIwoKQ09NUEFSQVRPUhIJCgVFUVVB" +
- "TBAAEgoKBk5FUVVBTBABIlgKClN0b3JhZ2VTZXQSSgoFcmVhZHMYCSADKAsy" +
- "Oy5TaXJpa2F0YS5QZXJzaXN0ZW5jZS5Qcm90b2NvbC5fUEJKX0ludGVybmFs" +
- "LlN0b3JhZ2VFbGVtZW50IlUKB1JlYWRTZXQSSgoFcmVhZHMYCSADKAsyOy5T" +
- "aXJpa2F0YS5QZXJzaXN0ZW5jZS5Qcm90b2NvbC5fUEJKX0ludGVybmFsLlN0" +
- "b3JhZ2VFbGVtZW50IlcKCFdyaXRlU2V0EksKBndyaXRlcxgKIAMoCzI7LlNp" +
- "cmlrYXRhLlBlcnNpc3RlbmNlLlByb3RvY29sLl9QQkpfSW50ZXJuYWwuU3Rv" +
- "cmFnZUVsZW1lbnQi5gEKDFJlYWRXcml0ZVNldBJKCgVyZWFkcxgJIAMoCzI7" +
- "LlNpcmlrYXRhLlBlcnNpc3RlbmNlLlByb3RvY29sLl9QQkpfSW50ZXJuYWwu" +
- "U3RvcmFnZUVsZW1lbnQSSwoGd3JpdGVzGAogAygLMjsuU2lyaWthdGEuUGVy" +
- "c2lzdGVuY2UuUHJvdG9jb2wuX1BCSl9JbnRlcm5hbC5TdG9yYWdlRWxlbWVu" +
- "dBIPCgdvcHRpb25zGA4gASgEIiwKE1JlYWRXcml0ZVNldE9wdGlvbnMSFQoR" +
- "UkVUVVJOX1JFQURfTkFNRVMQASK3AgoPTWluaXRyYW5zYWN0aW9uEkoKBXJl" +
- "YWRzGAkgAygLMjsuU2lyaWthdGEuUGVyc2lzdGVuY2UuUHJvdG9jb2wuX1BC" +
- "Sl9JbnRlcm5hbC5TdG9yYWdlRWxlbWVudBJLCgZ3cml0ZXMYCiADKAsyOy5T" +
- "aXJpa2F0YS5QZXJzaXN0ZW5jZS5Qcm90b2NvbC5fUEJKX0ludGVybmFsLlN0" +
- "b3JhZ2VFbGVtZW50Ek0KCGNvbXBhcmVzGAsgAygLMjsuU2lyaWthdGEuUGVy" +
- "c2lzdGVuY2UuUHJvdG9jb2wuX1BCSl9JbnRlcm5hbC5Db21wYXJlRWxlbWVu" +
- "dBIPCgdvcHRpb25zGA4gASgEIisKElRyYW5zYWN0aW9uT3B0aW9ucxIVChFS" +
- "RVRVUk5fUkVBRF9OQU1FUxABIp8CCghSZXNwb25zZRJKCgVyZWFkcxgJIAMo" +
- "CzI7LlNpcmlrYXRhLlBlcnNpc3RlbmNlLlByb3RvY29sLl9QQkpfSW50ZXJu" +
- "YWwuU3RvcmFnZUVsZW1lbnQSWQoNcmV0dXJuX3N0YXR1cxgPIAEoDjJCLlNp" +
- "cmlrYXRhLlBlcnNpc3RlbmNlLlByb3RvY29sLl9QQkpfSW50ZXJuYWwuUmVz" +
- "cG9uc2UuUmV0dXJuU3RhdHVzImwKDFJldHVyblN0YXR1cxILCgdTVUNDRVNT" +
- "EAASEwoPREFUQUJBU0VfTE9DS0VEEAMSDwoLS0VZX01JU1NJTkcQBBIVChFD" +
- "T01QQVJJU09OX0ZBSUxFRBAFEhIKDklOVEVSTkFMX0VSUk9SEAY=");
- pbd::FileDescriptor.InternalDescriptorAssigner assigner = delegate(pbd::FileDescriptor root) {
- descriptor = root;
- internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageKey__Descriptor = Descriptor.MessageTypes[0];
- internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageKey__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageKey__Descriptor,
- new string[] { "ObjectUuid", "FieldId", "FieldName", });
- internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageValue__Descriptor = Descriptor.MessageTypes[1];
- internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageValue__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageValue__Descriptor,
- new string[] { "Data", });
- internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageElement__Descriptor = Descriptor.MessageTypes[2];
- internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageElement__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageElement__Descriptor,
- new string[] { "ObjectUuid", "FieldId", "FieldName", "Data", "Index", "ReturnStatus", });
- internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_CompareElement__Descriptor = Descriptor.MessageTypes[3];
- internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_CompareElement__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_CompareElement__Descriptor,
- new string[] { "ObjectUuid", "FieldId", "FieldName", "Data", "Comparator", });
- internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageSet__Descriptor = Descriptor.MessageTypes[4];
- internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageSet__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageSet__Descriptor,
- new string[] { "Reads", });
- internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_ReadSet__Descriptor = Descriptor.MessageTypes[5];
- internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_ReadSet__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_ReadSet__Descriptor,
- new string[] { "Reads", });
- internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_WriteSet__Descriptor = Descriptor.MessageTypes[6];
- internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_WriteSet__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_WriteSet__Descriptor,
- new string[] { "Writes", });
- internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_ReadWriteSet__Descriptor = Descriptor.MessageTypes[7];
- internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_ReadWriteSet__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_ReadWriteSet__Descriptor,
- new string[] { "Reads", "Writes", "Options", });
- internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_Minitransaction__Descriptor = Descriptor.MessageTypes[8];
- internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_Minitransaction__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_Minitransaction__Descriptor,
- new string[] { "Reads", "Writes", "Compares", "Options", });
- internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_Response__Descriptor = Descriptor.MessageTypes[9];
- internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_Response__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_Response__Descriptor,
- new string[] { "Reads", "ReturnStatus", });
- return null;
- };
- pbd::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
- new pbd::FileDescriptor[] {
- }, assigner);
- }
- #endregion
-
- }
- #region Messages
- public sealed partial class StorageKey : pb::GeneratedMessage {
- private static readonly StorageKey defaultInstance = new Builder().BuildPartial();
- public static StorageKey DefaultInstance {
- get { return defaultInstance; }
- }
-
- public override StorageKey DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- protected override StorageKey ThisMessage {
- get { return this; }
- }
-
- public static pbd::MessageDescriptor Descriptor {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageKey__Descriptor; }
- }
-
- protected override pb::FieldAccess.FieldAccessorTable InternalFieldAccessors {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageKey__FieldAccessorTable; }
- }
-
- public const int ObjectUuidFieldNumber = 9;
- private bool hasObjectUuid;
- private pb::ByteString objectUuid_ = pb::ByteString.Empty;
- public bool HasObjectUuid {
- get { return hasObjectUuid; }
- }
- public pb::ByteString ObjectUuid {
- get { return objectUuid_; }
- }
-
- public const int FieldIdFieldNumber = 10;
- private bool hasFieldId;
- private ulong fieldId_ = 0UL;
- public bool HasFieldId {
- get { return hasFieldId; }
- }
- [global::System.CLSCompliant(false)]
- public ulong FieldId {
- get { return fieldId_; }
- }
-
- public const int FieldNameFieldNumber = 11;
- private bool hasFieldName;
- private string fieldName_ = "";
- public bool HasFieldName {
- get { return hasFieldName; }
- }
- public string FieldName {
- get { return fieldName_; }
- }
-
- public override bool IsInitialized {
- get {
- return true;
- }
- }
-
- public override void WriteTo(pb::CodedOutputStream output) {
- if (HasObjectUuid) {
- output.WriteBytes(9, ObjectUuid);
- }
- if (HasFieldId) {
- output.WriteUInt64(10, FieldId);
- }
- if (HasFieldName) {
- output.WriteString(11, FieldName);
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public override int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (HasObjectUuid) {
- size += pb::CodedOutputStream.ComputeBytesSize(9, ObjectUuid);
- }
- if (HasFieldId) {
- size += pb::CodedOutputStream.ComputeUInt64Size(10, FieldId);
- }
- if (HasFieldName) {
- size += pb::CodedOutputStream.ComputeStringSize(11, FieldName);
- }
- size += UnknownFields.SerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static StorageKey ParseFrom(pb::ByteString data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static StorageKey ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static StorageKey ParseFrom(byte[] data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static StorageKey ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static StorageKey ParseFrom(global::System.IO.Stream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static StorageKey ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static StorageKey ParseDelimitedFrom(global::System.IO.Stream input) {
- return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
- }
- public static StorageKey ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
- }
- public static StorageKey ParseFrom(pb::CodedInputStream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static StorageKey ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static Builder CreateBuilder() { return new Builder(); }
- public override Builder ToBuilder() { return CreateBuilder(this); }
- public override Builder CreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder(StorageKey prototype) {
- return (Builder) new Builder().MergeFrom(prototype);
- }
-
- public sealed partial class Builder : pb::GeneratedBuilder {
- protected override Builder ThisBuilder {
- get { return this; }
- }
- public Builder() {}
-
- StorageKey result = new StorageKey();
-
- protected override StorageKey MessageBeingBuilt {
- get { return result; }
- }
-
- public override Builder Clear() {
- result = new StorageKey();
- return this;
- }
-
- public override Builder Clone() {
- return new Builder().MergeFrom(result);
- }
-
- public override pbd::MessageDescriptor DescriptorForType {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageKey.Descriptor; }
- }
-
- public override StorageKey DefaultInstanceForType {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageKey.DefaultInstance; }
- }
-
- public override StorageKey BuildPartial() {
- if (result == null) {
- throw new global::System.InvalidOperationException("build() has already been called on this Builder");
- }
- StorageKey returnMe = result;
- result = null;
- return returnMe;
- }
-
- public override Builder MergeFrom(pb::IMessage other) {
- if (other is StorageKey) {
- return MergeFrom((StorageKey) other);
- } else {
- base.MergeFrom(other);
- return this;
- }
- }
-
- public override Builder MergeFrom(StorageKey other) {
- if (other == global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageKey.DefaultInstance) return this;
- if (other.HasObjectUuid) {
- ObjectUuid = other.ObjectUuid;
- }
- if (other.HasFieldId) {
- FieldId = other.FieldId;
- }
- if (other.HasFieldName) {
- FieldName = other.FieldName;
- }
- this.MergeUnknownFields(other.UnknownFields);
- return this;
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input) {
- return MergeFrom(input, pb::ExtensionRegistry.Empty);
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields = null;
- while (true) {
- uint tag = input.ReadTag();
- switch (tag) {
- case 0: {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- default: {
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- ParseUnknownField(input, unknownFields, extensionRegistry, tag);
- break;
- }
- case 74: {
- ObjectUuid = input.ReadBytes();
- break;
- }
- case 80: {
- FieldId = input.ReadUInt64();
- break;
- }
- case 90: {
- FieldName = input.ReadString();
- break;
- }
- }
- }
- }
-
-
- public bool HasObjectUuid {
- get { return result.HasObjectUuid; }
- }
- public pb::ByteString ObjectUuid {
- get { return result.ObjectUuid; }
- set { SetObjectUuid(value); }
- }
- public Builder SetObjectUuid(pb::ByteString value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.hasObjectUuid = true;
- result.objectUuid_ = value;
- return this;
- }
- public Builder ClearObjectUuid() {
- result.hasObjectUuid = false;
- result.objectUuid_ = pb::ByteString.Empty;
- return this;
- }
-
- public bool HasFieldId {
- get { return result.HasFieldId; }
- }
- [global::System.CLSCompliant(false)]
- public ulong FieldId {
- get { return result.FieldId; }
- set { SetFieldId(value); }
- }
- [global::System.CLSCompliant(false)]
- public Builder SetFieldId(ulong value) {
- result.hasFieldId = true;
- result.fieldId_ = value;
- return this;
- }
- public Builder ClearFieldId() {
- result.hasFieldId = false;
- result.fieldId_ = 0UL;
- return this;
- }
-
- public bool HasFieldName {
- get { return result.HasFieldName; }
- }
- public string FieldName {
- get { return result.FieldName; }
- set { SetFieldName(value); }
- }
- public Builder SetFieldName(string value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.hasFieldName = true;
- result.fieldName_ = value;
- return this;
- }
- public Builder ClearFieldName() {
- result.hasFieldName = false;
- result.fieldName_ = "";
- return this;
- }
- }
- static StorageKey() {
- object.ReferenceEquals(global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.Descriptor, null);
- }
- }
-
- public sealed partial class StorageValue : pb::GeneratedMessage {
- private static readonly StorageValue defaultInstance = new Builder().BuildPartial();
- public static StorageValue DefaultInstance {
- get { return defaultInstance; }
- }
-
- public override StorageValue DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- protected override StorageValue ThisMessage {
- get { return this; }
- }
-
- public static pbd::MessageDescriptor Descriptor {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageValue__Descriptor; }
- }
-
- protected override pb::FieldAccess.FieldAccessorTable InternalFieldAccessors {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageValue__FieldAccessorTable; }
- }
-
- public const int DataFieldNumber = 12;
- private bool hasData;
- private pb::ByteString data_ = pb::ByteString.Empty;
- public bool HasData {
- get { return hasData; }
- }
- public pb::ByteString Data {
- get { return data_; }
- }
-
- public override bool IsInitialized {
- get {
- return true;
- }
- }
-
- public override void WriteTo(pb::CodedOutputStream output) {
- if (HasData) {
- output.WriteBytes(12, Data);
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public override int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (HasData) {
- size += pb::CodedOutputStream.ComputeBytesSize(12, Data);
- }
- size += UnknownFields.SerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static StorageValue ParseFrom(pb::ByteString data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static StorageValue ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static StorageValue ParseFrom(byte[] data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static StorageValue ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static StorageValue ParseFrom(global::System.IO.Stream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static StorageValue ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static StorageValue ParseDelimitedFrom(global::System.IO.Stream input) {
- return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
- }
- public static StorageValue ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
- }
- public static StorageValue ParseFrom(pb::CodedInputStream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static StorageValue ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static Builder CreateBuilder() { return new Builder(); }
- public override Builder ToBuilder() { return CreateBuilder(this); }
- public override Builder CreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder(StorageValue prototype) {
- return (Builder) new Builder().MergeFrom(prototype);
- }
-
- public sealed partial class Builder : pb::GeneratedBuilder {
- protected override Builder ThisBuilder {
- get { return this; }
- }
- public Builder() {}
-
- StorageValue result = new StorageValue();
-
- protected override StorageValue MessageBeingBuilt {
- get { return result; }
- }
-
- public override Builder Clear() {
- result = new StorageValue();
- return this;
- }
-
- public override Builder Clone() {
- return new Builder().MergeFrom(result);
- }
-
- public override pbd::MessageDescriptor DescriptorForType {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageValue.Descriptor; }
- }
-
- public override StorageValue DefaultInstanceForType {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageValue.DefaultInstance; }
- }
-
- public override StorageValue BuildPartial() {
- if (result == null) {
- throw new global::System.InvalidOperationException("build() has already been called on this Builder");
- }
- StorageValue returnMe = result;
- result = null;
- return returnMe;
- }
-
- public override Builder MergeFrom(pb::IMessage other) {
- if (other is StorageValue) {
- return MergeFrom((StorageValue) other);
- } else {
- base.MergeFrom(other);
- return this;
- }
- }
-
- public override Builder MergeFrom(StorageValue other) {
- if (other == global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageValue.DefaultInstance) return this;
- if (other.HasData) {
- Data = other.Data;
- }
- this.MergeUnknownFields(other.UnknownFields);
- return this;
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input) {
- return MergeFrom(input, pb::ExtensionRegistry.Empty);
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields = null;
- while (true) {
- uint tag = input.ReadTag();
- switch (tag) {
- case 0: {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- default: {
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- ParseUnknownField(input, unknownFields, extensionRegistry, tag);
- break;
- }
- case 98: {
- Data = input.ReadBytes();
- break;
- }
- }
- }
- }
-
-
- public bool HasData {
- get { return result.HasData; }
- }
- public pb::ByteString Data {
- get { return result.Data; }
- set { SetData(value); }
- }
- public Builder SetData(pb::ByteString value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.hasData = true;
- result.data_ = value;
- return this;
- }
- public Builder ClearData() {
- result.hasData = false;
- result.data_ = pb::ByteString.Empty;
- return this;
- }
- }
- static StorageValue() {
- object.ReferenceEquals(global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.Descriptor, null);
- }
- }
-
- public sealed partial class StorageElement : pb::GeneratedMessage {
- private static readonly StorageElement defaultInstance = new Builder().BuildPartial();
- public static StorageElement DefaultInstance {
- get { return defaultInstance; }
- }
-
- public override StorageElement DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- protected override StorageElement ThisMessage {
- get { return this; }
- }
-
- public static pbd::MessageDescriptor Descriptor {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageElement__Descriptor; }
- }
-
- protected override pb::FieldAccess.FieldAccessorTable InternalFieldAccessors {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageElement__FieldAccessorTable; }
- }
-
- #region Nested types
- public static class Types {
- public enum ReturnStatus {
- KEY_MISSING = 4,
- INTERNAL_ERROR = 6,
- }
-
- }
- #endregion
-
- public const int ObjectUuidFieldNumber = 9;
- private bool hasObjectUuid;
- private pb::ByteString objectUuid_ = pb::ByteString.Empty;
- public bool HasObjectUuid {
- get { return hasObjectUuid; }
- }
- public pb::ByteString ObjectUuid {
- get { return objectUuid_; }
- }
-
- public const int FieldIdFieldNumber = 10;
- private bool hasFieldId;
- private ulong fieldId_ = 0UL;
- public bool HasFieldId {
- get { return hasFieldId; }
- }
- [global::System.CLSCompliant(false)]
- public ulong FieldId {
- get { return fieldId_; }
- }
-
- public const int FieldNameFieldNumber = 11;
- private bool hasFieldName;
- private string fieldName_ = "";
- public bool HasFieldName {
- get { return hasFieldName; }
- }
- public string FieldName {
- get { return fieldName_; }
- }
-
- public const int DataFieldNumber = 12;
- private bool hasData;
- private pb::ByteString data_ = pb::ByteString.Empty;
- public bool HasData {
- get { return hasData; }
- }
- public pb::ByteString Data {
- get { return data_; }
- }
-
- public const int IndexFieldNumber = 13;
- private bool hasIndex;
- private int index_ = 0;
- public bool HasIndex {
- get { return hasIndex; }
- }
- public int Index {
- get { return index_; }
- }
-
- public const int ReturnStatusFieldNumber = 15;
- private bool hasReturnStatus;
- private global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Types.ReturnStatus returnStatus_ = global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Types.ReturnStatus.KEY_MISSING;
- public bool HasReturnStatus {
- get { return hasReturnStatus; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Types.ReturnStatus ReturnStatus {
- get { return returnStatus_; }
- }
-
- public override bool IsInitialized {
- get {
- return true;
- }
- }
-
- public override void WriteTo(pb::CodedOutputStream output) {
- if (HasObjectUuid) {
- output.WriteBytes(9, ObjectUuid);
- }
- if (HasFieldId) {
- output.WriteUInt64(10, FieldId);
- }
- if (HasFieldName) {
- output.WriteString(11, FieldName);
- }
- if (HasData) {
- output.WriteBytes(12, Data);
- }
- if (HasIndex) {
- output.WriteInt32(13, Index);
- }
- if (HasReturnStatus) {
- output.WriteEnum(15, (int) ReturnStatus);
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public override int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (HasObjectUuid) {
- size += pb::CodedOutputStream.ComputeBytesSize(9, ObjectUuid);
- }
- if (HasFieldId) {
- size += pb::CodedOutputStream.ComputeUInt64Size(10, FieldId);
- }
- if (HasFieldName) {
- size += pb::CodedOutputStream.ComputeStringSize(11, FieldName);
- }
- if (HasData) {
- size += pb::CodedOutputStream.ComputeBytesSize(12, Data);
- }
- if (HasIndex) {
- size += pb::CodedOutputStream.ComputeInt32Size(13, Index);
- }
- if (HasReturnStatus) {
- size += pb::CodedOutputStream.ComputeEnumSize(15, (int) ReturnStatus);
- }
- size += UnknownFields.SerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static StorageElement ParseFrom(pb::ByteString data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static StorageElement ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static StorageElement ParseFrom(byte[] data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static StorageElement ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static StorageElement ParseFrom(global::System.IO.Stream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static StorageElement ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static StorageElement ParseDelimitedFrom(global::System.IO.Stream input) {
- return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
- }
- public static StorageElement ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
- }
- public static StorageElement ParseFrom(pb::CodedInputStream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static StorageElement ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static Builder CreateBuilder() { return new Builder(); }
- public override Builder ToBuilder() { return CreateBuilder(this); }
- public override Builder CreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder(StorageElement prototype) {
- return (Builder) new Builder().MergeFrom(prototype);
- }
-
- public sealed partial class Builder : pb::GeneratedBuilder {
- protected override Builder ThisBuilder {
- get { return this; }
- }
- public Builder() {}
-
- StorageElement result = new StorageElement();
-
- protected override StorageElement MessageBeingBuilt {
- get { return result; }
- }
-
- public override Builder Clear() {
- result = new StorageElement();
- return this;
- }
-
- public override Builder Clone() {
- return new Builder().MergeFrom(result);
- }
-
- public override pbd::MessageDescriptor DescriptorForType {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Descriptor; }
- }
-
- public override StorageElement DefaultInstanceForType {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.DefaultInstance; }
- }
-
- public override StorageElement BuildPartial() {
- if (result == null) {
- throw new global::System.InvalidOperationException("build() has already been called on this Builder");
- }
- StorageElement returnMe = result;
- result = null;
- return returnMe;
- }
-
- public override Builder MergeFrom(pb::IMessage other) {
- if (other is StorageElement) {
- return MergeFrom((StorageElement) other);
- } else {
- base.MergeFrom(other);
- return this;
- }
- }
-
- public override Builder MergeFrom(StorageElement other) {
- if (other == global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.DefaultInstance) return this;
- if (other.HasObjectUuid) {
- ObjectUuid = other.ObjectUuid;
- }
- if (other.HasFieldId) {
- FieldId = other.FieldId;
- }
- if (other.HasFieldName) {
- FieldName = other.FieldName;
- }
- if (other.HasData) {
- Data = other.Data;
- }
- if (other.HasIndex) {
- Index = other.Index;
- }
- if (other.HasReturnStatus) {
- ReturnStatus = other.ReturnStatus;
- }
- this.MergeUnknownFields(other.UnknownFields);
- return this;
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input) {
- return MergeFrom(input, pb::ExtensionRegistry.Empty);
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields = null;
- while (true) {
- uint tag = input.ReadTag();
- switch (tag) {
- case 0: {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- default: {
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- ParseUnknownField(input, unknownFields, extensionRegistry, tag);
- break;
- }
- case 74: {
- ObjectUuid = input.ReadBytes();
- break;
- }
- case 80: {
- FieldId = input.ReadUInt64();
- break;
- }
- case 90: {
- FieldName = input.ReadString();
- break;
- }
- case 98: {
- Data = input.ReadBytes();
- break;
- }
- case 104: {
- Index = input.ReadInt32();
- break;
- }
- case 120: {
- int rawValue = input.ReadEnum();
- if (!global::System.Enum.IsDefined(typeof(global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Types.ReturnStatus), rawValue)) {
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- unknownFields.MergeVarintField(15, (ulong) rawValue);
- } else {
- ReturnStatus = (global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Types.ReturnStatus) rawValue;
- }
- break;
- }
- }
- }
- }
-
-
- public bool HasObjectUuid {
- get { return result.HasObjectUuid; }
- }
- public pb::ByteString ObjectUuid {
- get { return result.ObjectUuid; }
- set { SetObjectUuid(value); }
- }
- public Builder SetObjectUuid(pb::ByteString value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.hasObjectUuid = true;
- result.objectUuid_ = value;
- return this;
- }
- public Builder ClearObjectUuid() {
- result.hasObjectUuid = false;
- result.objectUuid_ = pb::ByteString.Empty;
- return this;
- }
-
- public bool HasFieldId {
- get { return result.HasFieldId; }
- }
- [global::System.CLSCompliant(false)]
- public ulong FieldId {
- get { return result.FieldId; }
- set { SetFieldId(value); }
- }
- [global::System.CLSCompliant(false)]
- public Builder SetFieldId(ulong value) {
- result.hasFieldId = true;
- result.fieldId_ = value;
- return this;
- }
- public Builder ClearFieldId() {
- result.hasFieldId = false;
- result.fieldId_ = 0UL;
- return this;
- }
-
- public bool HasFieldName {
- get { return result.HasFieldName; }
- }
- public string FieldName {
- get { return result.FieldName; }
- set { SetFieldName(value); }
- }
- public Builder SetFieldName(string value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.hasFieldName = true;
- result.fieldName_ = value;
- return this;
- }
- public Builder ClearFieldName() {
- result.hasFieldName = false;
- result.fieldName_ = "";
- return this;
- }
-
- public bool HasData {
- get { return result.HasData; }
- }
- public pb::ByteString Data {
- get { return result.Data; }
- set { SetData(value); }
- }
- public Builder SetData(pb::ByteString value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.hasData = true;
- result.data_ = value;
- return this;
- }
- public Builder ClearData() {
- result.hasData = false;
- result.data_ = pb::ByteString.Empty;
- return this;
- }
-
- public bool HasIndex {
- get { return result.HasIndex; }
- }
- public int Index {
- get { return result.Index; }
- set { SetIndex(value); }
- }
- public Builder SetIndex(int value) {
- result.hasIndex = true;
- result.index_ = value;
- return this;
- }
- public Builder ClearIndex() {
- result.hasIndex = false;
- result.index_ = 0;
- return this;
- }
-
- public bool HasReturnStatus {
- get { return result.HasReturnStatus; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Types.ReturnStatus ReturnStatus {
- get { return result.ReturnStatus; }
- set { SetReturnStatus(value); }
- }
- public Builder SetReturnStatus(global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Types.ReturnStatus value) {
- result.hasReturnStatus = true;
- result.returnStatus_ = value;
- return this;
- }
- public Builder ClearReturnStatus() {
- result.hasReturnStatus = false;
- result.returnStatus_ = global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Types.ReturnStatus.KEY_MISSING;
- return this;
- }
- }
- static StorageElement() {
- object.ReferenceEquals(global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.Descriptor, null);
- }
- }
-
- public sealed partial class CompareElement : pb::GeneratedMessage {
- private static readonly CompareElement defaultInstance = new Builder().BuildPartial();
- public static CompareElement DefaultInstance {
- get { return defaultInstance; }
- }
-
- public override CompareElement DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- protected override CompareElement ThisMessage {
- get { return this; }
- }
-
- public static pbd::MessageDescriptor Descriptor {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_CompareElement__Descriptor; }
- }
-
- protected override pb::FieldAccess.FieldAccessorTable InternalFieldAccessors {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_CompareElement__FieldAccessorTable; }
- }
-
- #region Nested types
- public static class Types {
- public enum COMPARATOR {
- EQUAL = 0,
- NEQUAL = 1,
- }
-
- }
- #endregion
-
- public const int ObjectUuidFieldNumber = 9;
- private bool hasObjectUuid;
- private pb::ByteString objectUuid_ = pb::ByteString.Empty;
- public bool HasObjectUuid {
- get { return hasObjectUuid; }
- }
- public pb::ByteString ObjectUuid {
- get { return objectUuid_; }
- }
-
- public const int FieldIdFieldNumber = 10;
- private bool hasFieldId;
- private ulong fieldId_ = 0UL;
- public bool HasFieldId {
- get { return hasFieldId; }
- }
- [global::System.CLSCompliant(false)]
- public ulong FieldId {
- get { return fieldId_; }
- }
-
- public const int FieldNameFieldNumber = 11;
- private bool hasFieldName;
- private string fieldName_ = "";
- public bool HasFieldName {
- get { return hasFieldName; }
- }
- public string FieldName {
- get { return fieldName_; }
- }
-
- public const int DataFieldNumber = 12;
- private bool hasData;
- private pb::ByteString data_ = pb::ByteString.Empty;
- public bool HasData {
- get { return hasData; }
- }
- public pb::ByteString Data {
- get { return data_; }
- }
-
- public const int ComparatorFieldNumber = 14;
- private bool hasComparator;
- private global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement.Types.COMPARATOR comparator_ = global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement.Types.COMPARATOR.EQUAL;
- public bool HasComparator {
- get { return hasComparator; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement.Types.COMPARATOR Comparator {
- get { return comparator_; }
- }
-
- public override bool IsInitialized {
- get {
- return true;
- }
- }
-
- public override void WriteTo(pb::CodedOutputStream output) {
- if (HasObjectUuid) {
- output.WriteBytes(9, ObjectUuid);
- }
- if (HasFieldId) {
- output.WriteUInt64(10, FieldId);
- }
- if (HasFieldName) {
- output.WriteString(11, FieldName);
- }
- if (HasData) {
- output.WriteBytes(12, Data);
- }
- if (HasComparator) {
- output.WriteEnum(14, (int) Comparator);
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public override int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (HasObjectUuid) {
- size += pb::CodedOutputStream.ComputeBytesSize(9, ObjectUuid);
- }
- if (HasFieldId) {
- size += pb::CodedOutputStream.ComputeUInt64Size(10, FieldId);
- }
- if (HasFieldName) {
- size += pb::CodedOutputStream.ComputeStringSize(11, FieldName);
- }
- if (HasData) {
- size += pb::CodedOutputStream.ComputeBytesSize(12, Data);
- }
- if (HasComparator) {
- size += pb::CodedOutputStream.ComputeEnumSize(14, (int) Comparator);
- }
- size += UnknownFields.SerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static CompareElement ParseFrom(pb::ByteString data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static CompareElement ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static CompareElement ParseFrom(byte[] data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static CompareElement ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static CompareElement ParseFrom(global::System.IO.Stream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static CompareElement ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static CompareElement ParseDelimitedFrom(global::System.IO.Stream input) {
- return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
- }
- public static CompareElement ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
- }
- public static CompareElement ParseFrom(pb::CodedInputStream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static CompareElement ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static Builder CreateBuilder() { return new Builder(); }
- public override Builder ToBuilder() { return CreateBuilder(this); }
- public override Builder CreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder(CompareElement prototype) {
- return (Builder) new Builder().MergeFrom(prototype);
- }
-
- public sealed partial class Builder : pb::GeneratedBuilder {
- protected override Builder ThisBuilder {
- get { return this; }
- }
- public Builder() {}
-
- CompareElement result = new CompareElement();
-
- protected override CompareElement MessageBeingBuilt {
- get { return result; }
- }
-
- public override Builder Clear() {
- result = new CompareElement();
- return this;
- }
-
- public override Builder Clone() {
- return new Builder().MergeFrom(result);
- }
-
- public override pbd::MessageDescriptor DescriptorForType {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement.Descriptor; }
- }
-
- public override CompareElement DefaultInstanceForType {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement.DefaultInstance; }
- }
-
- public override CompareElement BuildPartial() {
- if (result == null) {
- throw new global::System.InvalidOperationException("build() has already been called on this Builder");
- }
- CompareElement returnMe = result;
- result = null;
- return returnMe;
- }
-
- public override Builder MergeFrom(pb::IMessage other) {
- if (other is CompareElement) {
- return MergeFrom((CompareElement) other);
- } else {
- base.MergeFrom(other);
- return this;
- }
- }
-
- public override Builder MergeFrom(CompareElement other) {
- if (other == global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement.DefaultInstance) return this;
- if (other.HasObjectUuid) {
- ObjectUuid = other.ObjectUuid;
- }
- if (other.HasFieldId) {
- FieldId = other.FieldId;
- }
- if (other.HasFieldName) {
- FieldName = other.FieldName;
- }
- if (other.HasData) {
- Data = other.Data;
- }
- if (other.HasComparator) {
- Comparator = other.Comparator;
- }
- this.MergeUnknownFields(other.UnknownFields);
- return this;
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input) {
- return MergeFrom(input, pb::ExtensionRegistry.Empty);
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields = null;
- while (true) {
- uint tag = input.ReadTag();
- switch (tag) {
- case 0: {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- default: {
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- ParseUnknownField(input, unknownFields, extensionRegistry, tag);
- break;
- }
- case 74: {
- ObjectUuid = input.ReadBytes();
- break;
- }
- case 80: {
- FieldId = input.ReadUInt64();
- break;
- }
- case 90: {
- FieldName = input.ReadString();
- break;
- }
- case 98: {
- Data = input.ReadBytes();
- break;
- }
- case 112: {
- int rawValue = input.ReadEnum();
- if (!global::System.Enum.IsDefined(typeof(global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement.Types.COMPARATOR), rawValue)) {
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- unknownFields.MergeVarintField(14, (ulong) rawValue);
- } else {
- Comparator = (global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement.Types.COMPARATOR) rawValue;
- }
- break;
- }
- }
- }
- }
-
-
- public bool HasObjectUuid {
- get { return result.HasObjectUuid; }
- }
- public pb::ByteString ObjectUuid {
- get { return result.ObjectUuid; }
- set { SetObjectUuid(value); }
- }
- public Builder SetObjectUuid(pb::ByteString value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.hasObjectUuid = true;
- result.objectUuid_ = value;
- return this;
- }
- public Builder ClearObjectUuid() {
- result.hasObjectUuid = false;
- result.objectUuid_ = pb::ByteString.Empty;
- return this;
- }
-
- public bool HasFieldId {
- get { return result.HasFieldId; }
- }
- [global::System.CLSCompliant(false)]
- public ulong FieldId {
- get { return result.FieldId; }
- set { SetFieldId(value); }
- }
- [global::System.CLSCompliant(false)]
- public Builder SetFieldId(ulong value) {
- result.hasFieldId = true;
- result.fieldId_ = value;
- return this;
- }
- public Builder ClearFieldId() {
- result.hasFieldId = false;
- result.fieldId_ = 0UL;
- return this;
- }
-
- public bool HasFieldName {
- get { return result.HasFieldName; }
- }
- public string FieldName {
- get { return result.FieldName; }
- set { SetFieldName(value); }
- }
- public Builder SetFieldName(string value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.hasFieldName = true;
- result.fieldName_ = value;
- return this;
- }
- public Builder ClearFieldName() {
- result.hasFieldName = false;
- result.fieldName_ = "";
- return this;
- }
-
- public bool HasData {
- get { return result.HasData; }
- }
- public pb::ByteString Data {
- get { return result.Data; }
- set { SetData(value); }
- }
- public Builder SetData(pb::ByteString value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.hasData = true;
- result.data_ = value;
- return this;
- }
- public Builder ClearData() {
- result.hasData = false;
- result.data_ = pb::ByteString.Empty;
- return this;
- }
-
- public bool HasComparator {
- get { return result.HasComparator; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement.Types.COMPARATOR Comparator {
- get { return result.Comparator; }
- set { SetComparator(value); }
- }
- public Builder SetComparator(global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement.Types.COMPARATOR value) {
- result.hasComparator = true;
- result.comparator_ = value;
- return this;
- }
- public Builder ClearComparator() {
- result.hasComparator = false;
- result.comparator_ = global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement.Types.COMPARATOR.EQUAL;
- return this;
- }
- }
- static CompareElement() {
- object.ReferenceEquals(global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.Descriptor, null);
- }
- }
-
- public sealed partial class StorageSet : pb::GeneratedMessage {
- private static readonly StorageSet defaultInstance = new Builder().BuildPartial();
- public static StorageSet DefaultInstance {
- get { return defaultInstance; }
- }
-
- public override StorageSet DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- protected override StorageSet ThisMessage {
- get { return this; }
- }
-
- public static pbd::MessageDescriptor Descriptor {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageSet__Descriptor; }
- }
-
- protected override pb::FieldAccess.FieldAccessorTable InternalFieldAccessors {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_StorageSet__FieldAccessorTable; }
- }
-
- public const int ReadsFieldNumber = 9;
- private pbc::PopsicleList reads_ = new pbc::PopsicleList();
- public scg::IList ReadsList {
- get { return reads_; }
- }
- public int ReadsCount {
- get { return reads_.Count; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement GetReads(int index) {
- return reads_[index];
- }
-
- public override bool IsInitialized {
- get {
- return true;
- }
- }
-
- public override void WriteTo(pb::CodedOutputStream output) {
- foreach (global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement element in ReadsList) {
- output.WriteMessage(9, element);
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public override int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- foreach (global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement element in ReadsList) {
- size += pb::CodedOutputStream.ComputeMessageSize(9, element);
- }
- size += UnknownFields.SerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static StorageSet ParseFrom(pb::ByteString data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static StorageSet ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static StorageSet ParseFrom(byte[] data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static StorageSet ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static StorageSet ParseFrom(global::System.IO.Stream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static StorageSet ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static StorageSet ParseDelimitedFrom(global::System.IO.Stream input) {
- return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
- }
- public static StorageSet ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
- }
- public static StorageSet ParseFrom(pb::CodedInputStream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static StorageSet ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static Builder CreateBuilder() { return new Builder(); }
- public override Builder ToBuilder() { return CreateBuilder(this); }
- public override Builder CreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder(StorageSet prototype) {
- return (Builder) new Builder().MergeFrom(prototype);
- }
-
- public sealed partial class Builder : pb::GeneratedBuilder {
- protected override Builder ThisBuilder {
- get { return this; }
- }
- public Builder() {}
-
- StorageSet result = new StorageSet();
-
- protected override StorageSet MessageBeingBuilt {
- get { return result; }
- }
-
- public override Builder Clear() {
- result = new StorageSet();
- return this;
- }
-
- public override Builder Clone() {
- return new Builder().MergeFrom(result);
- }
-
- public override pbd::MessageDescriptor DescriptorForType {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageSet.Descriptor; }
- }
-
- public override StorageSet DefaultInstanceForType {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageSet.DefaultInstance; }
- }
-
- public override StorageSet BuildPartial() {
- if (result == null) {
- throw new global::System.InvalidOperationException("build() has already been called on this Builder");
- }
- result.reads_.MakeReadOnly();
- StorageSet returnMe = result;
- result = null;
- return returnMe;
- }
-
- public override Builder MergeFrom(pb::IMessage other) {
- if (other is StorageSet) {
- return MergeFrom((StorageSet) other);
- } else {
- base.MergeFrom(other);
- return this;
- }
- }
-
- public override Builder MergeFrom(StorageSet other) {
- if (other == global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageSet.DefaultInstance) return this;
- if (other.reads_.Count != 0) {
- base.AddRange(other.reads_, result.reads_);
- }
- this.MergeUnknownFields(other.UnknownFields);
- return this;
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input) {
- return MergeFrom(input, pb::ExtensionRegistry.Empty);
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields = null;
- while (true) {
- uint tag = input.ReadTag();
- switch (tag) {
- case 0: {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- default: {
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- ParseUnknownField(input, unknownFields, extensionRegistry, tag);
- break;
- }
- case 74: {
- global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder subBuilder = global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.CreateBuilder();
- input.ReadMessage(subBuilder, extensionRegistry);
- AddReads(subBuilder.BuildPartial());
- break;
- }
- }
- }
- }
-
-
- public pbc::IPopsicleList ReadsList {
- get { return result.reads_; }
- }
- public int ReadsCount {
- get { return result.ReadsCount; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement GetReads(int index) {
- return result.GetReads(index);
- }
- public Builder SetReads(int index, global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.reads_[index] = value;
- return this;
- }
- public Builder SetReads(int index, global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder builderForValue) {
- pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
- result.reads_[index] = builderForValue.Build();
- return this;
- }
- public Builder AddReads(global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.reads_.Add(value);
- return this;
- }
- public Builder AddReads(global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder builderForValue) {
- pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
- result.reads_.Add(builderForValue.Build());
- return this;
- }
- public Builder AddRangeReads(scg::IEnumerable values) {
- base.AddRange(values, result.reads_);
- return this;
- }
- public Builder ClearReads() {
- result.reads_.Clear();
- return this;
- }
- }
- static StorageSet() {
- object.ReferenceEquals(global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.Descriptor, null);
- }
- }
-
- public sealed partial class ReadSet : pb::GeneratedMessage {
- private static readonly ReadSet defaultInstance = new Builder().BuildPartial();
- public static ReadSet DefaultInstance {
- get { return defaultInstance; }
- }
-
- public override ReadSet DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- protected override ReadSet ThisMessage {
- get { return this; }
- }
-
- public static pbd::MessageDescriptor Descriptor {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_ReadSet__Descriptor; }
- }
-
- protected override pb::FieldAccess.FieldAccessorTable InternalFieldAccessors {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_ReadSet__FieldAccessorTable; }
- }
-
- public const int ReadsFieldNumber = 9;
- private pbc::PopsicleList reads_ = new pbc::PopsicleList();
- public scg::IList ReadsList {
- get { return reads_; }
- }
- public int ReadsCount {
- get { return reads_.Count; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement GetReads(int index) {
- return reads_[index];
- }
-
- public override bool IsInitialized {
- get {
- return true;
- }
- }
-
- public override void WriteTo(pb::CodedOutputStream output) {
- foreach (global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement element in ReadsList) {
- output.WriteMessage(9, element);
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public override int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- foreach (global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement element in ReadsList) {
- size += pb::CodedOutputStream.ComputeMessageSize(9, element);
- }
- size += UnknownFields.SerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static ReadSet ParseFrom(pb::ByteString data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static ReadSet ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static ReadSet ParseFrom(byte[] data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static ReadSet ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static ReadSet ParseFrom(global::System.IO.Stream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static ReadSet ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static ReadSet ParseDelimitedFrom(global::System.IO.Stream input) {
- return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
- }
- public static ReadSet ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
- }
- public static ReadSet ParseFrom(pb::CodedInputStream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static ReadSet ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static Builder CreateBuilder() { return new Builder(); }
- public override Builder ToBuilder() { return CreateBuilder(this); }
- public override Builder CreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder(ReadSet prototype) {
- return (Builder) new Builder().MergeFrom(prototype);
- }
-
- public sealed partial class Builder : pb::GeneratedBuilder {
- protected override Builder ThisBuilder {
- get { return this; }
- }
- public Builder() {}
-
- ReadSet result = new ReadSet();
-
- protected override ReadSet MessageBeingBuilt {
- get { return result; }
- }
-
- public override Builder Clear() {
- result = new ReadSet();
- return this;
- }
-
- public override Builder Clone() {
- return new Builder().MergeFrom(result);
- }
-
- public override pbd::MessageDescriptor DescriptorForType {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.ReadSet.Descriptor; }
- }
-
- public override ReadSet DefaultInstanceForType {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.ReadSet.DefaultInstance; }
- }
-
- public override ReadSet BuildPartial() {
- if (result == null) {
- throw new global::System.InvalidOperationException("build() has already been called on this Builder");
- }
- result.reads_.MakeReadOnly();
- ReadSet returnMe = result;
- result = null;
- return returnMe;
- }
-
- public override Builder MergeFrom(pb::IMessage other) {
- if (other is ReadSet) {
- return MergeFrom((ReadSet) other);
- } else {
- base.MergeFrom(other);
- return this;
- }
- }
-
- public override Builder MergeFrom(ReadSet other) {
- if (other == global::Sirikata.Persistence.Protocol._PBJ_Internal.ReadSet.DefaultInstance) return this;
- if (other.reads_.Count != 0) {
- base.AddRange(other.reads_, result.reads_);
- }
- this.MergeUnknownFields(other.UnknownFields);
- return this;
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input) {
- return MergeFrom(input, pb::ExtensionRegistry.Empty);
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields = null;
- while (true) {
- uint tag = input.ReadTag();
- switch (tag) {
- case 0: {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- default: {
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- ParseUnknownField(input, unknownFields, extensionRegistry, tag);
- break;
- }
- case 74: {
- global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder subBuilder = global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.CreateBuilder();
- input.ReadMessage(subBuilder, extensionRegistry);
- AddReads(subBuilder.BuildPartial());
- break;
- }
- }
- }
- }
-
-
- public pbc::IPopsicleList ReadsList {
- get { return result.reads_; }
- }
- public int ReadsCount {
- get { return result.ReadsCount; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement GetReads(int index) {
- return result.GetReads(index);
- }
- public Builder SetReads(int index, global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.reads_[index] = value;
- return this;
- }
- public Builder SetReads(int index, global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder builderForValue) {
- pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
- result.reads_[index] = builderForValue.Build();
- return this;
- }
- public Builder AddReads(global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.reads_.Add(value);
- return this;
- }
- public Builder AddReads(global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder builderForValue) {
- pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
- result.reads_.Add(builderForValue.Build());
- return this;
- }
- public Builder AddRangeReads(scg::IEnumerable values) {
- base.AddRange(values, result.reads_);
- return this;
- }
- public Builder ClearReads() {
- result.reads_.Clear();
- return this;
- }
- }
- static ReadSet() {
- object.ReferenceEquals(global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.Descriptor, null);
- }
- }
-
- public sealed partial class WriteSet : pb::GeneratedMessage {
- private static readonly WriteSet defaultInstance = new Builder().BuildPartial();
- public static WriteSet DefaultInstance {
- get { return defaultInstance; }
- }
-
- public override WriteSet DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- protected override WriteSet ThisMessage {
- get { return this; }
- }
-
- public static pbd::MessageDescriptor Descriptor {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_WriteSet__Descriptor; }
- }
-
- protected override pb::FieldAccess.FieldAccessorTable InternalFieldAccessors {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_WriteSet__FieldAccessorTable; }
- }
-
- public const int WritesFieldNumber = 10;
- private pbc::PopsicleList writes_ = new pbc::PopsicleList();
- public scg::IList WritesList {
- get { return writes_; }
- }
- public int WritesCount {
- get { return writes_.Count; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement GetWrites(int index) {
- return writes_[index];
- }
-
- public override bool IsInitialized {
- get {
- return true;
- }
- }
-
- public override void WriteTo(pb::CodedOutputStream output) {
- foreach (global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement element in WritesList) {
- output.WriteMessage(10, element);
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public override int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- foreach (global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement element in WritesList) {
- size += pb::CodedOutputStream.ComputeMessageSize(10, element);
- }
- size += UnknownFields.SerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static WriteSet ParseFrom(pb::ByteString data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static WriteSet ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static WriteSet ParseFrom(byte[] data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static WriteSet ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static WriteSet ParseFrom(global::System.IO.Stream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static WriteSet ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static WriteSet ParseDelimitedFrom(global::System.IO.Stream input) {
- return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
- }
- public static WriteSet ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
- }
- public static WriteSet ParseFrom(pb::CodedInputStream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static WriteSet ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static Builder CreateBuilder() { return new Builder(); }
- public override Builder ToBuilder() { return CreateBuilder(this); }
- public override Builder CreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder(WriteSet prototype) {
- return (Builder) new Builder().MergeFrom(prototype);
- }
-
- public sealed partial class Builder : pb::GeneratedBuilder {
- protected override Builder ThisBuilder {
- get { return this; }
- }
- public Builder() {}
-
- WriteSet result = new WriteSet();
-
- protected override WriteSet MessageBeingBuilt {
- get { return result; }
- }
-
- public override Builder Clear() {
- result = new WriteSet();
- return this;
- }
-
- public override Builder Clone() {
- return new Builder().MergeFrom(result);
- }
-
- public override pbd::MessageDescriptor DescriptorForType {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.WriteSet.Descriptor; }
- }
-
- public override WriteSet DefaultInstanceForType {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.WriteSet.DefaultInstance; }
- }
-
- public override WriteSet BuildPartial() {
- if (result == null) {
- throw new global::System.InvalidOperationException("build() has already been called on this Builder");
- }
- result.writes_.MakeReadOnly();
- WriteSet returnMe = result;
- result = null;
- return returnMe;
- }
-
- public override Builder MergeFrom(pb::IMessage other) {
- if (other is WriteSet) {
- return MergeFrom((WriteSet) other);
- } else {
- base.MergeFrom(other);
- return this;
- }
- }
-
- public override Builder MergeFrom(WriteSet other) {
- if (other == global::Sirikata.Persistence.Protocol._PBJ_Internal.WriteSet.DefaultInstance) return this;
- if (other.writes_.Count != 0) {
- base.AddRange(other.writes_, result.writes_);
- }
- this.MergeUnknownFields(other.UnknownFields);
- return this;
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input) {
- return MergeFrom(input, pb::ExtensionRegistry.Empty);
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields = null;
- while (true) {
- uint tag = input.ReadTag();
- switch (tag) {
- case 0: {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- default: {
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- ParseUnknownField(input, unknownFields, extensionRegistry, tag);
- break;
- }
- case 82: {
- global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder subBuilder = global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.CreateBuilder();
- input.ReadMessage(subBuilder, extensionRegistry);
- AddWrites(subBuilder.BuildPartial());
- break;
- }
- }
- }
- }
-
-
- public pbc::IPopsicleList WritesList {
- get { return result.writes_; }
- }
- public int WritesCount {
- get { return result.WritesCount; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement GetWrites(int index) {
- return result.GetWrites(index);
- }
- public Builder SetWrites(int index, global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.writes_[index] = value;
- return this;
- }
- public Builder SetWrites(int index, global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder builderForValue) {
- pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
- result.writes_[index] = builderForValue.Build();
- return this;
- }
- public Builder AddWrites(global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.writes_.Add(value);
- return this;
- }
- public Builder AddWrites(global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder builderForValue) {
- pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
- result.writes_.Add(builderForValue.Build());
- return this;
- }
- public Builder AddRangeWrites(scg::IEnumerable values) {
- base.AddRange(values, result.writes_);
- return this;
- }
- public Builder ClearWrites() {
- result.writes_.Clear();
- return this;
- }
- }
- static WriteSet() {
- object.ReferenceEquals(global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.Descriptor, null);
- }
- }
-
- public sealed partial class ReadWriteSet : pb::GeneratedMessage {
- private static readonly ReadWriteSet defaultInstance = new Builder().BuildPartial();
- public static ReadWriteSet DefaultInstance {
- get { return defaultInstance; }
- }
-
- public override ReadWriteSet DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- protected override ReadWriteSet ThisMessage {
- get { return this; }
- }
-
- public static pbd::MessageDescriptor Descriptor {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_ReadWriteSet__Descriptor; }
- }
-
- protected override pb::FieldAccess.FieldAccessorTable InternalFieldAccessors {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_ReadWriteSet__FieldAccessorTable; }
- }
-
- #region Nested types
- public static class Types {
- public enum ReadWriteSetOptions {
- RETURN_READ_NAMES = 1,
- }
-
- }
- #endregion
-
- public const int ReadsFieldNumber = 9;
- private pbc::PopsicleList reads_ = new pbc::PopsicleList();
- public scg::IList ReadsList {
- get { return reads_; }
- }
- public int ReadsCount {
- get { return reads_.Count; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement GetReads(int index) {
- return reads_[index];
- }
-
- public const int WritesFieldNumber = 10;
- private pbc::PopsicleList writes_ = new pbc::PopsicleList();
- public scg::IList WritesList {
- get { return writes_; }
- }
- public int WritesCount {
- get { return writes_.Count; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement GetWrites(int index) {
- return writes_[index];
- }
-
- public const int OptionsFieldNumber = 14;
- private bool hasOptions;
- private ulong options_ = 0UL;
- public bool HasOptions {
- get { return hasOptions; }
- }
- [global::System.CLSCompliant(false)]
- public ulong Options {
- get { return options_; }
- }
-
- public override bool IsInitialized {
- get {
- return true;
- }
- }
-
- public override void WriteTo(pb::CodedOutputStream output) {
- foreach (global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement element in ReadsList) {
- output.WriteMessage(9, element);
- }
- foreach (global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement element in WritesList) {
- output.WriteMessage(10, element);
- }
- if (HasOptions) {
- output.WriteUInt64(14, Options);
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public override int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- foreach (global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement element in ReadsList) {
- size += pb::CodedOutputStream.ComputeMessageSize(9, element);
- }
- foreach (global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement element in WritesList) {
- size += pb::CodedOutputStream.ComputeMessageSize(10, element);
- }
- if (HasOptions) {
- size += pb::CodedOutputStream.ComputeUInt64Size(14, Options);
- }
- size += UnknownFields.SerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static ReadWriteSet ParseFrom(pb::ByteString data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static ReadWriteSet ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static ReadWriteSet ParseFrom(byte[] data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static ReadWriteSet ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static ReadWriteSet ParseFrom(global::System.IO.Stream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static ReadWriteSet ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static ReadWriteSet ParseDelimitedFrom(global::System.IO.Stream input) {
- return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
- }
- public static ReadWriteSet ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
- }
- public static ReadWriteSet ParseFrom(pb::CodedInputStream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static ReadWriteSet ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static Builder CreateBuilder() { return new Builder(); }
- public override Builder ToBuilder() { return CreateBuilder(this); }
- public override Builder CreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder(ReadWriteSet prototype) {
- return (Builder) new Builder().MergeFrom(prototype);
- }
-
- public sealed partial class Builder : pb::GeneratedBuilder {
- protected override Builder ThisBuilder {
- get { return this; }
- }
- public Builder() {}
-
- ReadWriteSet result = new ReadWriteSet();
-
- protected override ReadWriteSet MessageBeingBuilt {
- get { return result; }
- }
-
- public override Builder Clear() {
- result = new ReadWriteSet();
- return this;
- }
-
- public override Builder Clone() {
- return new Builder().MergeFrom(result);
- }
-
- public override pbd::MessageDescriptor DescriptorForType {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.ReadWriteSet.Descriptor; }
- }
-
- public override ReadWriteSet DefaultInstanceForType {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.ReadWriteSet.DefaultInstance; }
- }
-
- public override ReadWriteSet BuildPartial() {
- if (result == null) {
- throw new global::System.InvalidOperationException("build() has already been called on this Builder");
- }
- result.reads_.MakeReadOnly();
- result.writes_.MakeReadOnly();
- ReadWriteSet returnMe = result;
- result = null;
- return returnMe;
- }
-
- public override Builder MergeFrom(pb::IMessage other) {
- if (other is ReadWriteSet) {
- return MergeFrom((ReadWriteSet) other);
- } else {
- base.MergeFrom(other);
- return this;
- }
- }
-
- public override Builder MergeFrom(ReadWriteSet other) {
- if (other == global::Sirikata.Persistence.Protocol._PBJ_Internal.ReadWriteSet.DefaultInstance) return this;
- if (other.reads_.Count != 0) {
- base.AddRange(other.reads_, result.reads_);
- }
- if (other.writes_.Count != 0) {
- base.AddRange(other.writes_, result.writes_);
- }
- if (other.HasOptions) {
- Options = other.Options;
- }
- this.MergeUnknownFields(other.UnknownFields);
- return this;
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input) {
- return MergeFrom(input, pb::ExtensionRegistry.Empty);
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields = null;
- while (true) {
- uint tag = input.ReadTag();
- switch (tag) {
- case 0: {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- default: {
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- ParseUnknownField(input, unknownFields, extensionRegistry, tag);
- break;
- }
- case 74: {
- global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder subBuilder = global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.CreateBuilder();
- input.ReadMessage(subBuilder, extensionRegistry);
- AddReads(subBuilder.BuildPartial());
- break;
- }
- case 82: {
- global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder subBuilder = global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.CreateBuilder();
- input.ReadMessage(subBuilder, extensionRegistry);
- AddWrites(subBuilder.BuildPartial());
- break;
- }
- case 112: {
- Options = input.ReadUInt64();
- break;
- }
- }
- }
- }
-
-
- public pbc::IPopsicleList ReadsList {
- get { return result.reads_; }
- }
- public int ReadsCount {
- get { return result.ReadsCount; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement GetReads(int index) {
- return result.GetReads(index);
- }
- public Builder SetReads(int index, global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.reads_[index] = value;
- return this;
- }
- public Builder SetReads(int index, global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder builderForValue) {
- pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
- result.reads_[index] = builderForValue.Build();
- return this;
- }
- public Builder AddReads(global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.reads_.Add(value);
- return this;
- }
- public Builder AddReads(global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder builderForValue) {
- pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
- result.reads_.Add(builderForValue.Build());
- return this;
- }
- public Builder AddRangeReads(scg::IEnumerable values) {
- base.AddRange(values, result.reads_);
- return this;
- }
- public Builder ClearReads() {
- result.reads_.Clear();
- return this;
- }
-
- public pbc::IPopsicleList WritesList {
- get { return result.writes_; }
- }
- public int WritesCount {
- get { return result.WritesCount; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement GetWrites(int index) {
- return result.GetWrites(index);
- }
- public Builder SetWrites(int index, global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.writes_[index] = value;
- return this;
- }
- public Builder SetWrites(int index, global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder builderForValue) {
- pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
- result.writes_[index] = builderForValue.Build();
- return this;
- }
- public Builder AddWrites(global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.writes_.Add(value);
- return this;
- }
- public Builder AddWrites(global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder builderForValue) {
- pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
- result.writes_.Add(builderForValue.Build());
- return this;
- }
- public Builder AddRangeWrites(scg::IEnumerable values) {
- base.AddRange(values, result.writes_);
- return this;
- }
- public Builder ClearWrites() {
- result.writes_.Clear();
- return this;
- }
-
- public bool HasOptions {
- get { return result.HasOptions; }
- }
- [global::System.CLSCompliant(false)]
- public ulong Options {
- get { return result.Options; }
- set { SetOptions(value); }
- }
- [global::System.CLSCompliant(false)]
- public Builder SetOptions(ulong value) {
- result.hasOptions = true;
- result.options_ = value;
- return this;
- }
- public Builder ClearOptions() {
- result.hasOptions = false;
- result.options_ = 0UL;
- return this;
- }
- }
- static ReadWriteSet() {
- object.ReferenceEquals(global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.Descriptor, null);
- }
- }
-
- public sealed partial class Minitransaction : pb::GeneratedMessage {
- private static readonly Minitransaction defaultInstance = new Builder().BuildPartial();
- public static Minitransaction DefaultInstance {
- get { return defaultInstance; }
- }
-
- public override Minitransaction DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- protected override Minitransaction ThisMessage {
- get { return this; }
- }
-
- public static pbd::MessageDescriptor Descriptor {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_Minitransaction__Descriptor; }
- }
-
- protected override pb::FieldAccess.FieldAccessorTable InternalFieldAccessors {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_Minitransaction__FieldAccessorTable; }
- }
-
- #region Nested types
- public static class Types {
- public enum TransactionOptions {
- RETURN_READ_NAMES = 1,
- }
-
- }
- #endregion
-
- public const int ReadsFieldNumber = 9;
- private pbc::PopsicleList reads_ = new pbc::PopsicleList();
- public scg::IList ReadsList {
- get { return reads_; }
- }
- public int ReadsCount {
- get { return reads_.Count; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement GetReads(int index) {
- return reads_[index];
- }
-
- public const int WritesFieldNumber = 10;
- private pbc::PopsicleList writes_ = new pbc::PopsicleList();
- public scg::IList WritesList {
- get { return writes_; }
- }
- public int WritesCount {
- get { return writes_.Count; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement GetWrites(int index) {
- return writes_[index];
- }
-
- public const int ComparesFieldNumber = 11;
- private pbc::PopsicleList compares_ = new pbc::PopsicleList();
- public scg::IList ComparesList {
- get { return compares_; }
- }
- public int ComparesCount {
- get { return compares_.Count; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement GetCompares(int index) {
- return compares_[index];
- }
-
- public const int OptionsFieldNumber = 14;
- private bool hasOptions;
- private ulong options_ = 0UL;
- public bool HasOptions {
- get { return hasOptions; }
- }
- [global::System.CLSCompliant(false)]
- public ulong Options {
- get { return options_; }
- }
-
- public override bool IsInitialized {
- get {
- return true;
- }
- }
-
- public override void WriteTo(pb::CodedOutputStream output) {
- foreach (global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement element in ReadsList) {
- output.WriteMessage(9, element);
- }
- foreach (global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement element in WritesList) {
- output.WriteMessage(10, element);
- }
- foreach (global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement element in ComparesList) {
- output.WriteMessage(11, element);
- }
- if (HasOptions) {
- output.WriteUInt64(14, Options);
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public override int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- foreach (global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement element in ReadsList) {
- size += pb::CodedOutputStream.ComputeMessageSize(9, element);
- }
- foreach (global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement element in WritesList) {
- size += pb::CodedOutputStream.ComputeMessageSize(10, element);
- }
- foreach (global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement element in ComparesList) {
- size += pb::CodedOutputStream.ComputeMessageSize(11, element);
- }
- if (HasOptions) {
- size += pb::CodedOutputStream.ComputeUInt64Size(14, Options);
- }
- size += UnknownFields.SerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static Minitransaction ParseFrom(pb::ByteString data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static Minitransaction ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static Minitransaction ParseFrom(byte[] data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static Minitransaction ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static Minitransaction ParseFrom(global::System.IO.Stream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static Minitransaction ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static Minitransaction ParseDelimitedFrom(global::System.IO.Stream input) {
- return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
- }
- public static Minitransaction ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
- }
- public static Minitransaction ParseFrom(pb::CodedInputStream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static Minitransaction ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static Builder CreateBuilder() { return new Builder(); }
- public override Builder ToBuilder() { return CreateBuilder(this); }
- public override Builder CreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder(Minitransaction prototype) {
- return (Builder) new Builder().MergeFrom(prototype);
- }
-
- public sealed partial class Builder : pb::GeneratedBuilder {
- protected override Builder ThisBuilder {
- get { return this; }
- }
- public Builder() {}
-
- Minitransaction result = new Minitransaction();
-
- protected override Minitransaction MessageBeingBuilt {
- get { return result; }
- }
-
- public override Builder Clear() {
- result = new Minitransaction();
- return this;
- }
-
- public override Builder Clone() {
- return new Builder().MergeFrom(result);
- }
-
- public override pbd::MessageDescriptor DescriptorForType {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Minitransaction.Descriptor; }
- }
-
- public override Minitransaction DefaultInstanceForType {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Minitransaction.DefaultInstance; }
- }
-
- public override Minitransaction BuildPartial() {
- if (result == null) {
- throw new global::System.InvalidOperationException("build() has already been called on this Builder");
- }
- result.reads_.MakeReadOnly();
- result.writes_.MakeReadOnly();
- result.compares_.MakeReadOnly();
- Minitransaction returnMe = result;
- result = null;
- return returnMe;
- }
-
- public override Builder MergeFrom(pb::IMessage other) {
- if (other is Minitransaction) {
- return MergeFrom((Minitransaction) other);
- } else {
- base.MergeFrom(other);
- return this;
- }
- }
-
- public override Builder MergeFrom(Minitransaction other) {
- if (other == global::Sirikata.Persistence.Protocol._PBJ_Internal.Minitransaction.DefaultInstance) return this;
- if (other.reads_.Count != 0) {
- base.AddRange(other.reads_, result.reads_);
- }
- if (other.writes_.Count != 0) {
- base.AddRange(other.writes_, result.writes_);
- }
- if (other.compares_.Count != 0) {
- base.AddRange(other.compares_, result.compares_);
- }
- if (other.HasOptions) {
- Options = other.Options;
- }
- this.MergeUnknownFields(other.UnknownFields);
- return this;
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input) {
- return MergeFrom(input, pb::ExtensionRegistry.Empty);
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields = null;
- while (true) {
- uint tag = input.ReadTag();
- switch (tag) {
- case 0: {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- default: {
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- ParseUnknownField(input, unknownFields, extensionRegistry, tag);
- break;
- }
- case 74: {
- global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder subBuilder = global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.CreateBuilder();
- input.ReadMessage(subBuilder, extensionRegistry);
- AddReads(subBuilder.BuildPartial());
- break;
- }
- case 82: {
- global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder subBuilder = global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.CreateBuilder();
- input.ReadMessage(subBuilder, extensionRegistry);
- AddWrites(subBuilder.BuildPartial());
- break;
- }
- case 90: {
- global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement.Builder subBuilder = global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement.CreateBuilder();
- input.ReadMessage(subBuilder, extensionRegistry);
- AddCompares(subBuilder.BuildPartial());
- break;
- }
- case 112: {
- Options = input.ReadUInt64();
- break;
- }
- }
- }
- }
-
-
- public pbc::IPopsicleList ReadsList {
- get { return result.reads_; }
- }
- public int ReadsCount {
- get { return result.ReadsCount; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement GetReads(int index) {
- return result.GetReads(index);
- }
- public Builder SetReads(int index, global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.reads_[index] = value;
- return this;
- }
- public Builder SetReads(int index, global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder builderForValue) {
- pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
- result.reads_[index] = builderForValue.Build();
- return this;
- }
- public Builder AddReads(global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.reads_.Add(value);
- return this;
- }
- public Builder AddReads(global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder builderForValue) {
- pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
- result.reads_.Add(builderForValue.Build());
- return this;
- }
- public Builder AddRangeReads(scg::IEnumerable values) {
- base.AddRange(values, result.reads_);
- return this;
- }
- public Builder ClearReads() {
- result.reads_.Clear();
- return this;
- }
-
- public pbc::IPopsicleList WritesList {
- get { return result.writes_; }
- }
- public int WritesCount {
- get { return result.WritesCount; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement GetWrites(int index) {
- return result.GetWrites(index);
- }
- public Builder SetWrites(int index, global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.writes_[index] = value;
- return this;
- }
- public Builder SetWrites(int index, global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder builderForValue) {
- pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
- result.writes_[index] = builderForValue.Build();
- return this;
- }
- public Builder AddWrites(global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.writes_.Add(value);
- return this;
- }
- public Builder AddWrites(global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder builderForValue) {
- pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
- result.writes_.Add(builderForValue.Build());
- return this;
- }
- public Builder AddRangeWrites(scg::IEnumerable values) {
- base.AddRange(values, result.writes_);
- return this;
- }
- public Builder ClearWrites() {
- result.writes_.Clear();
- return this;
- }
-
- public pbc::IPopsicleList ComparesList {
- get { return result.compares_; }
- }
- public int ComparesCount {
- get { return result.ComparesCount; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement GetCompares(int index) {
- return result.GetCompares(index);
- }
- public Builder SetCompares(int index, global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.compares_[index] = value;
- return this;
- }
- public Builder SetCompares(int index, global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement.Builder builderForValue) {
- pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
- result.compares_[index] = builderForValue.Build();
- return this;
- }
- public Builder AddCompares(global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.compares_.Add(value);
- return this;
- }
- public Builder AddCompares(global::Sirikata.Persistence.Protocol._PBJ_Internal.CompareElement.Builder builderForValue) {
- pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
- result.compares_.Add(builderForValue.Build());
- return this;
- }
- public Builder AddRangeCompares(scg::IEnumerable values) {
- base.AddRange(values, result.compares_);
- return this;
- }
- public Builder ClearCompares() {
- result.compares_.Clear();
- return this;
- }
-
- public bool HasOptions {
- get { return result.HasOptions; }
- }
- [global::System.CLSCompliant(false)]
- public ulong Options {
- get { return result.Options; }
- set { SetOptions(value); }
- }
- [global::System.CLSCompliant(false)]
- public Builder SetOptions(ulong value) {
- result.hasOptions = true;
- result.options_ = value;
- return this;
- }
- public Builder ClearOptions() {
- result.hasOptions = false;
- result.options_ = 0UL;
- return this;
- }
- }
- static Minitransaction() {
- object.ReferenceEquals(global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.Descriptor, null);
- }
- }
-
- public sealed partial class Response : pb::GeneratedMessage {
- private static readonly Response defaultInstance = new Builder().BuildPartial();
- public static Response DefaultInstance {
- get { return defaultInstance; }
- }
-
- public override Response DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- protected override Response ThisMessage {
- get { return this; }
- }
-
- public static pbd::MessageDescriptor Descriptor {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_Response__Descriptor; }
- }
-
- protected override pb::FieldAccess.FieldAccessorTable InternalFieldAccessors {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.internal__static_Sirikata_Persistence_Protocol__PBJ_Internal_Response__FieldAccessorTable; }
- }
-
- #region Nested types
- public static class Types {
- public enum ReturnStatus {
- SUCCESS = 0,
- DATABASE_LOCKED = 3,
- KEY_MISSING = 4,
- COMPARISON_FAILED = 5,
- INTERNAL_ERROR = 6,
- }
-
- }
- #endregion
-
- public const int ReadsFieldNumber = 9;
- private pbc::PopsicleList reads_ = new pbc::PopsicleList();
- public scg::IList ReadsList {
- get { return reads_; }
- }
- public int ReadsCount {
- get { return reads_.Count; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement GetReads(int index) {
- return reads_[index];
- }
-
- public const int ReturnStatusFieldNumber = 15;
- private bool hasReturnStatus;
- private global::Sirikata.Persistence.Protocol._PBJ_Internal.Response.Types.ReturnStatus returnStatus_ = global::Sirikata.Persistence.Protocol._PBJ_Internal.Response.Types.ReturnStatus.SUCCESS;
- public bool HasReturnStatus {
- get { return hasReturnStatus; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.Response.Types.ReturnStatus ReturnStatus {
- get { return returnStatus_; }
- }
-
- public override bool IsInitialized {
- get {
- return true;
- }
- }
-
- public override void WriteTo(pb::CodedOutputStream output) {
- foreach (global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement element in ReadsList) {
- output.WriteMessage(9, element);
- }
- if (HasReturnStatus) {
- output.WriteEnum(15, (int) ReturnStatus);
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public override int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- foreach (global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement element in ReadsList) {
- size += pb::CodedOutputStream.ComputeMessageSize(9, element);
- }
- if (HasReturnStatus) {
- size += pb::CodedOutputStream.ComputeEnumSize(15, (int) ReturnStatus);
- }
- size += UnknownFields.SerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static Response ParseFrom(pb::ByteString data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static Response ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static Response ParseFrom(byte[] data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static Response ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static Response ParseFrom(global::System.IO.Stream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static Response ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static Response ParseDelimitedFrom(global::System.IO.Stream input) {
- return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
- }
- public static Response ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
- }
- public static Response ParseFrom(pb::CodedInputStream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static Response ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static Builder CreateBuilder() { return new Builder(); }
- public override Builder ToBuilder() { return CreateBuilder(this); }
- public override Builder CreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder(Response prototype) {
- return (Builder) new Builder().MergeFrom(prototype);
- }
-
- public sealed partial class Builder : pb::GeneratedBuilder {
- protected override Builder ThisBuilder {
- get { return this; }
- }
- public Builder() {}
-
- Response result = new Response();
-
- protected override Response MessageBeingBuilt {
- get { return result; }
- }
-
- public override Builder Clear() {
- result = new Response();
- return this;
- }
-
- public override Builder Clone() {
- return new Builder().MergeFrom(result);
- }
-
- public override pbd::MessageDescriptor DescriptorForType {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Response.Descriptor; }
- }
-
- public override Response DefaultInstanceForType {
- get { return global::Sirikata.Persistence.Protocol._PBJ_Internal.Response.DefaultInstance; }
- }
-
- public override Response BuildPartial() {
- if (result == null) {
- throw new global::System.InvalidOperationException("build() has already been called on this Builder");
- }
- result.reads_.MakeReadOnly();
- Response returnMe = result;
- result = null;
- return returnMe;
- }
-
- public override Builder MergeFrom(pb::IMessage other) {
- if (other is Response) {
- return MergeFrom((Response) other);
- } else {
- base.MergeFrom(other);
- return this;
- }
- }
-
- public override Builder MergeFrom(Response other) {
- if (other == global::Sirikata.Persistence.Protocol._PBJ_Internal.Response.DefaultInstance) return this;
- if (other.reads_.Count != 0) {
- base.AddRange(other.reads_, result.reads_);
- }
- if (other.HasReturnStatus) {
- ReturnStatus = other.ReturnStatus;
- }
- this.MergeUnknownFields(other.UnknownFields);
- return this;
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input) {
- return MergeFrom(input, pb::ExtensionRegistry.Empty);
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields = null;
- while (true) {
- uint tag = input.ReadTag();
- switch (tag) {
- case 0: {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- default: {
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- ParseUnknownField(input, unknownFields, extensionRegistry, tag);
- break;
- }
- case 74: {
- global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder subBuilder = global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.CreateBuilder();
- input.ReadMessage(subBuilder, extensionRegistry);
- AddReads(subBuilder.BuildPartial());
- break;
- }
- case 120: {
- int rawValue = input.ReadEnum();
- if (!global::System.Enum.IsDefined(typeof(global::Sirikata.Persistence.Protocol._PBJ_Internal.Response.Types.ReturnStatus), rawValue)) {
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- unknownFields.MergeVarintField(15, (ulong) rawValue);
- } else {
- ReturnStatus = (global::Sirikata.Persistence.Protocol._PBJ_Internal.Response.Types.ReturnStatus) rawValue;
- }
- break;
- }
- }
- }
- }
-
-
- public pbc::IPopsicleList ReadsList {
- get { return result.reads_; }
- }
- public int ReadsCount {
- get { return result.ReadsCount; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement GetReads(int index) {
- return result.GetReads(index);
- }
- public Builder SetReads(int index, global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.reads_[index] = value;
- return this;
- }
- public Builder SetReads(int index, global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder builderForValue) {
- pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
- result.reads_[index] = builderForValue.Build();
- return this;
- }
- public Builder AddReads(global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.reads_.Add(value);
- return this;
- }
- public Builder AddReads(global::Sirikata.Persistence.Protocol._PBJ_Internal.StorageElement.Builder builderForValue) {
- pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
- result.reads_.Add(builderForValue.Build());
- return this;
- }
- public Builder AddRangeReads(scg::IEnumerable values) {
- base.AddRange(values, result.reads_);
- return this;
- }
- public Builder ClearReads() {
- result.reads_.Clear();
- return this;
- }
-
- public bool HasReturnStatus {
- get { return result.HasReturnStatus; }
- }
- public global::Sirikata.Persistence.Protocol._PBJ_Internal.Response.Types.ReturnStatus ReturnStatus {
- get { return result.ReturnStatus; }
- set { SetReturnStatus(value); }
- }
- public Builder SetReturnStatus(global::Sirikata.Persistence.Protocol._PBJ_Internal.Response.Types.ReturnStatus value) {
- result.hasReturnStatus = true;
- result.returnStatus_ = value;
- return this;
- }
- public Builder ClearReturnStatus() {
- result.hasReturnStatus = false;
- result.returnStatus_ = global::Sirikata.Persistence.Protocol._PBJ_Internal.Response.Types.ReturnStatus.SUCCESS;
- return this;
- }
- }
- static Response() {
- object.ReferenceEquals(global::Sirikata.Persistence.Protocol._PBJ_Internal.Persistence.Descriptor, null);
- }
- }
-
- #endregion
-
-}
diff --git a/OpenSim/Client/Sirikata/Protocol/Persistence.pbj.cs b/OpenSim/Client/Sirikata/Protocol/Persistence.pbj.cs
deleted file mode 100644
index 196b0b9..0000000
--- a/OpenSim/Client/Sirikata/Protocol/Persistence.pbj.cs
+++ /dev/null
@@ -1,1543 +0,0 @@
-/*
- * Copyright (c) Contributors, http://opensimulator.org/
- * See CONTRIBUTORS.TXT for a full list of copyright holders.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * * Neither the name of the OpenSimulator Project nor the
- * names of its contributors may be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-using pbd = global::Google.ProtocolBuffers.Descriptors;
-using pb = global::Google.ProtocolBuffers;
-namespace Sirikata.Persistence.Protocol {
- public class StorageKey : PBJ.IMessage {
- protected _PBJ_Internal.StorageKey super;
- public _PBJ_Internal.StorageKey _PBJSuper{ get { return super;} }
- public StorageKey() {
- super=new _PBJ_Internal.StorageKey();
- }
- public StorageKey(_PBJ_Internal.StorageKey reference) {
- super=reference;
- }
- public static StorageKey defaultInstance= new StorageKey (_PBJ_Internal.StorageKey.DefaultInstance);
- public static StorageKey DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.StorageKey.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ObjectUuidFieldTag=9;
- public bool HasObjectUuid{ get {return super.HasObjectUuid&&PBJ._PBJ.ValidateUuid(super.ObjectUuid);} }
- public PBJ.UUID ObjectUuid{ get {
- if (HasObjectUuid) {
- return PBJ._PBJ.CastUuid(super.ObjectUuid);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public const int FieldIdFieldTag=10;
- public bool HasFieldId{ get {return super.HasFieldId&&PBJ._PBJ.ValidateUint64(super.FieldId);} }
- public ulong FieldId{ get {
- if (HasFieldId) {
- return PBJ._PBJ.CastUint64(super.FieldId);
- } else {
- return PBJ._PBJ.CastUint64();
- }
- }
- }
- public const int FieldNameFieldTag=11;
- public bool HasFieldName{ get {return super.HasFieldName&&PBJ._PBJ.ValidateString(super.FieldName);} }
- public string FieldName{ get {
- if (HasFieldName) {
- return PBJ._PBJ.CastString(super.FieldName);
- } else {
- return PBJ._PBJ.CastString();
- }
- }
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(StorageKey prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static StorageKey ParseFrom(pb::ByteString data) {
- return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data));
- }
- public static StorageKey ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data,er));
- }
- public static StorageKey ParseFrom(byte[] data) {
- return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data));
- }
- public static StorageKey ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data,er));
- }
- public static StorageKey ParseFrom(global::System.IO.Stream data) {
- return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data));
- }
- public static StorageKey ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data,er));
- }
- public static StorageKey ParseFrom(pb::CodedInputStream data) {
- return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data));
- }
- public static StorageKey ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new StorageKey(_PBJ_Internal.StorageKey.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.StorageKey.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.StorageKey.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.StorageKey.Builder();}
- public Builder(_PBJ_Internal.StorageKey.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(StorageKey prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public StorageKey BuildPartial() {return new StorageKey(super.BuildPartial());}
- public StorageKey Build() {if (_HasAllPBJFields) return new StorageKey(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return StorageKey.Descriptor; } }
- public Builder ClearObjectUuid() { super.ClearObjectUuid();return this;}
- public const int ObjectUuidFieldTag=9;
- public bool HasObjectUuid{ get {return super.HasObjectUuid&&PBJ._PBJ.ValidateUuid(super.ObjectUuid);} }
- public PBJ.UUID ObjectUuid{ get {
- if (HasObjectUuid) {
- return PBJ._PBJ.CastUuid(super.ObjectUuid);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.ObjectUuid=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearFieldId() { super.ClearFieldId();return this;}
- public const int FieldIdFieldTag=10;
- public bool HasFieldId{ get {return super.HasFieldId&&PBJ._PBJ.ValidateUint64(super.FieldId);} }
- public ulong FieldId{ get {
- if (HasFieldId) {
- return PBJ._PBJ.CastUint64(super.FieldId);
- } else {
- return PBJ._PBJ.CastUint64();
- }
- }
- set {
- super.FieldId=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearFieldName() { super.ClearFieldName();return this;}
- public const int FieldNameFieldTag=11;
- public bool HasFieldName{ get {return super.HasFieldName&&PBJ._PBJ.ValidateString(super.FieldName);} }
- public string FieldName{ get {
- if (HasFieldName) {
- return PBJ._PBJ.CastString(super.FieldName);
- } else {
- return PBJ._PBJ.CastString();
- }
- }
- set {
- super.FieldName=(PBJ._PBJ.Construct(value));
- }
- }
- }
- }
-}
-namespace Sirikata.Persistence.Protocol {
- public class StorageValue : PBJ.IMessage {
- protected _PBJ_Internal.StorageValue super;
- public _PBJ_Internal.StorageValue _PBJSuper{ get { return super;} }
- public StorageValue() {
- super=new _PBJ_Internal.StorageValue();
- }
- public StorageValue(_PBJ_Internal.StorageValue reference) {
- super=reference;
- }
- public static StorageValue defaultInstance= new StorageValue (_PBJ_Internal.StorageValue.DefaultInstance);
- public static StorageValue DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.StorageValue.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int DataFieldTag=12;
- public bool HasData{ get {return super.HasData&&PBJ._PBJ.ValidateBytes(super.Data);} }
- public pb::ByteString Data{ get {
- if (HasData) {
- return PBJ._PBJ.CastBytes(super.Data);
- } else {
- return PBJ._PBJ.CastBytes();
- }
- }
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(StorageValue prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static StorageValue ParseFrom(pb::ByteString data) {
- return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data));
- }
- public static StorageValue ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data,er));
- }
- public static StorageValue ParseFrom(byte[] data) {
- return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data));
- }
- public static StorageValue ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data,er));
- }
- public static StorageValue ParseFrom(global::System.IO.Stream data) {
- return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data));
- }
- public static StorageValue ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data,er));
- }
- public static StorageValue ParseFrom(pb::CodedInputStream data) {
- return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data));
- }
- public static StorageValue ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new StorageValue(_PBJ_Internal.StorageValue.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.StorageValue.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.StorageValue.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.StorageValue.Builder();}
- public Builder(_PBJ_Internal.StorageValue.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(StorageValue prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public StorageValue BuildPartial() {return new StorageValue(super.BuildPartial());}
- public StorageValue Build() {if (_HasAllPBJFields) return new StorageValue(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return StorageValue.Descriptor; } }
- public Builder ClearData() { super.ClearData();return this;}
- public const int DataFieldTag=12;
- public bool HasData{ get {return super.HasData&&PBJ._PBJ.ValidateBytes(super.Data);} }
- public pb::ByteString Data{ get {
- if (HasData) {
- return PBJ._PBJ.CastBytes(super.Data);
- } else {
- return PBJ._PBJ.CastBytes();
- }
- }
- set {
- super.Data=(PBJ._PBJ.Construct(value));
- }
- }
- }
- }
-}
-namespace Sirikata.Persistence.Protocol {
- public class StorageElement : PBJ.IMessage {
- protected _PBJ_Internal.StorageElement super;
- public _PBJ_Internal.StorageElement _PBJSuper{ get { return super;} }
- public StorageElement() {
- super=new _PBJ_Internal.StorageElement();
- }
- public StorageElement(_PBJ_Internal.StorageElement reference) {
- super=reference;
- }
- public static StorageElement defaultInstance= new StorageElement (_PBJ_Internal.StorageElement.DefaultInstance);
- public static StorageElement DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.StorageElement.Descriptor; } }
- public static class Types {
- public enum ReturnStatus {
- KEY_MISSING=_PBJ_Internal.StorageElement.Types.ReturnStatus.KEY_MISSING,
- INTERNAL_ERROR=_PBJ_Internal.StorageElement.Types.ReturnStatus.INTERNAL_ERROR
- };
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ObjectUuidFieldTag=9;
- public bool HasObjectUuid{ get {return super.HasObjectUuid&&PBJ._PBJ.ValidateUuid(super.ObjectUuid);} }
- public PBJ.UUID ObjectUuid{ get {
- if (HasObjectUuid) {
- return PBJ._PBJ.CastUuid(super.ObjectUuid);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public const int FieldIdFieldTag=10;
- public bool HasFieldId{ get {return super.HasFieldId&&PBJ._PBJ.ValidateUint64(super.FieldId);} }
- public ulong FieldId{ get {
- if (HasFieldId) {
- return PBJ._PBJ.CastUint64(super.FieldId);
- } else {
- return PBJ._PBJ.CastUint64();
- }
- }
- }
- public const int FieldNameFieldTag=11;
- public bool HasFieldName{ get {return super.HasFieldName&&PBJ._PBJ.ValidateString(super.FieldName);} }
- public string FieldName{ get {
- if (HasFieldName) {
- return PBJ._PBJ.CastString(super.FieldName);
- } else {
- return PBJ._PBJ.CastString();
- }
- }
- }
- public const int DataFieldTag=12;
- public bool HasData{ get {return super.HasData&&PBJ._PBJ.ValidateBytes(super.Data);} }
- public pb::ByteString Data{ get {
- if (HasData) {
- return PBJ._PBJ.CastBytes(super.Data);
- } else {
- return PBJ._PBJ.CastBytes();
- }
- }
- }
- public const int IndexFieldTag=13;
- public bool HasIndex{ get {return super.HasIndex&&PBJ._PBJ.ValidateInt32(super.Index);} }
- public int Index{ get {
- if (HasIndex) {
- return PBJ._PBJ.CastInt32(super.Index);
- } else {
- return PBJ._PBJ.CastInt32();
- }
- }
- }
- public const int ReturnStatusFieldTag=15;
- public bool HasReturnStatus{ get {return super.HasReturnStatus;} }
- public Types.ReturnStatus ReturnStatus{ get {
- if (HasReturnStatus) {
- return (Types.ReturnStatus)super.ReturnStatus;
- } else {
- return new Types.ReturnStatus();
- }
- }
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(StorageElement prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static StorageElement ParseFrom(pb::ByteString data) {
- return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data));
- }
- public static StorageElement ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data,er));
- }
- public static StorageElement ParseFrom(byte[] data) {
- return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data));
- }
- public static StorageElement ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data,er));
- }
- public static StorageElement ParseFrom(global::System.IO.Stream data) {
- return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data));
- }
- public static StorageElement ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data,er));
- }
- public static StorageElement ParseFrom(pb::CodedInputStream data) {
- return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data));
- }
- public static StorageElement ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new StorageElement(_PBJ_Internal.StorageElement.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.StorageElement.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.StorageElement.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.StorageElement.Builder();}
- public Builder(_PBJ_Internal.StorageElement.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(StorageElement prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public StorageElement BuildPartial() {return new StorageElement(super.BuildPartial());}
- public StorageElement Build() {if (_HasAllPBJFields) return new StorageElement(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return StorageElement.Descriptor; } }
- public Builder ClearObjectUuid() { super.ClearObjectUuid();return this;}
- public const int ObjectUuidFieldTag=9;
- public bool HasObjectUuid{ get {return super.HasObjectUuid&&PBJ._PBJ.ValidateUuid(super.ObjectUuid);} }
- public PBJ.UUID ObjectUuid{ get {
- if (HasObjectUuid) {
- return PBJ._PBJ.CastUuid(super.ObjectUuid);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.ObjectUuid=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearFieldId() { super.ClearFieldId();return this;}
- public const int FieldIdFieldTag=10;
- public bool HasFieldId{ get {return super.HasFieldId&&PBJ._PBJ.ValidateUint64(super.FieldId);} }
- public ulong FieldId{ get {
- if (HasFieldId) {
- return PBJ._PBJ.CastUint64(super.FieldId);
- } else {
- return PBJ._PBJ.CastUint64();
- }
- }
- set {
- super.FieldId=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearFieldName() { super.ClearFieldName();return this;}
- public const int FieldNameFieldTag=11;
- public bool HasFieldName{ get {return super.HasFieldName&&PBJ._PBJ.ValidateString(super.FieldName);} }
- public string FieldName{ get {
- if (HasFieldName) {
- return PBJ._PBJ.CastString(super.FieldName);
- } else {
- return PBJ._PBJ.CastString();
- }
- }
- set {
- super.FieldName=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearData() { super.ClearData();return this;}
- public const int DataFieldTag=12;
- public bool HasData{ get {return super.HasData&&PBJ._PBJ.ValidateBytes(super.Data);} }
- public pb::ByteString Data{ get {
- if (HasData) {
- return PBJ._PBJ.CastBytes(super.Data);
- } else {
- return PBJ._PBJ.CastBytes();
- }
- }
- set {
- super.Data=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearIndex() { super.ClearIndex();return this;}
- public const int IndexFieldTag=13;
- public bool HasIndex{ get {return super.HasIndex&&PBJ._PBJ.ValidateInt32(super.Index);} }
- public int Index{ get {
- if (HasIndex) {
- return PBJ._PBJ.CastInt32(super.Index);
- } else {
- return PBJ._PBJ.CastInt32();
- }
- }
- set {
- super.Index=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearReturnStatus() { super.ClearReturnStatus();return this;}
- public const int ReturnStatusFieldTag=15;
- public bool HasReturnStatus{ get {return super.HasReturnStatus;} }
- public Types.ReturnStatus ReturnStatus{ get {
- if (HasReturnStatus) {
- return (Types.ReturnStatus)super.ReturnStatus;
- } else {
- return new Types.ReturnStatus();
- }
- }
- set {
- super.ReturnStatus=((_PBJ_Internal.StorageElement.Types.ReturnStatus)value);
- }
- }
- }
- }
-}
-namespace Sirikata.Persistence.Protocol {
- public class CompareElement : PBJ.IMessage {
- protected _PBJ_Internal.CompareElement super;
- public _PBJ_Internal.CompareElement _PBJSuper{ get { return super;} }
- public CompareElement() {
- super=new _PBJ_Internal.CompareElement();
- }
- public CompareElement(_PBJ_Internal.CompareElement reference) {
- super=reference;
- }
- public static CompareElement defaultInstance= new CompareElement (_PBJ_Internal.CompareElement.DefaultInstance);
- public static CompareElement DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.CompareElement.Descriptor; } }
- public static class Types {
- public enum COMPARATOR {
- EQUAL=_PBJ_Internal.CompareElement.Types.COMPARATOR.EQUAL,
- NEQUAL=_PBJ_Internal.CompareElement.Types.COMPARATOR.NEQUAL
- };
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ObjectUuidFieldTag=9;
- public bool HasObjectUuid{ get {return super.HasObjectUuid&&PBJ._PBJ.ValidateUuid(super.ObjectUuid);} }
- public PBJ.UUID ObjectUuid{ get {
- if (HasObjectUuid) {
- return PBJ._PBJ.CastUuid(super.ObjectUuid);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public const int FieldIdFieldTag=10;
- public bool HasFieldId{ get {return super.HasFieldId&&PBJ._PBJ.ValidateUint64(super.FieldId);} }
- public ulong FieldId{ get {
- if (HasFieldId) {
- return PBJ._PBJ.CastUint64(super.FieldId);
- } else {
- return PBJ._PBJ.CastUint64();
- }
- }
- }
- public const int FieldNameFieldTag=11;
- public bool HasFieldName{ get {return super.HasFieldName&&PBJ._PBJ.ValidateString(super.FieldName);} }
- public string FieldName{ get {
- if (HasFieldName) {
- return PBJ._PBJ.CastString(super.FieldName);
- } else {
- return PBJ._PBJ.CastString();
- }
- }
- }
- public const int DataFieldTag=12;
- public bool HasData{ get {return super.HasData&&PBJ._PBJ.ValidateBytes(super.Data);} }
- public pb::ByteString Data{ get {
- if (HasData) {
- return PBJ._PBJ.CastBytes(super.Data);
- } else {
- return PBJ._PBJ.CastBytes();
- }
- }
- }
- public const int ComparatorFieldTag=14;
- public bool HasComparator{ get {return super.HasComparator;} }
- public Types.COMPARATOR Comparator{ get {
- if (HasComparator) {
- return (Types.COMPARATOR)super.Comparator;
- } else {
- return new Types.COMPARATOR();
- }
- }
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(CompareElement prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static CompareElement ParseFrom(pb::ByteString data) {
- return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data));
- }
- public static CompareElement ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data,er));
- }
- public static CompareElement ParseFrom(byte[] data) {
- return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data));
- }
- public static CompareElement ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data,er));
- }
- public static CompareElement ParseFrom(global::System.IO.Stream data) {
- return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data));
- }
- public static CompareElement ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data,er));
- }
- public static CompareElement ParseFrom(pb::CodedInputStream data) {
- return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data));
- }
- public static CompareElement ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new CompareElement(_PBJ_Internal.CompareElement.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.CompareElement.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.CompareElement.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.CompareElement.Builder();}
- public Builder(_PBJ_Internal.CompareElement.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(CompareElement prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public CompareElement BuildPartial() {return new CompareElement(super.BuildPartial());}
- public CompareElement Build() {if (_HasAllPBJFields) return new CompareElement(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return CompareElement.Descriptor; } }
- public Builder ClearObjectUuid() { super.ClearObjectUuid();return this;}
- public const int ObjectUuidFieldTag=9;
- public bool HasObjectUuid{ get {return super.HasObjectUuid&&PBJ._PBJ.ValidateUuid(super.ObjectUuid);} }
- public PBJ.UUID ObjectUuid{ get {
- if (HasObjectUuid) {
- return PBJ._PBJ.CastUuid(super.ObjectUuid);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.ObjectUuid=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearFieldId() { super.ClearFieldId();return this;}
- public const int FieldIdFieldTag=10;
- public bool HasFieldId{ get {return super.HasFieldId&&PBJ._PBJ.ValidateUint64(super.FieldId);} }
- public ulong FieldId{ get {
- if (HasFieldId) {
- return PBJ._PBJ.CastUint64(super.FieldId);
- } else {
- return PBJ._PBJ.CastUint64();
- }
- }
- set {
- super.FieldId=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearFieldName() { super.ClearFieldName();return this;}
- public const int FieldNameFieldTag=11;
- public bool HasFieldName{ get {return super.HasFieldName&&PBJ._PBJ.ValidateString(super.FieldName);} }
- public string FieldName{ get {
- if (HasFieldName) {
- return PBJ._PBJ.CastString(super.FieldName);
- } else {
- return PBJ._PBJ.CastString();
- }
- }
- set {
- super.FieldName=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearData() { super.ClearData();return this;}
- public const int DataFieldTag=12;
- public bool HasData{ get {return super.HasData&&PBJ._PBJ.ValidateBytes(super.Data);} }
- public pb::ByteString Data{ get {
- if (HasData) {
- return PBJ._PBJ.CastBytes(super.Data);
- } else {
- return PBJ._PBJ.CastBytes();
- }
- }
- set {
- super.Data=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearComparator() { super.ClearComparator();return this;}
- public const int ComparatorFieldTag=14;
- public bool HasComparator{ get {return super.HasComparator;} }
- public Types.COMPARATOR Comparator{ get {
- if (HasComparator) {
- return (Types.COMPARATOR)super.Comparator;
- } else {
- return new Types.COMPARATOR();
- }
- }
- set {
- super.Comparator=((_PBJ_Internal.CompareElement.Types.COMPARATOR)value);
- }
- }
- }
- }
-}
-namespace Sirikata.Persistence.Protocol {
- public class StorageSet : PBJ.IMessage {
- protected _PBJ_Internal.StorageSet super;
- public _PBJ_Internal.StorageSet _PBJSuper{ get { return super;} }
- public StorageSet() {
- super=new _PBJ_Internal.StorageSet();
- }
- public StorageSet(_PBJ_Internal.StorageSet reference) {
- super=reference;
- }
- public static StorageSet defaultInstance= new StorageSet (_PBJ_Internal.StorageSet.DefaultInstance);
- public static StorageSet DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.StorageSet.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ReadsFieldTag=9;
- public int ReadsCount { get { return super.ReadsCount;} }
- public bool HasReads(int index) {return true;}
- public StorageElement Reads(int index) {
- return new StorageElement(super.GetReads(index));
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(StorageSet prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static StorageSet ParseFrom(pb::ByteString data) {
- return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data));
- }
- public static StorageSet ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data,er));
- }
- public static StorageSet ParseFrom(byte[] data) {
- return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data));
- }
- public static StorageSet ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data,er));
- }
- public static StorageSet ParseFrom(global::System.IO.Stream data) {
- return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data));
- }
- public static StorageSet ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data,er));
- }
- public static StorageSet ParseFrom(pb::CodedInputStream data) {
- return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data));
- }
- public static StorageSet ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new StorageSet(_PBJ_Internal.StorageSet.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.StorageSet.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.StorageSet.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.StorageSet.Builder();}
- public Builder(_PBJ_Internal.StorageSet.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(StorageSet prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public StorageSet BuildPartial() {return new StorageSet(super.BuildPartial());}
- public StorageSet Build() {if (_HasAllPBJFields) return new StorageSet(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return StorageSet.Descriptor; } }
- public Builder ClearReads() { super.ClearReads();return this;}
- public Builder SetReads(int index,StorageElement value) {
- super.SetReads(index,value._PBJSuper);
- return this;
- }
- public const int ReadsFieldTag=9;
- public int ReadsCount { get { return super.ReadsCount;} }
- public bool HasReads(int index) {return true;}
- public StorageElement Reads(int index) {
- return new StorageElement(super.GetReads(index));
- }
- public Builder AddReads(StorageElement value) {
- super.AddReads(value._PBJSuper);
- return this;
- }
- }
- }
-}
-namespace Sirikata.Persistence.Protocol {
- public class ReadSet : PBJ.IMessage {
- protected _PBJ_Internal.ReadSet super;
- public _PBJ_Internal.ReadSet _PBJSuper{ get { return super;} }
- public ReadSet() {
- super=new _PBJ_Internal.ReadSet();
- }
- public ReadSet(_PBJ_Internal.ReadSet reference) {
- super=reference;
- }
- public static ReadSet defaultInstance= new ReadSet (_PBJ_Internal.ReadSet.DefaultInstance);
- public static ReadSet DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.ReadSet.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ReadsFieldTag=9;
- public int ReadsCount { get { return super.ReadsCount;} }
- public bool HasReads(int index) {return true;}
- public StorageElement Reads(int index) {
- return new StorageElement(super.GetReads(index));
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(ReadSet prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static ReadSet ParseFrom(pb::ByteString data) {
- return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data));
- }
- public static ReadSet ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data,er));
- }
- public static ReadSet ParseFrom(byte[] data) {
- return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data));
- }
- public static ReadSet ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data,er));
- }
- public static ReadSet ParseFrom(global::System.IO.Stream data) {
- return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data));
- }
- public static ReadSet ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data,er));
- }
- public static ReadSet ParseFrom(pb::CodedInputStream data) {
- return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data));
- }
- public static ReadSet ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new ReadSet(_PBJ_Internal.ReadSet.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.ReadSet.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.ReadSet.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.ReadSet.Builder();}
- public Builder(_PBJ_Internal.ReadSet.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(ReadSet prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public ReadSet BuildPartial() {return new ReadSet(super.BuildPartial());}
- public ReadSet Build() {if (_HasAllPBJFields) return new ReadSet(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return ReadSet.Descriptor; } }
- public Builder ClearReads() { super.ClearReads();return this;}
- public Builder SetReads(int index,StorageElement value) {
- super.SetReads(index,value._PBJSuper);
- return this;
- }
- public const int ReadsFieldTag=9;
- public int ReadsCount { get { return super.ReadsCount;} }
- public bool HasReads(int index) {return true;}
- public StorageElement Reads(int index) {
- return new StorageElement(super.GetReads(index));
- }
- public Builder AddReads(StorageElement value) {
- super.AddReads(value._PBJSuper);
- return this;
- }
- }
- }
-}
-namespace Sirikata.Persistence.Protocol {
- public class WriteSet : PBJ.IMessage {
- protected _PBJ_Internal.WriteSet super;
- public _PBJ_Internal.WriteSet _PBJSuper{ get { return super;} }
- public WriteSet() {
- super=new _PBJ_Internal.WriteSet();
- }
- public WriteSet(_PBJ_Internal.WriteSet reference) {
- super=reference;
- }
- public static WriteSet defaultInstance= new WriteSet (_PBJ_Internal.WriteSet.DefaultInstance);
- public static WriteSet DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.WriteSet.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int WritesFieldTag=10;
- public int WritesCount { get { return super.WritesCount;} }
- public bool HasWrites(int index) {return true;}
- public StorageElement Writes(int index) {
- return new StorageElement(super.GetWrites(index));
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(WriteSet prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static WriteSet ParseFrom(pb::ByteString data) {
- return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data));
- }
- public static WriteSet ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data,er));
- }
- public static WriteSet ParseFrom(byte[] data) {
- return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data));
- }
- public static WriteSet ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data,er));
- }
- public static WriteSet ParseFrom(global::System.IO.Stream data) {
- return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data));
- }
- public static WriteSet ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data,er));
- }
- public static WriteSet ParseFrom(pb::CodedInputStream data) {
- return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data));
- }
- public static WriteSet ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new WriteSet(_PBJ_Internal.WriteSet.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.WriteSet.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.WriteSet.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.WriteSet.Builder();}
- public Builder(_PBJ_Internal.WriteSet.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(WriteSet prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public WriteSet BuildPartial() {return new WriteSet(super.BuildPartial());}
- public WriteSet Build() {if (_HasAllPBJFields) return new WriteSet(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return WriteSet.Descriptor; } }
- public Builder ClearWrites() { super.ClearWrites();return this;}
- public Builder SetWrites(int index,StorageElement value) {
- super.SetWrites(index,value._PBJSuper);
- return this;
- }
- public const int WritesFieldTag=10;
- public int WritesCount { get { return super.WritesCount;} }
- public bool HasWrites(int index) {return true;}
- public StorageElement Writes(int index) {
- return new StorageElement(super.GetWrites(index));
- }
- public Builder AddWrites(StorageElement value) {
- super.AddWrites(value._PBJSuper);
- return this;
- }
- }
- }
-}
-namespace Sirikata.Persistence.Protocol {
- public class ReadWriteSet : PBJ.IMessage {
- protected _PBJ_Internal.ReadWriteSet super;
- public _PBJ_Internal.ReadWriteSet _PBJSuper{ get { return super;} }
- public ReadWriteSet() {
- super=new _PBJ_Internal.ReadWriteSet();
- }
- public ReadWriteSet(_PBJ_Internal.ReadWriteSet reference) {
- super=reference;
- }
- public static ReadWriteSet defaultInstance= new ReadWriteSet (_PBJ_Internal.ReadWriteSet.DefaultInstance);
- public static ReadWriteSet DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.ReadWriteSet.Descriptor; } }
- public static class Types {
- public enum ReadWriteSetOptions {
- RETURN_READ_NAMES=_PBJ_Internal.ReadWriteSet.Types.ReadWriteSetOptions.RETURN_READ_NAMES
- };
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false||(field_tag>=1&&field_tag<=8)||(field_tag>=1536&&field_tag<=2560)||(field_tag>=229376&&field_tag<=294912);
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ReadsFieldTag=9;
- public int ReadsCount { get { return super.ReadsCount;} }
- public bool HasReads(int index) {return true;}
- public StorageElement Reads(int index) {
- return new StorageElement(super.GetReads(index));
- }
- public const int WritesFieldTag=10;
- public int WritesCount { get { return super.WritesCount;} }
- public bool HasWrites(int index) {return true;}
- public StorageElement Writes(int index) {
- return new StorageElement(super.GetWrites(index));
- }
- public const int OptionsFieldTag=14;
- public bool HasOptions { get {
- if (!super.HasOptions) return false;
- return PBJ._PBJ.ValidateFlags(super.Options,(ulong)Types.ReadWriteSetOptions.RETURN_READ_NAMES);
- } }
- public ulong Options{ get {
- if (HasOptions) {
- return (ulong)PBJ._PBJ.CastFlags(super.Options,(ulong)Types.ReadWriteSetOptions.RETURN_READ_NAMES);
- } else {
- return (ulong)PBJ._PBJ.CastFlags((ulong)Types.ReadWriteSetOptions.RETURN_READ_NAMES);
- }
- }
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(ReadWriteSet prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static ReadWriteSet ParseFrom(pb::ByteString data) {
- return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data));
- }
- public static ReadWriteSet ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data,er));
- }
- public static ReadWriteSet ParseFrom(byte[] data) {
- return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data));
- }
- public static ReadWriteSet ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data,er));
- }
- public static ReadWriteSet ParseFrom(global::System.IO.Stream data) {
- return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data));
- }
- public static ReadWriteSet ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data,er));
- }
- public static ReadWriteSet ParseFrom(pb::CodedInputStream data) {
- return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data));
- }
- public static ReadWriteSet ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new ReadWriteSet(_PBJ_Internal.ReadWriteSet.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.ReadWriteSet.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.ReadWriteSet.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.ReadWriteSet.Builder();}
- public Builder(_PBJ_Internal.ReadWriteSet.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(ReadWriteSet prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public ReadWriteSet BuildPartial() {return new ReadWriteSet(super.BuildPartial());}
- public ReadWriteSet Build() {if (_HasAllPBJFields) return new ReadWriteSet(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return ReadWriteSet.Descriptor; } }
- public Builder ClearReads() { super.ClearReads();return this;}
- public Builder SetReads(int index,StorageElement value) {
- super.SetReads(index,value._PBJSuper);
- return this;
- }
- public const int ReadsFieldTag=9;
- public int ReadsCount { get { return super.ReadsCount;} }
- public bool HasReads(int index) {return true;}
- public StorageElement Reads(int index) {
- return new StorageElement(super.GetReads(index));
- }
- public Builder AddReads(StorageElement value) {
- super.AddReads(value._PBJSuper);
- return this;
- }
- public Builder ClearWrites() { super.ClearWrites();return this;}
- public Builder SetWrites(int index,StorageElement value) {
- super.SetWrites(index,value._PBJSuper);
- return this;
- }
- public const int WritesFieldTag=10;
- public int WritesCount { get { return super.WritesCount;} }
- public bool HasWrites(int index) {return true;}
- public StorageElement Writes(int index) {
- return new StorageElement(super.GetWrites(index));
- }
- public Builder AddWrites(StorageElement value) {
- super.AddWrites(value._PBJSuper);
- return this;
- }
- public Builder ClearOptions() { super.ClearOptions();return this;}
- public const int OptionsFieldTag=14;
- public bool HasOptions { get {
- if (!super.HasOptions) return false;
- return PBJ._PBJ.ValidateFlags(super.Options,(ulong)Types.ReadWriteSetOptions.RETURN_READ_NAMES);
- } }
- public ulong Options{ get {
- if (HasOptions) {
- return (ulong)PBJ._PBJ.CastFlags(super.Options,(ulong)Types.ReadWriteSetOptions.RETURN_READ_NAMES);
- } else {
- return (ulong)PBJ._PBJ.CastFlags((ulong)Types.ReadWriteSetOptions.RETURN_READ_NAMES);
- }
- }
- set {
- super.Options=((value));
- }
- }
- }
- }
-}
-namespace Sirikata.Persistence.Protocol {
- public class Minitransaction : PBJ.IMessage {
- protected _PBJ_Internal.Minitransaction super;
- public _PBJ_Internal.Minitransaction _PBJSuper{ get { return super;} }
- public Minitransaction() {
- super=new _PBJ_Internal.Minitransaction();
- }
- public Minitransaction(_PBJ_Internal.Minitransaction reference) {
- super=reference;
- }
- public static Minitransaction defaultInstance= new Minitransaction (_PBJ_Internal.Minitransaction.DefaultInstance);
- public static Minitransaction DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.Minitransaction.Descriptor; } }
- public static class Types {
- public enum TransactionOptions {
- RETURN_READ_NAMES=_PBJ_Internal.Minitransaction.Types.TransactionOptions.RETURN_READ_NAMES
- };
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ReadsFieldTag=9;
- public int ReadsCount { get { return super.ReadsCount;} }
- public bool HasReads(int index) {return true;}
- public StorageElement Reads(int index) {
- return new StorageElement(super.GetReads(index));
- }
- public const int WritesFieldTag=10;
- public int WritesCount { get { return super.WritesCount;} }
- public bool HasWrites(int index) {return true;}
- public StorageElement Writes(int index) {
- return new StorageElement(super.GetWrites(index));
- }
- public const int ComparesFieldTag=11;
- public int ComparesCount { get { return super.ComparesCount;} }
- public bool HasCompares(int index) {return true;}
- public CompareElement Compares(int index) {
- return new CompareElement(super.GetCompares(index));
- }
- public const int OptionsFieldTag=14;
- public bool HasOptions { get {
- if (!super.HasOptions) return false;
- return PBJ._PBJ.ValidateFlags(super.Options,(ulong)Types.TransactionOptions.RETURN_READ_NAMES);
- } }
- public ulong Options{ get {
- if (HasOptions) {
- return (ulong)PBJ._PBJ.CastFlags(super.Options,(ulong)Types.TransactionOptions.RETURN_READ_NAMES);
- } else {
- return (ulong)PBJ._PBJ.CastFlags((ulong)Types.TransactionOptions.RETURN_READ_NAMES);
- }
- }
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(Minitransaction prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static Minitransaction ParseFrom(pb::ByteString data) {
- return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data));
- }
- public static Minitransaction ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data,er));
- }
- public static Minitransaction ParseFrom(byte[] data) {
- return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data));
- }
- public static Minitransaction ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data,er));
- }
- public static Minitransaction ParseFrom(global::System.IO.Stream data) {
- return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data));
- }
- public static Minitransaction ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data,er));
- }
- public static Minitransaction ParseFrom(pb::CodedInputStream data) {
- return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data));
- }
- public static Minitransaction ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new Minitransaction(_PBJ_Internal.Minitransaction.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.Minitransaction.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.Minitransaction.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.Minitransaction.Builder();}
- public Builder(_PBJ_Internal.Minitransaction.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(Minitransaction prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public Minitransaction BuildPartial() {return new Minitransaction(super.BuildPartial());}
- public Minitransaction Build() {if (_HasAllPBJFields) return new Minitransaction(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return Minitransaction.Descriptor; } }
- public Builder ClearReads() { super.ClearReads();return this;}
- public Builder SetReads(int index,StorageElement value) {
- super.SetReads(index,value._PBJSuper);
- return this;
- }
- public const int ReadsFieldTag=9;
- public int ReadsCount { get { return super.ReadsCount;} }
- public bool HasReads(int index) {return true;}
- public StorageElement Reads(int index) {
- return new StorageElement(super.GetReads(index));
- }
- public Builder AddReads(StorageElement value) {
- super.AddReads(value._PBJSuper);
- return this;
- }
- public Builder ClearWrites() { super.ClearWrites();return this;}
- public Builder SetWrites(int index,StorageElement value) {
- super.SetWrites(index,value._PBJSuper);
- return this;
- }
- public const int WritesFieldTag=10;
- public int WritesCount { get { return super.WritesCount;} }
- public bool HasWrites(int index) {return true;}
- public StorageElement Writes(int index) {
- return new StorageElement(super.GetWrites(index));
- }
- public Builder AddWrites(StorageElement value) {
- super.AddWrites(value._PBJSuper);
- return this;
- }
- public Builder ClearCompares() { super.ClearCompares();return this;}
- public Builder SetCompares(int index,CompareElement value) {
- super.SetCompares(index,value._PBJSuper);
- return this;
- }
- public const int ComparesFieldTag=11;
- public int ComparesCount { get { return super.ComparesCount;} }
- public bool HasCompares(int index) {return true;}
- public CompareElement Compares(int index) {
- return new CompareElement(super.GetCompares(index));
- }
- public Builder AddCompares(CompareElement value) {
- super.AddCompares(value._PBJSuper);
- return this;
- }
- public Builder ClearOptions() { super.ClearOptions();return this;}
- public const int OptionsFieldTag=14;
- public bool HasOptions { get {
- if (!super.HasOptions) return false;
- return PBJ._PBJ.ValidateFlags(super.Options,(ulong)Types.TransactionOptions.RETURN_READ_NAMES);
- } }
- public ulong Options{ get {
- if (HasOptions) {
- return (ulong)PBJ._PBJ.CastFlags(super.Options,(ulong)Types.TransactionOptions.RETURN_READ_NAMES);
- } else {
- return (ulong)PBJ._PBJ.CastFlags((ulong)Types.TransactionOptions.RETURN_READ_NAMES);
- }
- }
- set {
- super.Options=((value));
- }
- }
- }
- }
-}
-namespace Sirikata.Persistence.Protocol {
- public class Response : PBJ.IMessage {
- protected _PBJ_Internal.Response super;
- public _PBJ_Internal.Response _PBJSuper{ get { return super;} }
- public Response() {
- super=new _PBJ_Internal.Response();
- }
- public Response(_PBJ_Internal.Response reference) {
- super=reference;
- }
- public static Response defaultInstance= new Response (_PBJ_Internal.Response.DefaultInstance);
- public static Response DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.Response.Descriptor; } }
- public static class Types {
- public enum ReturnStatus {
- SUCCESS=_PBJ_Internal.Response.Types.ReturnStatus.SUCCESS,
- DATABASE_LOCKED=_PBJ_Internal.Response.Types.ReturnStatus.DATABASE_LOCKED,
- KEY_MISSING=_PBJ_Internal.Response.Types.ReturnStatus.KEY_MISSING,
- COMPARISON_FAILED=_PBJ_Internal.Response.Types.ReturnStatus.COMPARISON_FAILED,
- INTERNAL_ERROR=_PBJ_Internal.Response.Types.ReturnStatus.INTERNAL_ERROR
- };
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false||(field_tag>=1&&field_tag<=8);
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int ReadsFieldTag=9;
- public int ReadsCount { get { return super.ReadsCount;} }
- public bool HasReads(int index) {return true;}
- public StorageElement Reads(int index) {
- return new StorageElement(super.GetReads(index));
- }
- public const int ReturnStatusFieldTag=15;
- public bool HasReturnStatus{ get {return super.HasReturnStatus;} }
- public Types.ReturnStatus ReturnStatus{ get {
- if (HasReturnStatus) {
- return (Types.ReturnStatus)super.ReturnStatus;
- } else {
- return new Types.ReturnStatus();
- }
- }
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(Response prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static Response ParseFrom(pb::ByteString data) {
- return new Response(_PBJ_Internal.Response.ParseFrom(data));
- }
- public static Response ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new Response(_PBJ_Internal.Response.ParseFrom(data,er));
- }
- public static Response ParseFrom(byte[] data) {
- return new Response(_PBJ_Internal.Response.ParseFrom(data));
- }
- public static Response ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new Response(_PBJ_Internal.Response.ParseFrom(data,er));
- }
- public static Response ParseFrom(global::System.IO.Stream data) {
- return new Response(_PBJ_Internal.Response.ParseFrom(data));
- }
- public static Response ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new Response(_PBJ_Internal.Response.ParseFrom(data,er));
- }
- public static Response ParseFrom(pb::CodedInputStream data) {
- return new Response(_PBJ_Internal.Response.ParseFrom(data));
- }
- public static Response ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new Response(_PBJ_Internal.Response.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.Response.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.Response.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.Response.Builder();}
- public Builder(_PBJ_Internal.Response.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(Response prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public Response BuildPartial() {return new Response(super.BuildPartial());}
- public Response Build() {if (_HasAllPBJFields) return new Response(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return Response.Descriptor; } }
- public Builder ClearReads() { super.ClearReads();return this;}
- public Builder SetReads(int index,StorageElement value) {
- super.SetReads(index,value._PBJSuper);
- return this;
- }
- public const int ReadsFieldTag=9;
- public int ReadsCount { get { return super.ReadsCount;} }
- public bool HasReads(int index) {return true;}
- public StorageElement Reads(int index) {
- return new StorageElement(super.GetReads(index));
- }
- public Builder AddReads(StorageElement value) {
- super.AddReads(value._PBJSuper);
- return this;
- }
- public Builder ClearReturnStatus() { super.ClearReturnStatus();return this;}
- public const int ReturnStatusFieldTag=15;
- public bool HasReturnStatus{ get {return super.HasReturnStatus;} }
- public Types.ReturnStatus ReturnStatus{ get {
- if (HasReturnStatus) {
- return (Types.ReturnStatus)super.ReturnStatus;
- } else {
- return new Types.ReturnStatus();
- }
- }
- set {
- super.ReturnStatus=((_PBJ_Internal.Response.Types.ReturnStatus)value);
- }
- }
- }
- }
-}
diff --git a/OpenSim/Client/Sirikata/Protocol/Physics.cs b/OpenSim/Client/Sirikata/Protocol/Physics.cs
deleted file mode 100644
index a81a6fd..0000000
--- a/OpenSim/Client/Sirikata/Protocol/Physics.cs
+++ /dev/null
@@ -1,840 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-
-using pb = global::Google.ProtocolBuffers;
-using pbc = global::Google.ProtocolBuffers.Collections;
-using pbd = global::Google.ProtocolBuffers.Descriptors;
-using scg = global::System.Collections.Generic;
-namespace Sirikata.Physics.Protocol._PBJ_Internal {
-
- public static partial class Physics {
-
- #region Extension registration
- public static void RegisterAllExtensions(pb::ExtensionRegistry registry) {
- }
- #endregion
- #region Static variables
- internal static pbd::MessageDescriptor internal__static_Sirikata_Physics_Protocol__PBJ_Internal_CollisionBegin__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Physics_Protocol__PBJ_Internal_CollisionBegin__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Physics_Protocol__PBJ_Internal_CollisionEnd__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Physics_Protocol__PBJ_Internal_CollisionEnd__FieldAccessorTable;
- #endregion
- #region Descriptor
- public static pbd::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbd::FileDescriptor descriptor;
-
- static Physics() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- "Cg1QaHlzaWNzLnByb3RvEidTaXJpa2F0YS5QaHlzaWNzLlByb3RvY29sLl9Q" +
- "QkpfSW50ZXJuYWwiqAEKDkNvbGxpc2lvbkJlZ2luEhEKCXRpbWVzdGFtcBgC" +
- "IAEoBhIZCg10aGlzX3Bvc2l0aW9uGAMgAygBQgIQARIaCg5vdGhlcl9wb3Np" +
- "dGlvbhgEIAMoAUICEAESFwoLdGhpc19ub3JtYWwYBSADKAJCAhABEhMKB2lt" +
- "cHVsc2UYBiADKAJCAhABEh4KFm90aGVyX29iamVjdF9yZWZlcmVuY2UYByAB" +
- "KAwiQQoMQ29sbGlzaW9uRW5kEhEKCXRpbWVzdGFtcBgCIAEoBhIeChZvdGhl" +
- "cl9vYmplY3RfcmVmZXJlbmNlGAYgASgM");
- pbd::FileDescriptor.InternalDescriptorAssigner assigner = delegate(pbd::FileDescriptor root) {
- descriptor = root;
- internal__static_Sirikata_Physics_Protocol__PBJ_Internal_CollisionBegin__Descriptor = Descriptor.MessageTypes[0];
- internal__static_Sirikata_Physics_Protocol__PBJ_Internal_CollisionBegin__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Physics_Protocol__PBJ_Internal_CollisionBegin__Descriptor,
- new string[] { "Timestamp", "ThisPosition", "OtherPosition", "ThisNormal", "Impulse", "OtherObjectReference", });
- internal__static_Sirikata_Physics_Protocol__PBJ_Internal_CollisionEnd__Descriptor = Descriptor.MessageTypes[1];
- internal__static_Sirikata_Physics_Protocol__PBJ_Internal_CollisionEnd__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Physics_Protocol__PBJ_Internal_CollisionEnd__Descriptor,
- new string[] { "Timestamp", "OtherObjectReference", });
- return null;
- };
- pbd::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
- new pbd::FileDescriptor[] {
- }, assigner);
- }
- #endregion
-
- }
- #region Messages
- public sealed partial class CollisionBegin : pb::GeneratedMessage {
- private static readonly CollisionBegin defaultInstance = new Builder().BuildPartial();
- public static CollisionBegin DefaultInstance {
- get { return defaultInstance; }
- }
-
- public override CollisionBegin DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- protected override CollisionBegin ThisMessage {
- get { return this; }
- }
-
- public static pbd::MessageDescriptor Descriptor {
- get { return global::Sirikata.Physics.Protocol._PBJ_Internal.Physics.internal__static_Sirikata_Physics_Protocol__PBJ_Internal_CollisionBegin__Descriptor; }
- }
-
- protected override pb::FieldAccess.FieldAccessorTable InternalFieldAccessors {
- get { return global::Sirikata.Physics.Protocol._PBJ_Internal.Physics.internal__static_Sirikata_Physics_Protocol__PBJ_Internal_CollisionBegin__FieldAccessorTable; }
- }
-
- public const int TimestampFieldNumber = 2;
- private bool hasTimestamp;
- private ulong timestamp_ = 0;
- public bool HasTimestamp {
- get { return hasTimestamp; }
- }
- [global::System.CLSCompliant(false)]
- public ulong Timestamp {
- get { return timestamp_; }
- }
-
- public const int ThisPositionFieldNumber = 3;
- private int thisPositionMemoizedSerializedSize;
- private pbc::PopsicleList thisPosition_ = new pbc::PopsicleList();
- public scg::IList ThisPositionList {
- get { return pbc::Lists.AsReadOnly(thisPosition_); }
- }
- public int ThisPositionCount {
- get { return thisPosition_.Count; }
- }
- public double GetThisPosition(int index) {
- return thisPosition_[index];
- }
-
- public const int OtherPositionFieldNumber = 4;
- private int otherPositionMemoizedSerializedSize;
- private pbc::PopsicleList otherPosition_ = new pbc::PopsicleList();
- public scg::IList OtherPositionList {
- get { return pbc::Lists.AsReadOnly(otherPosition_); }
- }
- public int OtherPositionCount {
- get { return otherPosition_.Count; }
- }
- public double GetOtherPosition(int index) {
- return otherPosition_[index];
- }
-
- public const int ThisNormalFieldNumber = 5;
- private int thisNormalMemoizedSerializedSize;
- private pbc::PopsicleList thisNormal_ = new pbc::PopsicleList();
- public scg::IList ThisNormalList {
- get { return pbc::Lists.AsReadOnly(thisNormal_); }
- }
- public int ThisNormalCount {
- get { return thisNormal_.Count; }
- }
- public float GetThisNormal(int index) {
- return thisNormal_[index];
- }
-
- public const int ImpulseFieldNumber = 6;
- private int impulseMemoizedSerializedSize;
- private pbc::PopsicleList impulse_ = new pbc::PopsicleList();
- public scg::IList ImpulseList {
- get { return pbc::Lists.AsReadOnly(impulse_); }
- }
- public int ImpulseCount {
- get { return impulse_.Count; }
- }
- public float GetImpulse(int index) {
- return impulse_[index];
- }
-
- public const int OtherObjectReferenceFieldNumber = 7;
- private bool hasOtherObjectReference;
- private pb::ByteString otherObjectReference_ = pb::ByteString.Empty;
- public bool HasOtherObjectReference {
- get { return hasOtherObjectReference; }
- }
- public pb::ByteString OtherObjectReference {
- get { return otherObjectReference_; }
- }
-
- public override bool IsInitialized {
- get {
- return true;
- }
- }
-
- public override void WriteTo(pb::CodedOutputStream output) {
- if (HasTimestamp) {
- output.WriteFixed64(2, Timestamp);
- }
- if (thisPosition_.Count > 0) {
- output.WriteRawVarint32(26);
- output.WriteRawVarint32((uint) thisPositionMemoizedSerializedSize);
- foreach (double element in thisPosition_) {
- output.WriteDoubleNoTag(element);
- }
- }
- if (otherPosition_.Count > 0) {
- output.WriteRawVarint32(34);
- output.WriteRawVarint32((uint) otherPositionMemoizedSerializedSize);
- foreach (double element in otherPosition_) {
- output.WriteDoubleNoTag(element);
- }
- }
- if (thisNormal_.Count > 0) {
- output.WriteRawVarint32(42);
- output.WriteRawVarint32((uint) thisNormalMemoizedSerializedSize);
- foreach (float element in thisNormal_) {
- output.WriteFloatNoTag(element);
- }
- }
- if (impulse_.Count > 0) {
- output.WriteRawVarint32(50);
- output.WriteRawVarint32((uint) impulseMemoizedSerializedSize);
- foreach (float element in impulse_) {
- output.WriteFloatNoTag(element);
- }
- }
- if (HasOtherObjectReference) {
- output.WriteBytes(7, OtherObjectReference);
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public override int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (HasTimestamp) {
- size += pb::CodedOutputStream.ComputeFixed64Size(2, Timestamp);
- }
- {
- int dataSize = 0;
- dataSize = 8 * thisPosition_.Count;
- size += dataSize;
- if (thisPosition_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
- thisPositionMemoizedSerializedSize = dataSize;
- }
- {
- int dataSize = 0;
- dataSize = 8 * otherPosition_.Count;
- size += dataSize;
- if (otherPosition_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
- otherPositionMemoizedSerializedSize = dataSize;
- }
- {
- int dataSize = 0;
- dataSize = 4 * thisNormal_.Count;
- size += dataSize;
- if (thisNormal_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
- thisNormalMemoizedSerializedSize = dataSize;
- }
- {
- int dataSize = 0;
- dataSize = 4 * impulse_.Count;
- size += dataSize;
- if (impulse_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
- impulseMemoizedSerializedSize = dataSize;
- }
- if (HasOtherObjectReference) {
- size += pb::CodedOutputStream.ComputeBytesSize(7, OtherObjectReference);
- }
- size += UnknownFields.SerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static CollisionBegin ParseFrom(pb::ByteString data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static CollisionBegin ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static CollisionBegin ParseFrom(byte[] data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static CollisionBegin ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static CollisionBegin ParseFrom(global::System.IO.Stream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static CollisionBegin ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static CollisionBegin ParseDelimitedFrom(global::System.IO.Stream input) {
- return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
- }
- public static CollisionBegin ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
- }
- public static CollisionBegin ParseFrom(pb::CodedInputStream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static CollisionBegin ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static Builder CreateBuilder() { return new Builder(); }
- public override Builder ToBuilder() { return CreateBuilder(this); }
- public override Builder CreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder(CollisionBegin prototype) {
- return (Builder) new Builder().MergeFrom(prototype);
- }
-
- public sealed partial class Builder : pb::GeneratedBuilder {
- protected override Builder ThisBuilder {
- get { return this; }
- }
- public Builder() {}
-
- CollisionBegin result = new CollisionBegin();
-
- protected override CollisionBegin MessageBeingBuilt {
- get { return result; }
- }
-
- public override Builder Clear() {
- result = new CollisionBegin();
- return this;
- }
-
- public override Builder Clone() {
- return new Builder().MergeFrom(result);
- }
-
- public override pbd::MessageDescriptor DescriptorForType {
- get { return global::Sirikata.Physics.Protocol._PBJ_Internal.CollisionBegin.Descriptor; }
- }
-
- public override CollisionBegin DefaultInstanceForType {
- get { return global::Sirikata.Physics.Protocol._PBJ_Internal.CollisionBegin.DefaultInstance; }
- }
-
- public override CollisionBegin BuildPartial() {
- if (result == null) {
- throw new global::System.InvalidOperationException("build() has already been called on this Builder");
- }
- result.thisPosition_.MakeReadOnly();
- result.otherPosition_.MakeReadOnly();
- result.thisNormal_.MakeReadOnly();
- result.impulse_.MakeReadOnly();
- CollisionBegin returnMe = result;
- result = null;
- return returnMe;
- }
-
- public override Builder MergeFrom(pb::IMessage other) {
- if (other is CollisionBegin) {
- return MergeFrom((CollisionBegin) other);
- } else {
- base.MergeFrom(other);
- return this;
- }
- }
-
- public override Builder MergeFrom(CollisionBegin other) {
- if (other == global::Sirikata.Physics.Protocol._PBJ_Internal.CollisionBegin.DefaultInstance) return this;
- if (other.HasTimestamp) {
- Timestamp = other.Timestamp;
- }
- if (other.thisPosition_.Count != 0) {
- base.AddRange(other.thisPosition_, result.thisPosition_);
- }
- if (other.otherPosition_.Count != 0) {
- base.AddRange(other.otherPosition_, result.otherPosition_);
- }
- if (other.thisNormal_.Count != 0) {
- base.AddRange(other.thisNormal_, result.thisNormal_);
- }
- if (other.impulse_.Count != 0) {
- base.AddRange(other.impulse_, result.impulse_);
- }
- if (other.HasOtherObjectReference) {
- OtherObjectReference = other.OtherObjectReference;
- }
- this.MergeUnknownFields(other.UnknownFields);
- return this;
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input) {
- return MergeFrom(input, pb::ExtensionRegistry.Empty);
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields = null;
- while (true) {
- uint tag = input.ReadTag();
- switch (tag) {
- case 0: {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- default: {
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- ParseUnknownField(input, unknownFields, extensionRegistry, tag);
- break;
- }
- case 17: {
- Timestamp = input.ReadFixed64();
- break;
- }
- case 26: {
- int length = input.ReadInt32();
- int limit = input.PushLimit(length);
- while (!input.ReachedLimit) {
- AddThisPosition(input.ReadDouble());
- }
- input.PopLimit(limit);
- break;
- }
- case 34: {
- int length = input.ReadInt32();
- int limit = input.PushLimit(length);
- while (!input.ReachedLimit) {
- AddOtherPosition(input.ReadDouble());
- }
- input.PopLimit(limit);
- break;
- }
- case 42: {
- int length = input.ReadInt32();
- int limit = input.PushLimit(length);
- while (!input.ReachedLimit) {
- AddThisNormal(input.ReadFloat());
- }
- input.PopLimit(limit);
- break;
- }
- case 50: {
- int length = input.ReadInt32();
- int limit = input.PushLimit(length);
- while (!input.ReachedLimit) {
- AddImpulse(input.ReadFloat());
- }
- input.PopLimit(limit);
- break;
- }
- case 58: {
- OtherObjectReference = input.ReadBytes();
- break;
- }
- }
- }
- }
-
-
- public bool HasTimestamp {
- get { return result.HasTimestamp; }
- }
- [global::System.CLSCompliant(false)]
- public ulong Timestamp {
- get { return result.Timestamp; }
- set { SetTimestamp(value); }
- }
- [global::System.CLSCompliant(false)]
- public Builder SetTimestamp(ulong value) {
- result.hasTimestamp = true;
- result.timestamp_ = value;
- return this;
- }
- public Builder ClearTimestamp() {
- result.hasTimestamp = false;
- result.timestamp_ = 0;
- return this;
- }
-
- public pbc::IPopsicleList ThisPositionList {
- get { return result.thisPosition_; }
- }
- public int ThisPositionCount {
- get { return result.ThisPositionCount; }
- }
- public double GetThisPosition(int index) {
- return result.GetThisPosition(index);
- }
- public Builder SetThisPosition(int index, double value) {
- result.thisPosition_[index] = value;
- return this;
- }
- public Builder AddThisPosition(double value) {
- result.thisPosition_.Add(value);
- return this;
- }
- public Builder AddRangeThisPosition(scg::IEnumerable values) {
- base.AddRange(values, result.thisPosition_);
- return this;
- }
- public Builder ClearThisPosition() {
- result.thisPosition_.Clear();
- return this;
- }
-
- public pbc::IPopsicleList OtherPositionList {
- get { return result.otherPosition_; }
- }
- public int OtherPositionCount {
- get { return result.OtherPositionCount; }
- }
- public double GetOtherPosition(int index) {
- return result.GetOtherPosition(index);
- }
- public Builder SetOtherPosition(int index, double value) {
- result.otherPosition_[index] = value;
- return this;
- }
- public Builder AddOtherPosition(double value) {
- result.otherPosition_.Add(value);
- return this;
- }
- public Builder AddRangeOtherPosition(scg::IEnumerable values) {
- base.AddRange(values, result.otherPosition_);
- return this;
- }
- public Builder ClearOtherPosition() {
- result.otherPosition_.Clear();
- return this;
- }
-
- public pbc::IPopsicleList ThisNormalList {
- get { return result.thisNormal_; }
- }
- public int ThisNormalCount {
- get { return result.ThisNormalCount; }
- }
- public float GetThisNormal(int index) {
- return result.GetThisNormal(index);
- }
- public Builder SetThisNormal(int index, float value) {
- result.thisNormal_[index] = value;
- return this;
- }
- public Builder AddThisNormal(float value) {
- result.thisNormal_.Add(value);
- return this;
- }
- public Builder AddRangeThisNormal(scg::IEnumerable values) {
- base.AddRange(values, result.thisNormal_);
- return this;
- }
- public Builder ClearThisNormal() {
- result.thisNormal_.Clear();
- return this;
- }
-
- public pbc::IPopsicleList ImpulseList {
- get { return result.impulse_; }
- }
- public int ImpulseCount {
- get { return result.ImpulseCount; }
- }
- public float GetImpulse(int index) {
- return result.GetImpulse(index);
- }
- public Builder SetImpulse(int index, float value) {
- result.impulse_[index] = value;
- return this;
- }
- public Builder AddImpulse(float value) {
- result.impulse_.Add(value);
- return this;
- }
- public Builder AddRangeImpulse(scg::IEnumerable values) {
- base.AddRange(values, result.impulse_);
- return this;
- }
- public Builder ClearImpulse() {
- result.impulse_.Clear();
- return this;
- }
-
- public bool HasOtherObjectReference {
- get { return result.HasOtherObjectReference; }
- }
- public pb::ByteString OtherObjectReference {
- get { return result.OtherObjectReference; }
- set { SetOtherObjectReference(value); }
- }
- public Builder SetOtherObjectReference(pb::ByteString value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.hasOtherObjectReference = true;
- result.otherObjectReference_ = value;
- return this;
- }
- public Builder ClearOtherObjectReference() {
- result.hasOtherObjectReference = false;
- result.otherObjectReference_ = pb::ByteString.Empty;
- return this;
- }
- }
- static CollisionBegin() {
- object.ReferenceEquals(global::Sirikata.Physics.Protocol._PBJ_Internal.Physics.Descriptor, null);
- }
- }
-
- public sealed partial class CollisionEnd : pb::GeneratedMessage {
- private static readonly CollisionEnd defaultInstance = new Builder().BuildPartial();
- public static CollisionEnd DefaultInstance {
- get { return defaultInstance; }
- }
-
- public override CollisionEnd DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- protected override CollisionEnd ThisMessage {
- get { return this; }
- }
-
- public static pbd::MessageDescriptor Descriptor {
- get { return global::Sirikata.Physics.Protocol._PBJ_Internal.Physics.internal__static_Sirikata_Physics_Protocol__PBJ_Internal_CollisionEnd__Descriptor; }
- }
-
- protected override pb::FieldAccess.FieldAccessorTable InternalFieldAccessors {
- get { return global::Sirikata.Physics.Protocol._PBJ_Internal.Physics.internal__static_Sirikata_Physics_Protocol__PBJ_Internal_CollisionEnd__FieldAccessorTable; }
- }
-
- public const int TimestampFieldNumber = 2;
- private bool hasTimestamp;
- private ulong timestamp_ = 0;
- public bool HasTimestamp {
- get { return hasTimestamp; }
- }
- [global::System.CLSCompliant(false)]
- public ulong Timestamp {
- get { return timestamp_; }
- }
-
- public const int OtherObjectReferenceFieldNumber = 6;
- private bool hasOtherObjectReference;
- private pb::ByteString otherObjectReference_ = pb::ByteString.Empty;
- public bool HasOtherObjectReference {
- get { return hasOtherObjectReference; }
- }
- public pb::ByteString OtherObjectReference {
- get { return otherObjectReference_; }
- }
-
- public override bool IsInitialized {
- get {
- return true;
- }
- }
-
- public override void WriteTo(pb::CodedOutputStream output) {
- if (HasTimestamp) {
- output.WriteFixed64(2, Timestamp);
- }
- if (HasOtherObjectReference) {
- output.WriteBytes(6, OtherObjectReference);
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public override int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (HasTimestamp) {
- size += pb::CodedOutputStream.ComputeFixed64Size(2, Timestamp);
- }
- if (HasOtherObjectReference) {
- size += pb::CodedOutputStream.ComputeBytesSize(6, OtherObjectReference);
- }
- size += UnknownFields.SerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static CollisionEnd ParseFrom(pb::ByteString data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static CollisionEnd ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static CollisionEnd ParseFrom(byte[] data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static CollisionEnd ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static CollisionEnd ParseFrom(global::System.IO.Stream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static CollisionEnd ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static CollisionEnd ParseDelimitedFrom(global::System.IO.Stream input) {
- return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
- }
- public static CollisionEnd ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
- }
- public static CollisionEnd ParseFrom(pb::CodedInputStream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static CollisionEnd ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static Builder CreateBuilder() { return new Builder(); }
- public override Builder ToBuilder() { return CreateBuilder(this); }
- public override Builder CreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder(CollisionEnd prototype) {
- return (Builder) new Builder().MergeFrom(prototype);
- }
-
- public sealed partial class Builder : pb::GeneratedBuilder {
- protected override Builder ThisBuilder {
- get { return this; }
- }
- public Builder() {}
-
- CollisionEnd result = new CollisionEnd();
-
- protected override CollisionEnd MessageBeingBuilt {
- get { return result; }
- }
-
- public override Builder Clear() {
- result = new CollisionEnd();
- return this;
- }
-
- public override Builder Clone() {
- return new Builder().MergeFrom(result);
- }
-
- public override pbd::MessageDescriptor DescriptorForType {
- get { return global::Sirikata.Physics.Protocol._PBJ_Internal.CollisionEnd.Descriptor; }
- }
-
- public override CollisionEnd DefaultInstanceForType {
- get { return global::Sirikata.Physics.Protocol._PBJ_Internal.CollisionEnd.DefaultInstance; }
- }
-
- public override CollisionEnd BuildPartial() {
- if (result == null) {
- throw new global::System.InvalidOperationException("build() has already been called on this Builder");
- }
- CollisionEnd returnMe = result;
- result = null;
- return returnMe;
- }
-
- public override Builder MergeFrom(pb::IMessage other) {
- if (other is CollisionEnd) {
- return MergeFrom((CollisionEnd) other);
- } else {
- base.MergeFrom(other);
- return this;
- }
- }
-
- public override Builder MergeFrom(CollisionEnd other) {
- if (other == global::Sirikata.Physics.Protocol._PBJ_Internal.CollisionEnd.DefaultInstance) return this;
- if (other.HasTimestamp) {
- Timestamp = other.Timestamp;
- }
- if (other.HasOtherObjectReference) {
- OtherObjectReference = other.OtherObjectReference;
- }
- this.MergeUnknownFields(other.UnknownFields);
- return this;
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input) {
- return MergeFrom(input, pb::ExtensionRegistry.Empty);
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields = null;
- while (true) {
- uint tag = input.ReadTag();
- switch (tag) {
- case 0: {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- default: {
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- ParseUnknownField(input, unknownFields, extensionRegistry, tag);
- break;
- }
- case 17: {
- Timestamp = input.ReadFixed64();
- break;
- }
- case 50: {
- OtherObjectReference = input.ReadBytes();
- break;
- }
- }
- }
- }
-
-
- public bool HasTimestamp {
- get { return result.HasTimestamp; }
- }
- [global::System.CLSCompliant(false)]
- public ulong Timestamp {
- get { return result.Timestamp; }
- set { SetTimestamp(value); }
- }
- [global::System.CLSCompliant(false)]
- public Builder SetTimestamp(ulong value) {
- result.hasTimestamp = true;
- result.timestamp_ = value;
- return this;
- }
- public Builder ClearTimestamp() {
- result.hasTimestamp = false;
- result.timestamp_ = 0;
- return this;
- }
-
- public bool HasOtherObjectReference {
- get { return result.HasOtherObjectReference; }
- }
- public pb::ByteString OtherObjectReference {
- get { return result.OtherObjectReference; }
- set { SetOtherObjectReference(value); }
- }
- public Builder SetOtherObjectReference(pb::ByteString value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.hasOtherObjectReference = true;
- result.otherObjectReference_ = value;
- return this;
- }
- public Builder ClearOtherObjectReference() {
- result.hasOtherObjectReference = false;
- result.otherObjectReference_ = pb::ByteString.Empty;
- return this;
- }
- }
- static CollisionEnd() {
- object.ReferenceEquals(global::Sirikata.Physics.Protocol._PBJ_Internal.Physics.Descriptor, null);
- }
- }
-
- #endregion
-
-}
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 @@
-/*
- * Copyright (c) Contributors, http://opensimulator.org/
- * See CONTRIBUTORS.TXT for a full list of copyright holders.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * * Neither the name of the OpenSimulator Project nor the
- * names of its contributors may be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-using pbd = global::Google.ProtocolBuffers.Descriptors;
-using pb = global::Google.ProtocolBuffers;
-namespace Sirikata.Physics.Protocol {
- public class CollisionBegin : PBJ.IMessage {
- protected _PBJ_Internal.CollisionBegin super;
- public _PBJ_Internal.CollisionBegin _PBJSuper{ get { return super;} }
- public CollisionBegin() {
- super=new _PBJ_Internal.CollisionBegin();
- }
- public CollisionBegin(_PBJ_Internal.CollisionBegin reference) {
- super=reference;
- }
- public static CollisionBegin defaultInstance= new CollisionBegin (_PBJ_Internal.CollisionBegin.DefaultInstance);
- public static CollisionBegin DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.CollisionBegin.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int TimestampFieldTag=2;
- public bool HasTimestamp{ get {return super.HasTimestamp&&PBJ._PBJ.ValidateTime(super.Timestamp);} }
- public PBJ.Time Timestamp{ get {
- if (HasTimestamp) {
- return PBJ._PBJ.CastTime(super.Timestamp);
- } else {
- return PBJ._PBJ.CastTime();
- }
- }
- }
- public const int ThisPositionFieldTag=3;
- public int ThisPositionCount { get { return super.ThisPositionCount/3;} }
- public bool HasThisPosition(int index) { return true; }
- public PBJ.Vector3d GetThisPosition(int index) {
- if (HasThisPosition(index)) {
- return PBJ._PBJ.CastVector3d(super.GetThisPosition(index*3+0),super.GetThisPosition(index*3+1),super.GetThisPosition(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3d();
- }
- }
- public const int OtherPositionFieldTag=4;
- public int OtherPositionCount { get { return super.OtherPositionCount/3;} }
- public bool HasOtherPosition(int index) { return true; }
- public PBJ.Vector3d GetOtherPosition(int index) {
- if (HasOtherPosition(index)) {
- return PBJ._PBJ.CastVector3d(super.GetOtherPosition(index*3+0),super.GetOtherPosition(index*3+1),super.GetOtherPosition(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3d();
- }
- }
- public const int ThisNormalFieldTag=5;
- public int ThisNormalCount { get { return super.ThisNormalCount/2;} }
- public bool HasThisNormal(int index) { return true; }
- public PBJ.Vector3f GetThisNormal(int index) {
- if (HasThisNormal(index)) {
- return PBJ._PBJ.CastNormal(super.GetThisNormal(index*2+0),super.GetThisNormal(index*2+1));
- } else {
- return PBJ._PBJ.CastNormal();
- }
- }
- public const int ImpulseFieldTag=6;
- public int ImpulseCount { get { return super.ImpulseCount;} }
- public bool HasImpulse(int index) {return PBJ._PBJ.ValidateFloat(super.GetImpulse(index));}
- public float Impulse(int index) {
- return (float)PBJ._PBJ.CastFloat(super.GetImpulse(index));
- }
- public const int OtherObjectReferenceFieldTag=7;
- public bool HasOtherObjectReference{ get {return super.HasOtherObjectReference&&PBJ._PBJ.ValidateUuid(super.OtherObjectReference);} }
- public PBJ.UUID OtherObjectReference{ get {
- if (HasOtherObjectReference) {
- return PBJ._PBJ.CastUuid(super.OtherObjectReference);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(CollisionBegin prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static CollisionBegin ParseFrom(pb::ByteString data) {
- return new CollisionBegin(_PBJ_Internal.CollisionBegin.ParseFrom(data));
- }
- public static CollisionBegin ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new CollisionBegin(_PBJ_Internal.CollisionBegin.ParseFrom(data,er));
- }
- public static CollisionBegin ParseFrom(byte[] data) {
- return new CollisionBegin(_PBJ_Internal.CollisionBegin.ParseFrom(data));
- }
- public static CollisionBegin ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new CollisionBegin(_PBJ_Internal.CollisionBegin.ParseFrom(data,er));
- }
- public static CollisionBegin ParseFrom(global::System.IO.Stream data) {
- return new CollisionBegin(_PBJ_Internal.CollisionBegin.ParseFrom(data));
- }
- public static CollisionBegin ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new CollisionBegin(_PBJ_Internal.CollisionBegin.ParseFrom(data,er));
- }
- public static CollisionBegin ParseFrom(pb::CodedInputStream data) {
- return new CollisionBegin(_PBJ_Internal.CollisionBegin.ParseFrom(data));
- }
- public static CollisionBegin ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new CollisionBegin(_PBJ_Internal.CollisionBegin.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.CollisionBegin.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.CollisionBegin.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.CollisionBegin.Builder();}
- public Builder(_PBJ_Internal.CollisionBegin.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(CollisionBegin prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public CollisionBegin BuildPartial() {return new CollisionBegin(super.BuildPartial());}
- public CollisionBegin Build() {if (_HasAllPBJFields) return new CollisionBegin(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return CollisionBegin.Descriptor; } }
- public Builder ClearTimestamp() { super.ClearTimestamp();return this;}
- public const int TimestampFieldTag=2;
- public bool HasTimestamp{ get {return super.HasTimestamp&&PBJ._PBJ.ValidateTime(super.Timestamp);} }
- public PBJ.Time Timestamp{ get {
- if (HasTimestamp) {
- return PBJ._PBJ.CastTime(super.Timestamp);
- } else {
- return PBJ._PBJ.CastTime();
- }
- }
- set {
- super.Timestamp=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearThisPosition() { super.ClearThisPosition();return this;}
- public const int ThisPositionFieldTag=3;
- public int ThisPositionCount { get { return super.ThisPositionCount/3;} }
- public bool HasThisPosition(int index) { return true; }
- public PBJ.Vector3d GetThisPosition(int index) {
- if (HasThisPosition(index)) {
- return PBJ._PBJ.CastVector3d(super.GetThisPosition(index*3+0),super.GetThisPosition(index*3+1),super.GetThisPosition(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3d();
- }
- }
- public Builder AddThisPosition(PBJ.Vector3d value) {
- double[] _PBJtempArray=PBJ._PBJ.ConstructVector3d(value);
- super.AddThisPosition(_PBJtempArray[0]);
- super.AddThisPosition(_PBJtempArray[1]);
- super.AddThisPosition(_PBJtempArray[2]);
- return this;
- }
- public Builder SetThisPosition(int index,PBJ.Vector3d value) {
- double[] _PBJtempArray=PBJ._PBJ.ConstructVector3d(value);
- super.SetThisPosition(index*3+0,_PBJtempArray[0]);
- super.SetThisPosition(index*3+1,_PBJtempArray[1]);
- super.SetThisPosition(index*3+2,_PBJtempArray[2]);
- return this;
- }
- public Builder ClearOtherPosition() { super.ClearOtherPosition();return this;}
- public const int OtherPositionFieldTag=4;
- public int OtherPositionCount { get { return super.OtherPositionCount/3;} }
- public bool HasOtherPosition(int index) { return true; }
- public PBJ.Vector3d GetOtherPosition(int index) {
- if (HasOtherPosition(index)) {
- return PBJ._PBJ.CastVector3d(super.GetOtherPosition(index*3+0),super.GetOtherPosition(index*3+1),super.GetOtherPosition(index*3+2));
- } else {
- return PBJ._PBJ.CastVector3d();
- }
- }
- public Builder AddOtherPosition(PBJ.Vector3d value) {
- double[] _PBJtempArray=PBJ._PBJ.ConstructVector3d(value);
- super.AddOtherPosition(_PBJtempArray[0]);
- super.AddOtherPosition(_PBJtempArray[1]);
- super.AddOtherPosition(_PBJtempArray[2]);
- return this;
- }
- public Builder SetOtherPosition(int index,PBJ.Vector3d value) {
- double[] _PBJtempArray=PBJ._PBJ.ConstructVector3d(value);
- super.SetOtherPosition(index*3+0,_PBJtempArray[0]);
- super.SetOtherPosition(index*3+1,_PBJtempArray[1]);
- super.SetOtherPosition(index*3+2,_PBJtempArray[2]);
- return this;
- }
- public Builder ClearThisNormal() { super.ClearThisNormal();return this;}
- public const int ThisNormalFieldTag=5;
- public int ThisNormalCount { get { return super.ThisNormalCount/2;} }
- public bool HasThisNormal(int index) { return true; }
- public PBJ.Vector3f GetThisNormal(int index) {
- if (HasThisNormal(index)) {
- return PBJ._PBJ.CastNormal(super.GetThisNormal(index*2+0),super.GetThisNormal(index*2+1));
- } else {
- return PBJ._PBJ.CastNormal();
- }
- }
- public Builder AddThisNormal(PBJ.Vector3f value) {
- float[] _PBJtempArray=PBJ._PBJ.ConstructNormal(value);
- super.AddThisNormal(_PBJtempArray[0]);
- super.AddThisNormal(_PBJtempArray[1]);
- return this;
- }
- public Builder SetThisNormal(int index,PBJ.Vector3f value) {
- float[] _PBJtempArray=PBJ._PBJ.ConstructNormal(value);
- super.SetThisNormal(index*2+0,_PBJtempArray[0]);
- super.SetThisNormal(index*2+1,_PBJtempArray[1]);
- return this;
- }
- public Builder ClearImpulse() { super.ClearImpulse();return this;}
- public Builder SetImpulse(int index, float value) {
- super.SetImpulse(index,PBJ._PBJ.Construct(value));
- return this;
- }
- public const int ImpulseFieldTag=6;
- public int ImpulseCount { get { return super.ImpulseCount;} }
- public bool HasImpulse(int index) {return PBJ._PBJ.ValidateFloat(super.GetImpulse(index));}
- public float Impulse(int index) {
- return (float)PBJ._PBJ.CastFloat(super.GetImpulse(index));
- }
- public Builder AddImpulse(float value) {
- super.AddImpulse(PBJ._PBJ.Construct(value));
- return this;
- }
- public Builder ClearOtherObjectReference() { super.ClearOtherObjectReference();return this;}
- public const int OtherObjectReferenceFieldTag=7;
- public bool HasOtherObjectReference{ get {return super.HasOtherObjectReference&&PBJ._PBJ.ValidateUuid(super.OtherObjectReference);} }
- public PBJ.UUID OtherObjectReference{ get {
- if (HasOtherObjectReference) {
- return PBJ._PBJ.CastUuid(super.OtherObjectReference);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.OtherObjectReference=(PBJ._PBJ.Construct(value));
- }
- }
- }
- }
-}
-namespace Sirikata.Physics.Protocol {
- public class CollisionEnd : PBJ.IMessage {
- protected _PBJ_Internal.CollisionEnd super;
- public _PBJ_Internal.CollisionEnd _PBJSuper{ get { return super;} }
- public CollisionEnd() {
- super=new _PBJ_Internal.CollisionEnd();
- }
- public CollisionEnd(_PBJ_Internal.CollisionEnd reference) {
- super=reference;
- }
- public static CollisionEnd defaultInstance= new CollisionEnd (_PBJ_Internal.CollisionEnd.DefaultInstance);
- public static CollisionEnd DefaultInstance{
- get {return defaultInstance;}
- }
- public static pbd.MessageDescriptor Descriptor {
- get { return _PBJ_Internal.CollisionEnd.Descriptor; } }
- public static class Types {
- }
- public static bool WithinReservedFieldTagRange(int field_tag) {
- return false;
- }
- public static bool WithinExtensionFieldTagRange(int field_tag) {
- return false;
- }
- public const int TimestampFieldTag=2;
- public bool HasTimestamp{ get {return super.HasTimestamp&&PBJ._PBJ.ValidateTime(super.Timestamp);} }
- public PBJ.Time Timestamp{ get {
- if (HasTimestamp) {
- return PBJ._PBJ.CastTime(super.Timestamp);
- } else {
- return PBJ._PBJ.CastTime();
- }
- }
- }
- public const int OtherObjectReferenceFieldTag=6;
- public bool HasOtherObjectReference{ get {return super.HasOtherObjectReference&&PBJ._PBJ.ValidateUuid(super.OtherObjectReference);} }
- public PBJ.UUID OtherObjectReference{ get {
- if (HasOtherObjectReference) {
- return PBJ._PBJ.CastUuid(super.OtherObjectReference);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- }
- public override Google.ProtocolBuffers.IMessage _PBJISuper { get { return super; } }
- public override PBJ.IMessage.IBuilder WeakCreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder() { return new Builder(); }
- public static Builder CreateBuilder(CollisionEnd prototype) {
- return (Builder)new Builder().MergeFrom(prototype);
- }
- public static CollisionEnd ParseFrom(pb::ByteString data) {
- return new CollisionEnd(_PBJ_Internal.CollisionEnd.ParseFrom(data));
- }
- public static CollisionEnd ParseFrom(pb::ByteString data, pb::ExtensionRegistry er) {
- return new CollisionEnd(_PBJ_Internal.CollisionEnd.ParseFrom(data,er));
- }
- public static CollisionEnd ParseFrom(byte[] data) {
- return new CollisionEnd(_PBJ_Internal.CollisionEnd.ParseFrom(data));
- }
- public static CollisionEnd ParseFrom(byte[] data, pb::ExtensionRegistry er) {
- return new CollisionEnd(_PBJ_Internal.CollisionEnd.ParseFrom(data,er));
- }
- public static CollisionEnd ParseFrom(global::System.IO.Stream data) {
- return new CollisionEnd(_PBJ_Internal.CollisionEnd.ParseFrom(data));
- }
- public static CollisionEnd ParseFrom(global::System.IO.Stream data, pb::ExtensionRegistry er) {
- return new CollisionEnd(_PBJ_Internal.CollisionEnd.ParseFrom(data,er));
- }
- public static CollisionEnd ParseFrom(pb::CodedInputStream data) {
- return new CollisionEnd(_PBJ_Internal.CollisionEnd.ParseFrom(data));
- }
- public static CollisionEnd ParseFrom(pb::CodedInputStream data, pb::ExtensionRegistry er) {
- return new CollisionEnd(_PBJ_Internal.CollisionEnd.ParseFrom(data,er));
- }
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- public class Builder : global::PBJ.IMessage.IBuilder{
- protected override bool _HasAllPBJFields{ get {
- return true
- ;
- } }
- public bool IsInitialized { get {
- return super.IsInitialized&&_HasAllPBJFields;
- } }
- protected _PBJ_Internal.CollisionEnd.Builder super;
- public override Google.ProtocolBuffers.IBuilder _PBJISuper { get { return super; } }
- public _PBJ_Internal.CollisionEnd.Builder _PBJSuper{ get { return super;} }
- public Builder() {super = new _PBJ_Internal.CollisionEnd.Builder();}
- public Builder(_PBJ_Internal.CollisionEnd.Builder other) {
- super=other;
- }
- public Builder Clone() {return new Builder(super.Clone());}
- public Builder MergeFrom(CollisionEnd prototype) { super.MergeFrom(prototype._PBJSuper);return this;}
- public Builder Clear() {super.Clear();return this;}
- public CollisionEnd BuildPartial() {return new CollisionEnd(super.BuildPartial());}
- public CollisionEnd Build() {if (_HasAllPBJFields) return new CollisionEnd(super.Build());return null;}
- public pbd::MessageDescriptor DescriptorForType {
- get { return CollisionEnd.Descriptor; } }
- public Builder ClearTimestamp() { super.ClearTimestamp();return this;}
- public const int TimestampFieldTag=2;
- public bool HasTimestamp{ get {return super.HasTimestamp&&PBJ._PBJ.ValidateTime(super.Timestamp);} }
- public PBJ.Time Timestamp{ get {
- if (HasTimestamp) {
- return PBJ._PBJ.CastTime(super.Timestamp);
- } else {
- return PBJ._PBJ.CastTime();
- }
- }
- set {
- super.Timestamp=(PBJ._PBJ.Construct(value));
- }
- }
- public Builder ClearOtherObjectReference() { super.ClearOtherObjectReference();return this;}
- public const int OtherObjectReferenceFieldTag=6;
- public bool HasOtherObjectReference{ get {return super.HasOtherObjectReference&&PBJ._PBJ.ValidateUuid(super.OtherObjectReference);} }
- public PBJ.UUID OtherObjectReference{ get {
- if (HasOtherObjectReference) {
- return PBJ._PBJ.CastUuid(super.OtherObjectReference);
- } else {
- return PBJ._PBJ.CastUuid();
- }
- }
- set {
- super.OtherObjectReference=(PBJ._PBJ.Construct(value));
- }
- }
- }
- }
-}
diff --git a/OpenSim/Client/Sirikata/Protocol/Sirikata.cs b/OpenSim/Client/Sirikata/Protocol/Sirikata.cs
deleted file mode 100644
index 9283086..0000000
--- a/OpenSim/Client/Sirikata/Protocol/Sirikata.cs
+++ /dev/null
@@ -1,8074 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-
-using pb = global::Google.ProtocolBuffers;
-using pbc = global::Google.ProtocolBuffers.Collections;
-using pbd = global::Google.ProtocolBuffers.Descriptors;
-using scg = global::System.Collections.Generic;
-namespace Sirikata.Protocol._PBJ_Internal {
-
- public static partial class Sirikata {
-
- #region Extension registration
- public static void RegisterAllExtensions(pb::ExtensionRegistry registry) {
- }
- #endregion
- #region Static variables
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_MessageBody__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_MessageBody__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_ReadOnlyMessage__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_ReadOnlyMessage__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_SpaceServices__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_SpaceServices__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_ObjLoc__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_ObjLoc__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_LocRequest__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_LocRequest__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_NewObj__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_NewObj__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_RetObj__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_RetObj__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_DelObj__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_DelObj__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_NewProxQuery__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_NewProxQuery__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_ProxCall__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_ProxCall__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_DelProxQuery__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_DelProxQuery__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_Vector3fProperty__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_Vector3fProperty__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_StringProperty__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_StringProperty__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_StringMapProperty__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_StringMapProperty__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_PhysicalParameters__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_PhysicalParameters__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_LightInfoProperty__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_LightInfoProperty__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_ParentProperty__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_ParentProperty__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_UUIDListProperty__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_UUIDListProperty__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_ConnectToSpace__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_ConnectToSpace__FieldAccessorTable;
- internal static pbd::MessageDescriptor internal__static_Sirikata_Protocol__PBJ_Internal_CreateObject__Descriptor;
- internal static pb::FieldAccess.FieldAccessorTable internal__static_Sirikata_Protocol__PBJ_Internal_CreateObject__FieldAccessorTable;
- #endregion
- #region Descriptor
- public static pbd::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbd::FileDescriptor descriptor;
-
- static Sirikata() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- "Cg5TaXJpa2F0YS5wcm90bxIfU2lyaWthdGEuUHJvdG9jb2wuX1BCSl9JbnRl" +
- "cm5hbCI/CgtNZXNzYWdlQm9keRIVCg1tZXNzYWdlX25hbWVzGAkgAygJEhkK" +
- "EW1lc3NhZ2VfYXJndW1lbnRzGAogAygMIroDCg9SZWFkT25seU1lc3NhZ2US" +
- "FQoNc291cmNlX29iamVjdBgBIAEoDBITCgtzb3VyY2VfcG9ydBgDIAEoDRIV" +
- "Cgxzb3VyY2Vfc3BhY2UYgAwgASgMEhoKEmRlc3RpbmF0aW9uX29iamVjdBgC" +
- "IAEoDBIYChBkZXN0aW5hdGlvbl9wb3J0GAQgASgNEhoKEWRlc3RpbmF0aW9u" +
- "X3NwYWNlGIEMIAEoDBIKCgJpZBgHIAEoAxIQCghyZXBseV9pZBgIIAEoAxJV" +
- "Cg1yZXR1cm5fc3RhdHVzGIAOIAEoDjI9LlNpcmlrYXRhLlByb3RvY29sLl9Q" +
- "QkpfSW50ZXJuYWwuUmVhZE9ubHlNZXNzYWdlLlJldHVyblN0YXR1cxIVCg1t" +
- "ZXNzYWdlX25hbWVzGAkgAygJEhkKEW1lc3NhZ2VfYXJndW1lbnRzGAogAygM" +
- "ImsKDFJldHVyblN0YXR1cxILCgdTVUNDRVNTEAASEwoPTkVUV09SS19GQUlM" +
- "VVJFEAESEwoPVElNRU9VVF9GQUlMVVJFEAMSEgoOUFJPVE9DT0xfRVJST1IQ" +
- "BBIQCgxQT1JUX0ZBSUxVUkUQBSLOAQoNU3BhY2VTZXJ2aWNlcxIZChFyZWdp" +
- "c3RyYXRpb25fcG9ydBghIAEoDRIQCghsb2NfcG9ydBgiIAEoDRIRCglnZW9t" +
- "X3BvcnQYIyABKA0SEQoJb3NlZ19wb3J0GCQgASgNEhEKCWNzZWdfcG9ydBgl" +
- "IAEoDRITCgtyb3V0ZXJfcG9ydBgmIAEoDRIdChVwcmVfY29ubmVjdGlvbl9i" +
- "dWZmZXIYQCABKAQSIwobbWF4X3ByZV9jb25uZWN0aW9uX21lc3NhZ2VzGEEg" +
- "ASgEIsQBCgZPYmpMb2MSEQoJdGltZXN0YW1wGAIgASgGEhQKCHBvc2l0aW9u" +
- "GAMgAygBQgIQARIXCgtvcmllbnRhdGlvbhgEIAMoAkICEAESFAoIdmVsb2Np" +
- "dHkYBSADKAJCAhABEhsKD3JvdGF0aW9uYWxfYXhpcxgHIAMoAkICEAESFQoN" +
- "YW5ndWxhcl9zcGVlZBgIIAEoAhIUCgx1cGRhdGVfZmxhZ3MYBiABKA0iGAoL" +
- "VXBkYXRlRmxhZ3MSCQoFRk9SQ0UQASKFAQoKTG9jUmVxdWVzdBIYChByZXF1" +
- "ZXN0ZWRfZmllbGRzGAIgASgNIl0KBkZpZWxkcxIMCghQT1NJVElPThABEg8K" +
- "C09SSUVOVEFUSU9OEAISDAoIVkVMT0NJVFkQBBITCg9ST1RBVElPTkFMX0FY" +
- "SVMQCBIRCg1BTkdVTEFSX1NQRUVEEBAiigEKBk5ld09iahIcChRvYmplY3Rf" +
- "dXVpZF9ldmlkZW5jZRgCIAEoDBJFChRyZXF1ZXN0ZWRfb2JqZWN0X2xvYxgD" +
- "IAEoCzInLlNpcmlrYXRhLlByb3RvY29sLl9QQkpfSW50ZXJuYWwuT2JqTG9j" +
- "EhsKD2JvdW5kaW5nX3NwaGVyZRgEIAMoAkICEAEiegoGUmV0T2JqEhgKEG9i" +
- "amVjdF9yZWZlcmVuY2UYAiABKAwSOQoIbG9jYXRpb24YAyABKAsyJy5TaXJp" +
- "a2F0YS5Qcm90b2NvbC5fUEJKX0ludGVybmFsLk9iakxvYxIbCg9ib3VuZGlu" +
- "Z19zcGhlcmUYBCADKAJCAhABIiIKBkRlbE9iahIYChBvYmplY3RfcmVmZXJl" +
- "bmNlGAIgASgMIpoBCgxOZXdQcm94UXVlcnkSEAoIcXVlcnlfaWQYAiABKA0S" +
- "EQoJc3RhdGVsZXNzGAMgASgIEhsKD3JlbGF0aXZlX2NlbnRlchgEIAMoAkIC" +
- "EAESGwoPYWJzb2x1dGVfY2VudGVyGAUgAygBQgIQARISCgptYXhfcmFkaXVz" +
- "GAYgASgCEhcKD21pbl9zb2xpZF9hbmdsZRgHIAEoAiLhAQoIUHJveENhbGwS" +
- "EAoIcXVlcnlfaWQYAiACKA0SGAoQcHJveGltYXRlX29iamVjdBgDIAIoDBJR" +
- "Cg9wcm94aW1pdHlfZXZlbnQYBCACKA4yOC5TaXJpa2F0YS5Qcm90b2NvbC5f" +
- "UEJKX0ludGVybmFsLlByb3hDYWxsLlByb3hpbWl0eUV2ZW50IlYKDlByb3hp" +
- "bWl0eUV2ZW50EhQKEEVYSVRFRF9QUk9YSU1JVFkQABIVChFFTlRFUkVEX1BS" +
- "T1hJTUlUWRABEhcKE1NUQVRFTEVTU19QUk9YSU1JVFkQAiIgCgxEZWxQcm94" +
- "UXVlcnkSEAoIcXVlcnlfaWQYAiABKA0iJQoQVmVjdG9yM2ZQcm9wZXJ0eRIR" +
- "CgV2YWx1ZRgKIAMoAkICEAEiHwoOU3RyaW5nUHJvcGVydHkSDQoFdmFsdWUY" +
- "CiABKAkiMQoRU3RyaW5nTWFwUHJvcGVydHkSDAoEa2V5cxgCIAMoCRIOCgZ2" +
- "YWx1ZXMYAyADKAkiyQIKElBoeXNpY2FsUGFyYW1ldGVycxJGCgRtb2RlGAIg" +
- "ASgOMjguU2lyaWthdGEuUHJvdG9jb2wuX1BCSl9JbnRlcm5hbC5QaHlzaWNh" +
- "bFBhcmFtZXRlcnMuTW9kZRIPCgdkZW5zaXR5GAMgASgCEhAKCGZyaWN0aW9u" +
- "GAQgASgCEg4KBmJvdW5jZRgFIAEoAhIQCgRodWxsGAYgAygCQgIQARITCgtj" +
- "b2xsaWRlX21zZxgQIAEoDRIUCgxjb2xsaWRlX21hc2sYESABKA0SDwoHZ3Jh" +
- "dml0eRgSIAEoAiJqCgRNb2RlEg8KC05PTlBIWVNJQ0FMEAASCgoGU1RBVElD" +
- "EAESDgoKRFlOQU1JQ0JPWBACEhEKDURZTkFNSUNTUEhFUkUQAxITCg9EWU5B" +
- "TUlDQ1lMSU5ERVIQBBINCglDSEFSQUNURVIQBSLaAwoRTGlnaHRJbmZvUHJv" +
- "cGVydHkSGQoNZGlmZnVzZV9jb2xvchgDIAMoAkICEAESGgoOc3BlY3VsYXJf" +
- "Y29sb3IYBCADKAJCAhABEg0KBXBvd2VyGAUgASgCEhkKDWFtYmllbnRfY29s" +
- "b3IYBiADKAJCAhABEhgKDHNoYWRvd19jb2xvchgHIAMoAkICEAESEwoLbGln" +
- "aHRfcmFuZ2UYCCABKAESGAoQY29uc3RhbnRfZmFsbG9mZhgJIAEoAhIWCg5s" +
- "aW5lYXJfZmFsbG9mZhgKIAEoAhIZChFxdWFkcmF0aWNfZmFsbG9mZhgLIAEo" +
- "AhIaChJjb25lX2lubmVyX3JhZGlhbnMYDCABKAISGgoSY29uZV9vdXRlcl9y" +
- "YWRpYW5zGA0gASgCEhQKDGNvbmVfZmFsbG9mZhgOIAEoAhJLCgR0eXBlGA8g" +
- "ASgOMj0uU2lyaWthdGEuUHJvdG9jb2wuX1BCSl9JbnRlcm5hbC5MaWdodElu" +
- "Zm9Qcm9wZXJ0eS5MaWdodFR5cGVzEhQKDGNhc3RzX3NoYWRvdxgQIAEoCCI3" +
- "CgpMaWdodFR5cGVzEgkKBVBPSU5UEAASDQoJU1BPVExJR0hUEAESDwoLRElS" +
- "RUNUSU9OQUwQAiIfCg5QYXJlbnRQcm9wZXJ0eRINCgV2YWx1ZRgKIAEoDCIh" +
- "ChBVVUlETGlzdFByb3BlcnR5Eg0KBXZhbHVlGAogAygMIqQBCg5Db25uZWN0" +
- "VG9TcGFjZRIQCghzcGFjZV9pZBgBIAEoDBIcChRvYmplY3RfdXVpZF9ldmlk" +
- "ZW5jZRgCIAEoDBJFChRyZXF1ZXN0ZWRfb2JqZWN0X2xvYxgDIAEoCzInLlNp" +
- "cmlrYXRhLlByb3RvY29sLl9QQkpfSW50ZXJuYWwuT2JqTG9jEhsKD2JvdW5k" +
- "aW5nX3NwaGVyZRgEIAMoAkICEAEivgIKDENyZWF0ZU9iamVjdBITCgtvYmpl" +
- "Y3RfdXVpZBgBIAEoDBJJChBzcGFjZV9wcm9wZXJ0aWVzGAIgAygLMi8uU2ly" +
- "aWthdGEuUHJvdG9jb2wuX1BCSl9JbnRlcm5hbC5Db25uZWN0VG9TcGFjZRIM" +
- "CgRtZXNoGAMgASgJEhEKBXNjYWxlGAQgAygCQgIQARIOCgZ3ZWJ1cmwYBSAB" +
- "KAkSRgoKbGlnaHRfaW5mbxgGIAEoCzIyLlNpcmlrYXRhLlByb3RvY29sLl9Q" +
- "QkpfSW50ZXJuYWwuTGlnaHRJbmZvUHJvcGVydHkSDgoGY2FtZXJhGAcgASgI" +
- "EkUKCHBoeXNpY2FsGAggASgLMjMuU2lyaWthdGEuUHJvdG9jb2wuX1BCSl9J" +
- "bnRlcm5hbC5QaHlzaWNhbFBhcmFtZXRlcnM=");
- pbd::FileDescriptor.InternalDescriptorAssigner assigner = delegate(pbd::FileDescriptor root) {
- descriptor = root;
- internal__static_Sirikata_Protocol__PBJ_Internal_MessageBody__Descriptor = Descriptor.MessageTypes[0];
- internal__static_Sirikata_Protocol__PBJ_Internal_MessageBody__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_MessageBody__Descriptor,
- new string[] { "MessageNames", "MessageArguments", });
- internal__static_Sirikata_Protocol__PBJ_Internal_ReadOnlyMessage__Descriptor = Descriptor.MessageTypes[1];
- internal__static_Sirikata_Protocol__PBJ_Internal_ReadOnlyMessage__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_ReadOnlyMessage__Descriptor,
- new string[] { "SourceObject", "SourcePort", "SourceSpace", "DestinationObject", "DestinationPort", "DestinationSpace", "Id", "ReplyId", "ReturnStatus", "MessageNames", "MessageArguments", });
- internal__static_Sirikata_Protocol__PBJ_Internal_SpaceServices__Descriptor = Descriptor.MessageTypes[2];
- internal__static_Sirikata_Protocol__PBJ_Internal_SpaceServices__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_SpaceServices__Descriptor,
- new string[] { "RegistrationPort", "LocPort", "GeomPort", "OsegPort", "CsegPort", "RouterPort", "PreConnectionBuffer", "MaxPreConnectionMessages", });
- internal__static_Sirikata_Protocol__PBJ_Internal_ObjLoc__Descriptor = Descriptor.MessageTypes[3];
- internal__static_Sirikata_Protocol__PBJ_Internal_ObjLoc__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_ObjLoc__Descriptor,
- new string[] { "Timestamp", "Position", "Orientation", "Velocity", "RotationalAxis", "AngularSpeed", "UpdateFlags", });
- internal__static_Sirikata_Protocol__PBJ_Internal_LocRequest__Descriptor = Descriptor.MessageTypes[4];
- internal__static_Sirikata_Protocol__PBJ_Internal_LocRequest__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_LocRequest__Descriptor,
- new string[] { "RequestedFields", });
- internal__static_Sirikata_Protocol__PBJ_Internal_NewObj__Descriptor = Descriptor.MessageTypes[5];
- internal__static_Sirikata_Protocol__PBJ_Internal_NewObj__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_NewObj__Descriptor,
- new string[] { "ObjectUuidEvidence", "RequestedObjectLoc", "BoundingSphere", });
- internal__static_Sirikata_Protocol__PBJ_Internal_RetObj__Descriptor = Descriptor.MessageTypes[6];
- internal__static_Sirikata_Protocol__PBJ_Internal_RetObj__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_RetObj__Descriptor,
- new string[] { "ObjectReference", "Location", "BoundingSphere", });
- internal__static_Sirikata_Protocol__PBJ_Internal_DelObj__Descriptor = Descriptor.MessageTypes[7];
- internal__static_Sirikata_Protocol__PBJ_Internal_DelObj__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_DelObj__Descriptor,
- new string[] { "ObjectReference", });
- internal__static_Sirikata_Protocol__PBJ_Internal_NewProxQuery__Descriptor = Descriptor.MessageTypes[8];
- internal__static_Sirikata_Protocol__PBJ_Internal_NewProxQuery__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_NewProxQuery__Descriptor,
- new string[] { "QueryId", "Stateless", "RelativeCenter", "AbsoluteCenter", "MaxRadius", "MinSolidAngle", });
- internal__static_Sirikata_Protocol__PBJ_Internal_ProxCall__Descriptor = Descriptor.MessageTypes[9];
- internal__static_Sirikata_Protocol__PBJ_Internal_ProxCall__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_ProxCall__Descriptor,
- new string[] { "QueryId", "ProximateObject", "ProximityEvent", });
- internal__static_Sirikata_Protocol__PBJ_Internal_DelProxQuery__Descriptor = Descriptor.MessageTypes[10];
- internal__static_Sirikata_Protocol__PBJ_Internal_DelProxQuery__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_DelProxQuery__Descriptor,
- new string[] { "QueryId", });
- internal__static_Sirikata_Protocol__PBJ_Internal_Vector3fProperty__Descriptor = Descriptor.MessageTypes[11];
- internal__static_Sirikata_Protocol__PBJ_Internal_Vector3fProperty__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_Vector3fProperty__Descriptor,
- new string[] { "Value", });
- internal__static_Sirikata_Protocol__PBJ_Internal_StringProperty__Descriptor = Descriptor.MessageTypes[12];
- internal__static_Sirikata_Protocol__PBJ_Internal_StringProperty__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_StringProperty__Descriptor,
- new string[] { "Value", });
- internal__static_Sirikata_Protocol__PBJ_Internal_StringMapProperty__Descriptor = Descriptor.MessageTypes[13];
- internal__static_Sirikata_Protocol__PBJ_Internal_StringMapProperty__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_StringMapProperty__Descriptor,
- new string[] { "Keys", "Values", });
- internal__static_Sirikata_Protocol__PBJ_Internal_PhysicalParameters__Descriptor = Descriptor.MessageTypes[14];
- internal__static_Sirikata_Protocol__PBJ_Internal_PhysicalParameters__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_PhysicalParameters__Descriptor,
- new string[] { "Mode", "Density", "Friction", "Bounce", "Hull", "CollideMsg", "CollideMask", "Gravity", });
- internal__static_Sirikata_Protocol__PBJ_Internal_LightInfoProperty__Descriptor = Descriptor.MessageTypes[15];
- internal__static_Sirikata_Protocol__PBJ_Internal_LightInfoProperty__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_LightInfoProperty__Descriptor,
- new string[] { "DiffuseColor", "SpecularColor", "Power", "AmbientColor", "ShadowColor", "LightRange", "ConstantFalloff", "LinearFalloff", "QuadraticFalloff", "ConeInnerRadians", "ConeOuterRadians", "ConeFalloff", "Type", "CastsShadow", });
- internal__static_Sirikata_Protocol__PBJ_Internal_ParentProperty__Descriptor = Descriptor.MessageTypes[16];
- internal__static_Sirikata_Protocol__PBJ_Internal_ParentProperty__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_ParentProperty__Descriptor,
- new string[] { "Value", });
- internal__static_Sirikata_Protocol__PBJ_Internal_UUIDListProperty__Descriptor = Descriptor.MessageTypes[17];
- internal__static_Sirikata_Protocol__PBJ_Internal_UUIDListProperty__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_UUIDListProperty__Descriptor,
- new string[] { "Value", });
- internal__static_Sirikata_Protocol__PBJ_Internal_ConnectToSpace__Descriptor = Descriptor.MessageTypes[18];
- internal__static_Sirikata_Protocol__PBJ_Internal_ConnectToSpace__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_ConnectToSpace__Descriptor,
- new string[] { "SpaceId", "ObjectUuidEvidence", "RequestedObjectLoc", "BoundingSphere", });
- internal__static_Sirikata_Protocol__PBJ_Internal_CreateObject__Descriptor = Descriptor.MessageTypes[19];
- internal__static_Sirikata_Protocol__PBJ_Internal_CreateObject__FieldAccessorTable =
- new pb::FieldAccess.FieldAccessorTable(internal__static_Sirikata_Protocol__PBJ_Internal_CreateObject__Descriptor,
- new string[] { "ObjectUuid", "SpaceProperties", "Mesh", "Scale", "Weburl", "LightInfo", "Camera", "Physical", });
- return null;
- };
- pbd::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
- new pbd::FileDescriptor[] {
- }, assigner);
- }
- #endregion
-
- }
- #region Messages
- public sealed partial class MessageBody : pb::GeneratedMessage {
- private static readonly MessageBody defaultInstance = new Builder().BuildPartial();
- public static MessageBody DefaultInstance {
- get { return defaultInstance; }
- }
-
- public override MessageBody DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- protected override MessageBody ThisMessage {
- get { return this; }
- }
-
- public static pbd::MessageDescriptor Descriptor {
- get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_MessageBody__Descriptor; }
- }
-
- protected override pb::FieldAccess.FieldAccessorTable InternalFieldAccessors {
- get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_MessageBody__FieldAccessorTable; }
- }
-
- public const int MessageNamesFieldNumber = 9;
- private pbc::PopsicleList messageNames_ = new pbc::PopsicleList();
- public scg::IList MessageNamesList {
- get { return pbc::Lists.AsReadOnly(messageNames_); }
- }
- public int MessageNamesCount {
- get { return messageNames_.Count; }
- }
- public string GetMessageNames(int index) {
- return messageNames_[index];
- }
-
- public const int MessageArgumentsFieldNumber = 10;
- private pbc::PopsicleList messageArguments_ = new pbc::PopsicleList();
- public scg::IList MessageArgumentsList {
- get { return pbc::Lists.AsReadOnly(messageArguments_); }
- }
- public int MessageArgumentsCount {
- get { return messageArguments_.Count; }
- }
- public pb::ByteString GetMessageArguments(int index) {
- return messageArguments_[index];
- }
-
- public override bool IsInitialized {
- get {
- return true;
- }
- }
-
- public override void WriteTo(pb::CodedOutputStream output) {
- if (messageNames_.Count > 0) {
- foreach (string element in messageNames_) {
- output.WriteString(9, element);
- }
- }
- if (messageArguments_.Count > 0) {
- foreach (pb::ByteString element in messageArguments_) {
- output.WriteBytes(10, element);
- }
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public override int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- {
- int dataSize = 0;
- foreach (string element in MessageNamesList) {
- dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
- }
- size += dataSize;
- size += 1 * messageNames_.Count;
- }
- {
- int dataSize = 0;
- foreach (pb::ByteString element in MessageArgumentsList) {
- dataSize += pb::CodedOutputStream.ComputeBytesSizeNoTag(element);
- }
- size += dataSize;
- size += 1 * messageArguments_.Count;
- }
- size += UnknownFields.SerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static MessageBody ParseFrom(pb::ByteString data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static MessageBody ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static MessageBody ParseFrom(byte[] data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static MessageBody ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static MessageBody ParseFrom(global::System.IO.Stream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static MessageBody ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static MessageBody ParseDelimitedFrom(global::System.IO.Stream input) {
- return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
- }
- public static MessageBody ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
- }
- public static MessageBody ParseFrom(pb::CodedInputStream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static MessageBody ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static Builder CreateBuilder() { return new Builder(); }
- public override Builder ToBuilder() { return CreateBuilder(this); }
- public override Builder CreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder(MessageBody prototype) {
- return (Builder) new Builder().MergeFrom(prototype);
- }
-
- public sealed partial class Builder : pb::GeneratedBuilder {
- protected override Builder ThisBuilder {
- get { return this; }
- }
- public Builder() {}
-
- MessageBody result = new MessageBody();
-
- protected override MessageBody MessageBeingBuilt {
- get { return result; }
- }
-
- public override Builder Clear() {
- result = new MessageBody();
- return this;
- }
-
- public override Builder Clone() {
- return new Builder().MergeFrom(result);
- }
-
- public override pbd::MessageDescriptor DescriptorForType {
- get { return global::Sirikata.Protocol._PBJ_Internal.MessageBody.Descriptor; }
- }
-
- public override MessageBody DefaultInstanceForType {
- get { return global::Sirikata.Protocol._PBJ_Internal.MessageBody.DefaultInstance; }
- }
-
- public override MessageBody BuildPartial() {
- if (result == null) {
- throw new global::System.InvalidOperationException("build() has already been called on this Builder");
- }
- result.messageNames_.MakeReadOnly();
- result.messageArguments_.MakeReadOnly();
- MessageBody returnMe = result;
- result = null;
- return returnMe;
- }
-
- public override Builder MergeFrom(pb::IMessage other) {
- if (other is MessageBody) {
- return MergeFrom((MessageBody) other);
- } else {
- base.MergeFrom(other);
- return this;
- }
- }
-
- public override Builder MergeFrom(MessageBody other) {
- if (other == global::Sirikata.Protocol._PBJ_Internal.MessageBody.DefaultInstance) return this;
- if (other.messageNames_.Count != 0) {
- base.AddRange(other.messageNames_, result.messageNames_);
- }
- if (other.messageArguments_.Count != 0) {
- base.AddRange(other.messageArguments_, result.messageArguments_);
- }
- this.MergeUnknownFields(other.UnknownFields);
- return this;
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input) {
- return MergeFrom(input, pb::ExtensionRegistry.Empty);
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields = null;
- while (true) {
- uint tag = input.ReadTag();
- switch (tag) {
- case 0: {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- default: {
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- ParseUnknownField(input, unknownFields, extensionRegistry, tag);
- break;
- }
- case 74: {
- AddMessageNames(input.ReadString());
- break;
- }
- case 82: {
- AddMessageArguments(input.ReadBytes());
- break;
- }
- }
- }
- }
-
-
- public pbc::IPopsicleList MessageNamesList {
- get { return result.messageNames_; }
- }
- public int MessageNamesCount {
- get { return result.MessageNamesCount; }
- }
- public string GetMessageNames(int index) {
- return result.GetMessageNames(index);
- }
- public Builder SetMessageNames(int index, string value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.messageNames_[index] = value;
- return this;
- }
- public Builder AddMessageNames(string value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.messageNames_.Add(value);
- return this;
- }
- public Builder AddRangeMessageNames(scg::IEnumerable values) {
- base.AddRange(values, result.messageNames_);
- return this;
- }
- public Builder ClearMessageNames() {
- result.messageNames_.Clear();
- return this;
- }
-
- public pbc::IPopsicleList MessageArgumentsList {
- get { return result.messageArguments_; }
- }
- public int MessageArgumentsCount {
- get { return result.MessageArgumentsCount; }
- }
- public pb::ByteString GetMessageArguments(int index) {
- return result.GetMessageArguments(index);
- }
- public Builder SetMessageArguments(int index, pb::ByteString value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.messageArguments_[index] = value;
- return this;
- }
- public Builder AddMessageArguments(pb::ByteString value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.messageArguments_.Add(value);
- return this;
- }
- public Builder AddRangeMessageArguments(scg::IEnumerable values) {
- base.AddRange(values, result.messageArguments_);
- return this;
- }
- public Builder ClearMessageArguments() {
- result.messageArguments_.Clear();
- return this;
- }
- }
- static MessageBody() {
- object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
- }
- }
-
- public sealed partial class ReadOnlyMessage : pb::GeneratedMessage {
- private static readonly ReadOnlyMessage defaultInstance = new Builder().BuildPartial();
- public static ReadOnlyMessage DefaultInstance {
- get { return defaultInstance; }
- }
-
- public override ReadOnlyMessage DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- protected override ReadOnlyMessage ThisMessage {
- get { return this; }
- }
-
- public static pbd::MessageDescriptor Descriptor {
- get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_ReadOnlyMessage__Descriptor; }
- }
-
- protected override pb::FieldAccess.FieldAccessorTable InternalFieldAccessors {
- get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_ReadOnlyMessage__FieldAccessorTable; }
- }
-
- #region Nested types
- public static class Types {
- public enum ReturnStatus {
- SUCCESS = 0,
- NETWORK_FAILURE = 1,
- TIMEOUT_FAILURE = 3,
- PROTOCOL_ERROR = 4,
- PORT_FAILURE = 5,
- }
-
- }
- #endregion
-
- public const int SourceObjectFieldNumber = 1;
- private bool hasSourceObject;
- private pb::ByteString sourceObject_ = pb::ByteString.Empty;
- public bool HasSourceObject {
- get { return hasSourceObject; }
- }
- public pb::ByteString SourceObject {
- get { return sourceObject_; }
- }
-
- public const int SourcePortFieldNumber = 3;
- private bool hasSourcePort;
- private uint sourcePort_ = 0;
- public bool HasSourcePort {
- get { return hasSourcePort; }
- }
- [global::System.CLSCompliant(false)]
- public uint SourcePort {
- get { return sourcePort_; }
- }
-
- public const int SourceSpaceFieldNumber = 1536;
- private bool hasSourceSpace;
- private pb::ByteString sourceSpace_ = pb::ByteString.Empty;
- public bool HasSourceSpace {
- get { return hasSourceSpace; }
- }
- public pb::ByteString SourceSpace {
- get { return sourceSpace_; }
- }
-
- public const int DestinationObjectFieldNumber = 2;
- private bool hasDestinationObject;
- private pb::ByteString destinationObject_ = pb::ByteString.Empty;
- public bool HasDestinationObject {
- get { return hasDestinationObject; }
- }
- public pb::ByteString DestinationObject {
- get { return destinationObject_; }
- }
-
- public const int DestinationPortFieldNumber = 4;
- private bool hasDestinationPort;
- private uint destinationPort_ = 0;
- public bool HasDestinationPort {
- get { return hasDestinationPort; }
- }
- [global::System.CLSCompliant(false)]
- public uint DestinationPort {
- get { return destinationPort_; }
- }
-
- public const int DestinationSpaceFieldNumber = 1537;
- private bool hasDestinationSpace;
- private pb::ByteString destinationSpace_ = pb::ByteString.Empty;
- public bool HasDestinationSpace {
- get { return hasDestinationSpace; }
- }
- public pb::ByteString DestinationSpace {
- get { return destinationSpace_; }
- }
-
- public const int IdFieldNumber = 7;
- private bool hasId;
- private long id_ = 0L;
- public bool HasId {
- get { return hasId; }
- }
- public long Id {
- get { return id_; }
- }
-
- public const int ReplyIdFieldNumber = 8;
- private bool hasReplyId;
- private long replyId_ = 0L;
- public bool HasReplyId {
- get { return hasReplyId; }
- }
- public long ReplyId {
- get { return replyId_; }
- }
-
- public const int ReturnStatusFieldNumber = 1792;
- private bool hasReturnStatus;
- private global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus returnStatus_ = global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus.SUCCESS;
- public bool HasReturnStatus {
- get { return hasReturnStatus; }
- }
- public global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus ReturnStatus {
- get { return returnStatus_; }
- }
-
- public const int MessageNamesFieldNumber = 9;
- private pbc::PopsicleList messageNames_ = new pbc::PopsicleList();
- public scg::IList MessageNamesList {
- get { return pbc::Lists.AsReadOnly(messageNames_); }
- }
- public int MessageNamesCount {
- get { return messageNames_.Count; }
- }
- public string GetMessageNames(int index) {
- return messageNames_[index];
- }
-
- public const int MessageArgumentsFieldNumber = 10;
- private pbc::PopsicleList messageArguments_ = new pbc::PopsicleList();
- public scg::IList MessageArgumentsList {
- get { return pbc::Lists.AsReadOnly(messageArguments_); }
- }
- public int MessageArgumentsCount {
- get { return messageArguments_.Count; }
- }
- public pb::ByteString GetMessageArguments(int index) {
- return messageArguments_[index];
- }
-
- public override bool IsInitialized {
- get {
- return true;
- }
- }
-
- public override void WriteTo(pb::CodedOutputStream output) {
- if (HasSourceObject) {
- output.WriteBytes(1, SourceObject);
- }
- if (HasDestinationObject) {
- output.WriteBytes(2, DestinationObject);
- }
- if (HasSourcePort) {
- output.WriteUInt32(3, SourcePort);
- }
- if (HasDestinationPort) {
- output.WriteUInt32(4, DestinationPort);
- }
- if (HasId) {
- output.WriteInt64(7, Id);
- }
- if (HasReplyId) {
- output.WriteInt64(8, ReplyId);
- }
- if (messageNames_.Count > 0) {
- foreach (string element in messageNames_) {
- output.WriteString(9, element);
- }
- }
- if (messageArguments_.Count > 0) {
- foreach (pb::ByteString element in messageArguments_) {
- output.WriteBytes(10, element);
- }
- }
- if (HasSourceSpace) {
- output.WriteBytes(1536, SourceSpace);
- }
- if (HasDestinationSpace) {
- output.WriteBytes(1537, DestinationSpace);
- }
- if (HasReturnStatus) {
- output.WriteEnum(1792, (int) ReturnStatus);
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public override int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (HasSourceObject) {
- size += pb::CodedOutputStream.ComputeBytesSize(1, SourceObject);
- }
- if (HasSourcePort) {
- size += pb::CodedOutputStream.ComputeUInt32Size(3, SourcePort);
- }
- if (HasSourceSpace) {
- size += pb::CodedOutputStream.ComputeBytesSize(1536, SourceSpace);
- }
- if (HasDestinationObject) {
- size += pb::CodedOutputStream.ComputeBytesSize(2, DestinationObject);
- }
- if (HasDestinationPort) {
- size += pb::CodedOutputStream.ComputeUInt32Size(4, DestinationPort);
- }
- if (HasDestinationSpace) {
- size += pb::CodedOutputStream.ComputeBytesSize(1537, DestinationSpace);
- }
- if (HasId) {
- size += pb::CodedOutputStream.ComputeInt64Size(7, Id);
- }
- if (HasReplyId) {
- size += pb::CodedOutputStream.ComputeInt64Size(8, ReplyId);
- }
- if (HasReturnStatus) {
- size += pb::CodedOutputStream.ComputeEnumSize(1792, (int) ReturnStatus);
- }
- {
- int dataSize = 0;
- foreach (string element in MessageNamesList) {
- dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
- }
- size += dataSize;
- size += 1 * messageNames_.Count;
- }
- {
- int dataSize = 0;
- foreach (pb::ByteString element in MessageArgumentsList) {
- dataSize += pb::CodedOutputStream.ComputeBytesSizeNoTag(element);
- }
- size += dataSize;
- size += 1 * messageArguments_.Count;
- }
- size += UnknownFields.SerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static ReadOnlyMessage ParseFrom(pb::ByteString data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static ReadOnlyMessage ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static ReadOnlyMessage ParseFrom(byte[] data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static ReadOnlyMessage ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static ReadOnlyMessage ParseFrom(global::System.IO.Stream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static ReadOnlyMessage ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static ReadOnlyMessage ParseDelimitedFrom(global::System.IO.Stream input) {
- return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
- }
- public static ReadOnlyMessage ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
- }
- public static ReadOnlyMessage ParseFrom(pb::CodedInputStream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static ReadOnlyMessage ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static Builder CreateBuilder() { return new Builder(); }
- public override Builder ToBuilder() { return CreateBuilder(this); }
- public override Builder CreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder(ReadOnlyMessage prototype) {
- return (Builder) new Builder().MergeFrom(prototype);
- }
-
- public sealed partial class Builder : pb::GeneratedBuilder {
- protected override Builder ThisBuilder {
- get { return this; }
- }
- public Builder() {}
-
- ReadOnlyMessage result = new ReadOnlyMessage();
-
- protected override ReadOnlyMessage MessageBeingBuilt {
- get { return result; }
- }
-
- public override Builder Clear() {
- result = new ReadOnlyMessage();
- return this;
- }
-
- public override Builder Clone() {
- return new Builder().MergeFrom(result);
- }
-
- public override pbd::MessageDescriptor DescriptorForType {
- get { return global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.Descriptor; }
- }
-
- public override ReadOnlyMessage DefaultInstanceForType {
- get { return global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.DefaultInstance; }
- }
-
- public override ReadOnlyMessage BuildPartial() {
- if (result == null) {
- throw new global::System.InvalidOperationException("build() has already been called on this Builder");
- }
- result.messageNames_.MakeReadOnly();
- result.messageArguments_.MakeReadOnly();
- ReadOnlyMessage returnMe = result;
- result = null;
- return returnMe;
- }
-
- public override Builder MergeFrom(pb::IMessage other) {
- if (other is ReadOnlyMessage) {
- return MergeFrom((ReadOnlyMessage) other);
- } else {
- base.MergeFrom(other);
- return this;
- }
- }
-
- public override Builder MergeFrom(ReadOnlyMessage other) {
- if (other == global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.DefaultInstance) return this;
- if (other.HasSourceObject) {
- SourceObject = other.SourceObject;
- }
- if (other.HasSourcePort) {
- SourcePort = other.SourcePort;
- }
- if (other.HasSourceSpace) {
- SourceSpace = other.SourceSpace;
- }
- if (other.HasDestinationObject) {
- DestinationObject = other.DestinationObject;
- }
- if (other.HasDestinationPort) {
- DestinationPort = other.DestinationPort;
- }
- if (other.HasDestinationSpace) {
- DestinationSpace = other.DestinationSpace;
- }
- if (other.HasId) {
- Id = other.Id;
- }
- if (other.HasReplyId) {
- ReplyId = other.ReplyId;
- }
- if (other.HasReturnStatus) {
- ReturnStatus = other.ReturnStatus;
- }
- if (other.messageNames_.Count != 0) {
- base.AddRange(other.messageNames_, result.messageNames_);
- }
- if (other.messageArguments_.Count != 0) {
- base.AddRange(other.messageArguments_, result.messageArguments_);
- }
- this.MergeUnknownFields(other.UnknownFields);
- return this;
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input) {
- return MergeFrom(input, pb::ExtensionRegistry.Empty);
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields = null;
- while (true) {
- uint tag = input.ReadTag();
- switch (tag) {
- case 0: {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- default: {
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- ParseUnknownField(input, unknownFields, extensionRegistry, tag);
- break;
- }
- case 10: {
- SourceObject = input.ReadBytes();
- break;
- }
- case 18: {
- DestinationObject = input.ReadBytes();
- break;
- }
- case 24: {
- SourcePort = input.ReadUInt32();
- break;
- }
- case 32: {
- DestinationPort = input.ReadUInt32();
- break;
- }
- case 56: {
- Id = input.ReadInt64();
- break;
- }
- case 64: {
- ReplyId = input.ReadInt64();
- break;
- }
- case 74: {
- AddMessageNames(input.ReadString());
- break;
- }
- case 82: {
- AddMessageArguments(input.ReadBytes());
- break;
- }
- case 12290: {
- SourceSpace = input.ReadBytes();
- break;
- }
- case 12298: {
- DestinationSpace = input.ReadBytes();
- break;
- }
- case 14336: {
- int rawValue = input.ReadEnum();
- if (!global::System.Enum.IsDefined(typeof(global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus), rawValue)) {
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- unknownFields.MergeVarintField(1792, (ulong) rawValue);
- } else {
- ReturnStatus = (global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus) rawValue;
- }
- break;
- }
- }
- }
- }
-
-
- public bool HasSourceObject {
- get { return result.HasSourceObject; }
- }
- public pb::ByteString SourceObject {
- get { return result.SourceObject; }
- set { SetSourceObject(value); }
- }
- public Builder SetSourceObject(pb::ByteString value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.hasSourceObject = true;
- result.sourceObject_ = value;
- return this;
- }
- public Builder ClearSourceObject() {
- result.hasSourceObject = false;
- result.sourceObject_ = pb::ByteString.Empty;
- return this;
- }
-
- public bool HasSourcePort {
- get { return result.HasSourcePort; }
- }
- [global::System.CLSCompliant(false)]
- public uint SourcePort {
- get { return result.SourcePort; }
- set { SetSourcePort(value); }
- }
- [global::System.CLSCompliant(false)]
- public Builder SetSourcePort(uint value) {
- result.hasSourcePort = true;
- result.sourcePort_ = value;
- return this;
- }
- public Builder ClearSourcePort() {
- result.hasSourcePort = false;
- result.sourcePort_ = 0;
- return this;
- }
-
- public bool HasSourceSpace {
- get { return result.HasSourceSpace; }
- }
- public pb::ByteString SourceSpace {
- get { return result.SourceSpace; }
- set { SetSourceSpace(value); }
- }
- public Builder SetSourceSpace(pb::ByteString value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.hasSourceSpace = true;
- result.sourceSpace_ = value;
- return this;
- }
- public Builder ClearSourceSpace() {
- result.hasSourceSpace = false;
- result.sourceSpace_ = pb::ByteString.Empty;
- return this;
- }
-
- public bool HasDestinationObject {
- get { return result.HasDestinationObject; }
- }
- public pb::ByteString DestinationObject {
- get { return result.DestinationObject; }
- set { SetDestinationObject(value); }
- }
- public Builder SetDestinationObject(pb::ByteString value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.hasDestinationObject = true;
- result.destinationObject_ = value;
- return this;
- }
- public Builder ClearDestinationObject() {
- result.hasDestinationObject = false;
- result.destinationObject_ = pb::ByteString.Empty;
- return this;
- }
-
- public bool HasDestinationPort {
- get { return result.HasDestinationPort; }
- }
- [global::System.CLSCompliant(false)]
- public uint DestinationPort {
- get { return result.DestinationPort; }
- set { SetDestinationPort(value); }
- }
- [global::System.CLSCompliant(false)]
- public Builder SetDestinationPort(uint value) {
- result.hasDestinationPort = true;
- result.destinationPort_ = value;
- return this;
- }
- public Builder ClearDestinationPort() {
- result.hasDestinationPort = false;
- result.destinationPort_ = 0;
- return this;
- }
-
- public bool HasDestinationSpace {
- get { return result.HasDestinationSpace; }
- }
- public pb::ByteString DestinationSpace {
- get { return result.DestinationSpace; }
- set { SetDestinationSpace(value); }
- }
- public Builder SetDestinationSpace(pb::ByteString value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.hasDestinationSpace = true;
- result.destinationSpace_ = value;
- return this;
- }
- public Builder ClearDestinationSpace() {
- result.hasDestinationSpace = false;
- result.destinationSpace_ = pb::ByteString.Empty;
- return this;
- }
-
- public bool HasId {
- get { return result.HasId; }
- }
- public long Id {
- get { return result.Id; }
- set { SetId(value); }
- }
- public Builder SetId(long value) {
- result.hasId = true;
- result.id_ = value;
- return this;
- }
- public Builder ClearId() {
- result.hasId = false;
- result.id_ = 0L;
- return this;
- }
-
- public bool HasReplyId {
- get { return result.HasReplyId; }
- }
- public long ReplyId {
- get { return result.ReplyId; }
- set { SetReplyId(value); }
- }
- public Builder SetReplyId(long value) {
- result.hasReplyId = true;
- result.replyId_ = value;
- return this;
- }
- public Builder ClearReplyId() {
- result.hasReplyId = false;
- result.replyId_ = 0L;
- return this;
- }
-
- public bool HasReturnStatus {
- get { return result.HasReturnStatus; }
- }
- public global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus ReturnStatus {
- get { return result.ReturnStatus; }
- set { SetReturnStatus(value); }
- }
- public Builder SetReturnStatus(global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus value) {
- result.hasReturnStatus = true;
- result.returnStatus_ = value;
- return this;
- }
- public Builder ClearReturnStatus() {
- result.hasReturnStatus = false;
- result.returnStatus_ = global::Sirikata.Protocol._PBJ_Internal.ReadOnlyMessage.Types.ReturnStatus.SUCCESS;
- return this;
- }
-
- public pbc::IPopsicleList MessageNamesList {
- get { return result.messageNames_; }
- }
- public int MessageNamesCount {
- get { return result.MessageNamesCount; }
- }
- public string GetMessageNames(int index) {
- return result.GetMessageNames(index);
- }
- public Builder SetMessageNames(int index, string value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.messageNames_[index] = value;
- return this;
- }
- public Builder AddMessageNames(string value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.messageNames_.Add(value);
- return this;
- }
- public Builder AddRangeMessageNames(scg::IEnumerable values) {
- base.AddRange(values, result.messageNames_);
- return this;
- }
- public Builder ClearMessageNames() {
- result.messageNames_.Clear();
- return this;
- }
-
- public pbc::IPopsicleList MessageArgumentsList {
- get { return result.messageArguments_; }
- }
- public int MessageArgumentsCount {
- get { return result.MessageArgumentsCount; }
- }
- public pb::ByteString GetMessageArguments(int index) {
- return result.GetMessageArguments(index);
- }
- public Builder SetMessageArguments(int index, pb::ByteString value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.messageArguments_[index] = value;
- return this;
- }
- public Builder AddMessageArguments(pb::ByteString value) {
- pb::ThrowHelper.ThrowIfNull(value, "value");
- result.messageArguments_.Add(value);
- return this;
- }
- public Builder AddRangeMessageArguments(scg::IEnumerable values) {
- base.AddRange(values, result.messageArguments_);
- return this;
- }
- public Builder ClearMessageArguments() {
- result.messageArguments_.Clear();
- return this;
- }
- }
- static ReadOnlyMessage() {
- object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
- }
- }
-
- public sealed partial class SpaceServices : pb::GeneratedMessage {
- private static readonly SpaceServices defaultInstance = new Builder().BuildPartial();
- public static SpaceServices DefaultInstance {
- get { return defaultInstance; }
- }
-
- public override SpaceServices DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- protected override SpaceServices ThisMessage {
- get { return this; }
- }
-
- public static pbd::MessageDescriptor Descriptor {
- get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_SpaceServices__Descriptor; }
- }
-
- protected override pb::FieldAccess.FieldAccessorTable InternalFieldAccessors {
- get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_SpaceServices__FieldAccessorTable; }
- }
-
- public const int RegistrationPortFieldNumber = 33;
- private bool hasRegistrationPort;
- private uint registrationPort_ = 0;
- public bool HasRegistrationPort {
- get { return hasRegistrationPort; }
- }
- [global::System.CLSCompliant(false)]
- public uint RegistrationPort {
- get { return registrationPort_; }
- }
-
- public const int LocPortFieldNumber = 34;
- private bool hasLocPort;
- private uint locPort_ = 0;
- public bool HasLocPort {
- get { return hasLocPort; }
- }
- [global::System.CLSCompliant(false)]
- public uint LocPort {
- get { return locPort_; }
- }
-
- public const int GeomPortFieldNumber = 35;
- private bool hasGeomPort;
- private uint geomPort_ = 0;
- public bool HasGeomPort {
- get { return hasGeomPort; }
- }
- [global::System.CLSCompliant(false)]
- public uint GeomPort {
- get { return geomPort_; }
- }
-
- public const int OsegPortFieldNumber = 36;
- private bool hasOsegPort;
- private uint osegPort_ = 0;
- public bool HasOsegPort {
- get { return hasOsegPort; }
- }
- [global::System.CLSCompliant(false)]
- public uint OsegPort {
- get { return osegPort_; }
- }
-
- public const int CsegPortFieldNumber = 37;
- private bool hasCsegPort;
- private uint csegPort_ = 0;
- public bool HasCsegPort {
- get { return hasCsegPort; }
- }
- [global::System.CLSCompliant(false)]
- public uint CsegPort {
- get { return csegPort_; }
- }
-
- public const int RouterPortFieldNumber = 38;
- private bool hasRouterPort;
- private uint routerPort_ = 0;
- public bool HasRouterPort {
- get { return hasRouterPort; }
- }
- [global::System.CLSCompliant(false)]
- public uint RouterPort {
- get { return routerPort_; }
- }
-
- public const int PreConnectionBufferFieldNumber = 64;
- private bool hasPreConnectionBuffer;
- private ulong preConnectionBuffer_ = 0UL;
- public bool HasPreConnectionBuffer {
- get { return hasPreConnectionBuffer; }
- }
- [global::System.CLSCompliant(false)]
- public ulong PreConnectionBuffer {
- get { return preConnectionBuffer_; }
- }
-
- public const int MaxPreConnectionMessagesFieldNumber = 65;
- private bool hasMaxPreConnectionMessages;
- private ulong maxPreConnectionMessages_ = 0UL;
- public bool HasMaxPreConnectionMessages {
- get { return hasMaxPreConnectionMessages; }
- }
- [global::System.CLSCompliant(false)]
- public ulong MaxPreConnectionMessages {
- get { return maxPreConnectionMessages_; }
- }
-
- public override bool IsInitialized {
- get {
- return true;
- }
- }
-
- public override void WriteTo(pb::CodedOutputStream output) {
- if (HasRegistrationPort) {
- output.WriteUInt32(33, RegistrationPort);
- }
- if (HasLocPort) {
- output.WriteUInt32(34, LocPort);
- }
- if (HasGeomPort) {
- output.WriteUInt32(35, GeomPort);
- }
- if (HasOsegPort) {
- output.WriteUInt32(36, OsegPort);
- }
- if (HasCsegPort) {
- output.WriteUInt32(37, CsegPort);
- }
- if (HasRouterPort) {
- output.WriteUInt32(38, RouterPort);
- }
- if (HasPreConnectionBuffer) {
- output.WriteUInt64(64, PreConnectionBuffer);
- }
- if (HasMaxPreConnectionMessages) {
- output.WriteUInt64(65, MaxPreConnectionMessages);
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public override int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (HasRegistrationPort) {
- size += pb::CodedOutputStream.ComputeUInt32Size(33, RegistrationPort);
- }
- if (HasLocPort) {
- size += pb::CodedOutputStream.ComputeUInt32Size(34, LocPort);
- }
- if (HasGeomPort) {
- size += pb::CodedOutputStream.ComputeUInt32Size(35, GeomPort);
- }
- if (HasOsegPort) {
- size += pb::CodedOutputStream.ComputeUInt32Size(36, OsegPort);
- }
- if (HasCsegPort) {
- size += pb::CodedOutputStream.ComputeUInt32Size(37, CsegPort);
- }
- if (HasRouterPort) {
- size += pb::CodedOutputStream.ComputeUInt32Size(38, RouterPort);
- }
- if (HasPreConnectionBuffer) {
- size += pb::CodedOutputStream.ComputeUInt64Size(64, PreConnectionBuffer);
- }
- if (HasMaxPreConnectionMessages) {
- size += pb::CodedOutputStream.ComputeUInt64Size(65, MaxPreConnectionMessages);
- }
- size += UnknownFields.SerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static SpaceServices ParseFrom(pb::ByteString data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static SpaceServices ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static SpaceServices ParseFrom(byte[] data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static SpaceServices ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static SpaceServices ParseFrom(global::System.IO.Stream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static SpaceServices ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static SpaceServices ParseDelimitedFrom(global::System.IO.Stream input) {
- return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
- }
- public static SpaceServices ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
- }
- public static SpaceServices ParseFrom(pb::CodedInputStream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static SpaceServices ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static Builder CreateBuilder() { return new Builder(); }
- public override Builder ToBuilder() { return CreateBuilder(this); }
- public override Builder CreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder(SpaceServices prototype) {
- return (Builder) new Builder().MergeFrom(prototype);
- }
-
- public sealed partial class Builder : pb::GeneratedBuilder {
- protected override Builder ThisBuilder {
- get { return this; }
- }
- public Builder() {}
-
- SpaceServices result = new SpaceServices();
-
- protected override SpaceServices MessageBeingBuilt {
- get { return result; }
- }
-
- public override Builder Clear() {
- result = new SpaceServices();
- return this;
- }
-
- public override Builder Clone() {
- return new Builder().MergeFrom(result);
- }
-
- public override pbd::MessageDescriptor DescriptorForType {
- get { return global::Sirikata.Protocol._PBJ_Internal.SpaceServices.Descriptor; }
- }
-
- public override SpaceServices DefaultInstanceForType {
- get { return global::Sirikata.Protocol._PBJ_Internal.SpaceServices.DefaultInstance; }
- }
-
- public override SpaceServices BuildPartial() {
- if (result == null) {
- throw new global::System.InvalidOperationException("build() has already been called on this Builder");
- }
- SpaceServices returnMe = result;
- result = null;
- return returnMe;
- }
-
- public override Builder MergeFrom(pb::IMessage other) {
- if (other is SpaceServices) {
- return MergeFrom((SpaceServices) other);
- } else {
- base.MergeFrom(other);
- return this;
- }
- }
-
- public override Builder MergeFrom(SpaceServices other) {
- if (other == global::Sirikata.Protocol._PBJ_Internal.SpaceServices.DefaultInstance) return this;
- if (other.HasRegistrationPort) {
- RegistrationPort = other.RegistrationPort;
- }
- if (other.HasLocPort) {
- LocPort = other.LocPort;
- }
- if (other.HasGeomPort) {
- GeomPort = other.GeomPort;
- }
- if (other.HasOsegPort) {
- OsegPort = other.OsegPort;
- }
- if (other.HasCsegPort) {
- CsegPort = other.CsegPort;
- }
- if (other.HasRouterPort) {
- RouterPort = other.RouterPort;
- }
- if (other.HasPreConnectionBuffer) {
- PreConnectionBuffer = other.PreConnectionBuffer;
- }
- if (other.HasMaxPreConnectionMessages) {
- MaxPreConnectionMessages = other.MaxPreConnectionMessages;
- }
- this.MergeUnknownFields(other.UnknownFields);
- return this;
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input) {
- return MergeFrom(input, pb::ExtensionRegistry.Empty);
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields = null;
- while (true) {
- uint tag = input.ReadTag();
- switch (tag) {
- case 0: {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- default: {
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- ParseUnknownField(input, unknownFields, extensionRegistry, tag);
- break;
- }
- case 264: {
- RegistrationPort = input.ReadUInt32();
- break;
- }
- case 272: {
- LocPort = input.ReadUInt32();
- break;
- }
- case 280: {
- GeomPort = input.ReadUInt32();
- break;
- }
- case 288: {
- OsegPort = input.ReadUInt32();
- break;
- }
- case 296: {
- CsegPort = input.ReadUInt32();
- break;
- }
- case 304: {
- RouterPort = input.ReadUInt32();
- break;
- }
- case 512: {
- PreConnectionBuffer = input.ReadUInt64();
- break;
- }
- case 520: {
- MaxPreConnectionMessages = input.ReadUInt64();
- break;
- }
- }
- }
- }
-
-
- public bool HasRegistrationPort {
- get { return result.HasRegistrationPort; }
- }
- [global::System.CLSCompliant(false)]
- public uint RegistrationPort {
- get { return result.RegistrationPort; }
- set { SetRegistrationPort(value); }
- }
- [global::System.CLSCompliant(false)]
- public Builder SetRegistrationPort(uint value) {
- result.hasRegistrationPort = true;
- result.registrationPort_ = value;
- return this;
- }
- public Builder ClearRegistrationPort() {
- result.hasRegistrationPort = false;
- result.registrationPort_ = 0;
- return this;
- }
-
- public bool HasLocPort {
- get { return result.HasLocPort; }
- }
- [global::System.CLSCompliant(false)]
- public uint LocPort {
- get { return result.LocPort; }
- set { SetLocPort(value); }
- }
- [global::System.CLSCompliant(false)]
- public Builder SetLocPort(uint value) {
- result.hasLocPort = true;
- result.locPort_ = value;
- return this;
- }
- public Builder ClearLocPort() {
- result.hasLocPort = false;
- result.locPort_ = 0;
- return this;
- }
-
- public bool HasGeomPort {
- get { return result.HasGeomPort; }
- }
- [global::System.CLSCompliant(false)]
- public uint GeomPort {
- get { return result.GeomPort; }
- set { SetGeomPort(value); }
- }
- [global::System.CLSCompliant(false)]
- public Builder SetGeomPort(uint value) {
- result.hasGeomPort = true;
- result.geomPort_ = value;
- return this;
- }
- public Builder ClearGeomPort() {
- result.hasGeomPort = false;
- result.geomPort_ = 0;
- return this;
- }
-
- public bool HasOsegPort {
- get { return result.HasOsegPort; }
- }
- [global::System.CLSCompliant(false)]
- public uint OsegPort {
- get { return result.OsegPort; }
- set { SetOsegPort(value); }
- }
- [global::System.CLSCompliant(false)]
- public Builder SetOsegPort(uint value) {
- result.hasOsegPort = true;
- result.osegPort_ = value;
- return this;
- }
- public Builder ClearOsegPort() {
- result.hasOsegPort = false;
- result.osegPort_ = 0;
- return this;
- }
-
- public bool HasCsegPort {
- get { return result.HasCsegPort; }
- }
- [global::System.CLSCompliant(false)]
- public uint CsegPort {
- get { return result.CsegPort; }
- set { SetCsegPort(value); }
- }
- [global::System.CLSCompliant(false)]
- public Builder SetCsegPort(uint value) {
- result.hasCsegPort = true;
- result.csegPort_ = value;
- return this;
- }
- public Builder ClearCsegPort() {
- result.hasCsegPort = false;
- result.csegPort_ = 0;
- return this;
- }
-
- public bool HasRouterPort {
- get { return result.HasRouterPort; }
- }
- [global::System.CLSCompliant(false)]
- public uint RouterPort {
- get { return result.RouterPort; }
- set { SetRouterPort(value); }
- }
- [global::System.CLSCompliant(false)]
- public Builder SetRouterPort(uint value) {
- result.hasRouterPort = true;
- result.routerPort_ = value;
- return this;
- }
- public Builder ClearRouterPort() {
- result.hasRouterPort = false;
- result.routerPort_ = 0;
- return this;
- }
-
- public bool HasPreConnectionBuffer {
- get { return result.HasPreConnectionBuffer; }
- }
- [global::System.CLSCompliant(false)]
- public ulong PreConnectionBuffer {
- get { return result.PreConnectionBuffer; }
- set { SetPreConnectionBuffer(value); }
- }
- [global::System.CLSCompliant(false)]
- public Builder SetPreConnectionBuffer(ulong value) {
- result.hasPreConnectionBuffer = true;
- result.preConnectionBuffer_ = value;
- return this;
- }
- public Builder ClearPreConnectionBuffer() {
- result.hasPreConnectionBuffer = false;
- result.preConnectionBuffer_ = 0UL;
- return this;
- }
-
- public bool HasMaxPreConnectionMessages {
- get { return result.HasMaxPreConnectionMessages; }
- }
- [global::System.CLSCompliant(false)]
- public ulong MaxPreConnectionMessages {
- get { return result.MaxPreConnectionMessages; }
- set { SetMaxPreConnectionMessages(value); }
- }
- [global::System.CLSCompliant(false)]
- public Builder SetMaxPreConnectionMessages(ulong value) {
- result.hasMaxPreConnectionMessages = true;
- result.maxPreConnectionMessages_ = value;
- return this;
- }
- public Builder ClearMaxPreConnectionMessages() {
- result.hasMaxPreConnectionMessages = false;
- result.maxPreConnectionMessages_ = 0UL;
- return this;
- }
- }
- static SpaceServices() {
- object.ReferenceEquals(global::Sirikata.Protocol._PBJ_Internal.Sirikata.Descriptor, null);
- }
- }
-
- public sealed partial class ObjLoc : pb::GeneratedMessage {
- private static readonly ObjLoc defaultInstance = new Builder().BuildPartial();
- public static ObjLoc DefaultInstance {
- get { return defaultInstance; }
- }
-
- public override ObjLoc DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- protected override ObjLoc ThisMessage {
- get { return this; }
- }
-
- public static pbd::MessageDescriptor Descriptor {
- get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_ObjLoc__Descriptor; }
- }
-
- protected override pb::FieldAccess.FieldAccessorTable InternalFieldAccessors {
- get { return global::Sirikata.Protocol._PBJ_Internal.Sirikata.internal__static_Sirikata_Protocol__PBJ_Internal_ObjLoc__FieldAccessorTable; }
- }
-
- #region Nested types
- public static class Types {
- public enum UpdateFlags {
- FORCE = 1,
- }
-
- }
- #endregion
-
- public const int TimestampFieldNumber = 2;
- private bool hasTimestamp;
- private ulong timestamp_ = 0;
- public bool HasTimestamp {
- get { return hasTimestamp; }
- }
- [global::System.CLSCompliant(false)]
- public ulong Timestamp {
- get { return timestamp_; }
- }
-
- public const int PositionFieldNumber = 3;
- private int positionMemoizedSerializedSize;
- private pbc::PopsicleList position_ = new pbc::PopsicleList();
- public scg::IList PositionList {
- get { return pbc::Lists.AsReadOnly(position_); }
- }
- public int PositionCount {
- get { return position_.Count; }
- }
- public double GetPosition(int index) {
- return position_[index];
- }
-
- public const int OrientationFieldNumber = 4;
- private int orientationMemoizedSerializedSize;
- private pbc::PopsicleList orientation_ = new pbc::PopsicleList();
- public scg::IList OrientationList {
- get { return pbc::Lists.AsReadOnly(orientation_); }
- }
- public int OrientationCount {
- get { return orientation_.Count; }
- }
- public float GetOrientation(int index) {
- return orientation_[index];
- }
-
- public const int VelocityFieldNumber = 5;
- private int velocityMemoizedSerializedSize;
- private pbc::PopsicleList velocity_ = new pbc::PopsicleList();
- public scg::IList VelocityList {
- get { return pbc::Lists.AsReadOnly(velocity_); }
- }
- public int VelocityCount {
- get { return velocity_.Count; }
- }
- public float GetVelocity(int index) {
- return velocity_[index];
- }
-
- public const int RotationalAxisFieldNumber = 7;
- private int rotationalAxisMemoizedSerializedSize;
- private pbc::PopsicleList rotationalAxis_ = new pbc::PopsicleList();
- public scg::IList RotationalAxisList {
- get { return pbc::Lists.AsReadOnly(rotationalAxis_); }
- }
- public int RotationalAxisCount {
- get { return rotationalAxis_.Count; }
- }
- public float GetRotationalAxis(int index) {
- return rotationalAxis_[index];
- }
-
- public const int AngularSpeedFieldNumber = 8;
- private bool hasAngularSpeed;
- private float angularSpeed_ = 0F;
- public bool HasAngularSpeed {
- get { return hasAngularSpeed; }
- }
- public float AngularSpeed {
- get { return angularSpeed_; }
- }
-
- public const int UpdateFlagsFieldNumber = 6;
- private bool hasUpdateFlags;
- private uint updateFlags_ = 0;
- public bool HasUpdateFlags {
- get { return hasUpdateFlags; }
- }
- [global::System.CLSCompliant(false)]
- public uint UpdateFlags {
- get { return updateFlags_; }
- }
-
- public override bool IsInitialized {
- get {
- return true;
- }
- }
-
- public override void WriteTo(pb::CodedOutputStream output) {
- if (HasTimestamp) {
- output.WriteFixed64(2, Timestamp);
- }
- if (position_.Count > 0) {
- output.WriteRawVarint32(26);
- output.WriteRawVarint32((uint) positionMemoizedSerializedSize);
- foreach (double element in position_) {
- output.WriteDoubleNoTag(element);
- }
- }
- if (orientation_.Count > 0) {
- output.WriteRawVarint32(34);
- output.WriteRawVarint32((uint) orientationMemoizedSerializedSize);
- foreach (float element in orientation_) {
- output.WriteFloatNoTag(element);
- }
- }
- if (velocity_.Count > 0) {
- output.WriteRawVarint32(42);
- output.WriteRawVarint32((uint) velocityMemoizedSerializedSize);
- foreach (float element in velocity_) {
- output.WriteFloatNoTag(element);
- }
- }
- if (HasUpdateFlags) {
- output.WriteUInt32(6, UpdateFlags);
- }
- if (rotationalAxis_.Count > 0) {
- output.WriteRawVarint32(58);
- output.WriteRawVarint32((uint) rotationalAxisMemoizedSerializedSize);
- foreach (float element in rotationalAxis_) {
- output.WriteFloatNoTag(element);
- }
- }
- if (HasAngularSpeed) {
- output.WriteFloat(8, AngularSpeed);
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public override int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (HasTimestamp) {
- size += pb::CodedOutputStream.ComputeFixed64Size(2, Timestamp);
- }
- {
- int dataSize = 0;
- dataSize = 8 * position_.Count;
- size += dataSize;
- if (position_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
- positionMemoizedSerializedSize = dataSize;
- }
- {
- int dataSize = 0;
- dataSize = 4 * orientation_.Count;
- size += dataSize;
- if (orientation_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
- orientationMemoizedSerializedSize = dataSize;
- }
- {
- int dataSize = 0;
- dataSize = 4 * velocity_.Count;
- size += dataSize;
- if (velocity_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
- velocityMemoizedSerializedSize = dataSize;
- }
- {
- int dataSize = 0;
- dataSize = 4 * rotationalAxis_.Count;
- size += dataSize;
- if (rotationalAxis_.Count!=0) size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
- rotationalAxisMemoizedSerializedSize = dataSize;
- }
- if (HasAngularSpeed) {
- size += pb::CodedOutputStream.ComputeFloatSize(8, AngularSpeed);
- }
- if (HasUpdateFlags) {
- size += pb::CodedOutputStream.ComputeUInt32Size(6, UpdateFlags);
- }
- size += UnknownFields.SerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static ObjLoc ParseFrom(pb::ByteString data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static ObjLoc ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static ObjLoc ParseFrom(byte[] data) {
- return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
- }
- public static ObjLoc ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
- }
- public static ObjLoc ParseFrom(global::System.IO.Stream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static ObjLoc ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static ObjLoc ParseDelimitedFrom(global::System.IO.Stream input) {
- return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
- }
- public static ObjLoc ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
- return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
- }
- public static ObjLoc ParseFrom(pb::CodedInputStream input) {
- return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
- }
- public static ObjLoc ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
- }
- public static Builder CreateBuilder() { return new Builder(); }
- public override Builder ToBuilder() { return CreateBuilder(this); }
- public override Builder CreateBuilderForType() { return new Builder(); }
- public static Builder CreateBuilder(ObjLoc prototype) {
- return (Builder) new Builder().MergeFrom(prototype);
- }
-
- public sealed partial class Builder : pb::GeneratedBuilder {
- protected override Builder ThisBuilder {
- get { return this; }
- }
- public Builder() {}
-
- ObjLoc result = new ObjLoc();
-
- protected override ObjLoc MessageBeingBuilt {
- get { return result; }
- }
-
- public override Builder Clear() {
- result = new ObjLoc();
- return this;
- }
-
- public override Builder Clone() {
- return new Builder().MergeFrom(result);
- }
-
- public override pbd::MessageDescriptor DescriptorForType {
- get { return global::Sirikata.Protocol._PBJ_Internal.ObjLoc.Descriptor; }
- }
-
- public override ObjLoc DefaultInstanceForType {
- get { return global::Sirikata.Protocol._PBJ_Internal.ObjLoc.DefaultInstance; }
- }
-
- public override ObjLoc BuildPartial() {
- if (result == null) {
- throw new global::System.InvalidOperationException("build() has already been called on this Builder");
- }
- result.position_.MakeReadOnly();
- result.orientation_.MakeReadOnly();
- result.velocity_.MakeReadOnly();
- result.rotationalAxis_.MakeReadOnly();
- ObjLoc returnMe = result;
- result = null;
- return returnMe;
- }
-
- public override Builder MergeFrom(pb::IMessage other) {
- if (other is ObjLoc) {
- return MergeFrom((ObjLoc) other);
- } else {
- base.MergeFrom(other);
- return this;
- }
- }
-
- public override Builder MergeFrom(ObjLoc other) {
- if (other == global::Sirikata.Protocol._PBJ_Internal.ObjLoc.DefaultInstance) return this;
- if (other.HasTimestamp) {
- Timestamp = other.Timestamp;
- }
- if (other.position_.Count != 0) {
- base.AddRange(other.position_, result.position_);
- }
- if (other.orientation_.Count != 0) {
- base.AddRange(other.orientation_, result.orientation_);
- }
- if (other.velocity_.Count != 0) {
- base.AddRange(other.velocity_, result.velocity_);
- }
- if (other.rotationalAxis_.Count != 0) {
- base.AddRange(other.rotationalAxis_, result.rotationalAxis_);
- }
- if (other.HasAngularSpeed) {
- AngularSpeed = other.AngularSpeed;
- }
- if (other.HasUpdateFlags) {
- UpdateFlags = other.UpdateFlags;
- }
- this.MergeUnknownFields(other.UnknownFields);
- return this;
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input) {
- return MergeFrom(input, pb::ExtensionRegistry.Empty);
- }
-
- public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields = null;
- while (true) {
- uint tag = input.ReadTag();
- switch (tag) {
- case 0: {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- default: {
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- if (unknownFields != null) {
- this.UnknownFields = unknownFields.Build();
- }
- return this;
- }
- if (unknownFields == null) {
- unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
- }
- ParseUnknownField(input, unknownFields, extensionRegistry, tag);
- break;
- }
- case 17: {
- Timestamp = input.ReadFixed64();
- break;
- }
- case 26: {
- int length = input.ReadInt32();
- int limit = input.PushLimit(length);
- while (!input.ReachedLimit) {
- AddPosition(input.ReadDouble());
- }
- input.PopLimit(limit);
- break;
- }
- case 34: {
- int length = input.ReadInt32();
- int limit = input.PushLimit(length);
- while (!input.ReachedLimit) {
- AddOrientation(input.ReadFloat());
- }
- input.PopLimit(limit);
- break;
- }
- case 42: {
- int length = input.ReadInt32();
- int limit = input.PushLimit(length);
- while (!input.ReachedLimit) {
- AddVelocity(input.ReadFloat());
- }
- input.PopLimit(limit);
- break;
- }
- case 48: {
- UpdateFlags = input.ReadUInt32();
- break;
- }
- case 58: {
- int length = input.ReadInt32();
- int limit = input.PushLimit(length);
- while (!input.ReachedLimit) {
- AddRotationalAxis(input.ReadFloat());
- }
- input.PopLimit(limit);
- break;
- }
- case 69: {
- AngularSpeed = input.ReadFloat();
- break;
- }
- }
- }
- }
-
-
- public bool HasTimestamp {
- get { return result.HasTimestamp; }
- }
- [global::System.CLSCompliant(false)]
- public ulong Timestamp {
- get { return result.Timestamp; }
- set { SetTimestamp(value); }
- }
- [global::System.CLSCompliant(false)]
- public Builder SetTimestamp(ulong value) {
- result.hasTimestamp = true;
- result.timestamp_ = value;
- return this;
- }
- public Builder ClearTimestamp() {
- result.hasTimestamp = false;
- result.timestamp_ = 0;
- return this;
- }
-
- public pbc::IPopsicleList PositionList {
- get { return result.position_; }
- }
- public int PositionCount {
- get { return result.PositionCount; }
- }
- public double GetPosition(int index) {
- return result.GetPosition(index);
- }
- public Builder SetPosition(int index, double value) {
- result.position_[index] = value;
- return this;
- }
- public Builder AddPosition(double value) {
- result.position_.Add(value);
- return this;
- }
- public Builder AddRangePosition(scg::IEnumerable values) {
- base.AddRange(values, result.position_);
- return this;
- }
- public Builder ClearPosition() {
- result.position_.Clear();
- return this;
- }
-
- public pbc::IPopsicleList OrientationList {
- get { return result.orientation_; }
- }
- public int OrientationCount {
- get { return result.OrientationCount; }
- }
- public float GetOrientation(int index) {
- return result.GetOrientation(index);
- }
- public Builder SetOrientation(int index, float value) {
- result.orientation_[index] = value;
- return this;
- }
- public Builder AddOrientation(float value) {
- result.orientation_.Add(value);
- return this;
- }
- public Builder AddRangeOrientation(scg::IEnumerable values) {
- base.AddRange(values, result.orientation_);
- return this;
- }
- public Builder ClearOrientation() {
- result.orientation_.Clear();
- return this;
- }
-
- public pbc::IPopsicleList VelocityList {
- get { return result.velocity_; }
- }
- public int VelocityCount {
- get { return result.VelocityCount; }
- }
- public float GetVelocity(int index) {
- return result.GetVelocity(index);
- }
- public Builder SetVelocity(int index, float value) {
- result.velocity_[index] = value;
- return this;
- }
- public Builder AddVelocity(float value) {
- result.velocity_.Add(value);
- return this;
- }
- public Builder AddRangeVelocity(scg::IEnumerable values) {
- base.AddRange(values, result.velocity_);
- return this;
- }
- public Builder ClearVelocity() {
- result.velocity_.Clear();
- return this;
- }
-
- public pbc::IPopsicleList RotationalAxisList {
- get { return result.rotationalAxis_; }
- }
- public int RotationalAxisCount {
- get { return result.RotationalAxisCount; }
- }
- public float GetRotationalAxis(int index) {
- return result.GetRotationalAxis(index);
- }
- public Builder SetRotationalAxis(int index, float value) {
- result.rotationalAxis_[index] = value;
- return this;
- }
- public Builder AddRotationalAxis(float value) {
- result.rotationalAxis_.Add(value);
- return this;
- }
- public Builder AddRangeRotationalAxis(scg::IEnumerable