aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer
diff options
context:
space:
mode:
authorMW2007-04-04 11:06:39 +0000
committerMW2007-04-04 11:06:39 +0000
commita70ef1c2cb90a5b40a2e19acb81cf7310c140663 (patch)
treec7b9cdf97a243bace8711e70eed49e811af7f12d /OpenSim.RegionServer
parentFinished initial sim<>Grid login (kinda) (diff)
downloadopensim-SC_OLD-a70ef1c2cb90a5b40a2e19acb81cf7310c140663.zip
opensim-SC_OLD-a70ef1c2cb90a5b40a2e19acb81cf7310c140663.tar.gz
opensim-SC_OLD-a70ef1c2cb90a5b40a2e19acb81cf7310c140663.tar.bz2
opensim-SC_OLD-a70ef1c2cb90a5b40a2e19acb81cf7310c140663.tar.xz
Started to clean up/ rewrite Primitive class , currently the new version is called Primitive2 and not used, but once it is complete then it will replace the old version.
Diffstat (limited to 'OpenSim.RegionServer')
-rw-r--r--OpenSim.RegionServer/OpenSim.RegionServer.csproj47
-rw-r--r--OpenSim.RegionServer/SimClient.cs43
-rw-r--r--OpenSim.RegionServer/world/Entity.cs4
-rw-r--r--OpenSim.RegionServer/world/World.cs32
4 files changed, 64 insertions, 62 deletions
diff --git a/OpenSim.RegionServer/OpenSim.RegionServer.csproj b/OpenSim.RegionServer/OpenSim.RegionServer.csproj
index 6c0f2da..0f47576 100644
--- a/OpenSim.RegionServer/OpenSim.RegionServer.csproj
+++ b/OpenSim.RegionServer/OpenSim.RegionServer.csproj
@@ -1,4 +1,4 @@
1<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 1<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <PropertyGroup> 2 <PropertyGroup>
3 <ProjectType>Local</ProjectType> 3 <ProjectType>Local</ProjectType>
4 <ProductVersion>8.0.50727</ProductVersion> 4 <ProductVersion>8.0.50727</ProductVersion>
@@ -6,7 +6,8 @@
6 <ProjectGuid>{632E1BFD-0000-0000-0000-000000000000}</ProjectGuid> 6 <ProjectGuid>{632E1BFD-0000-0000-0000-000000000000}</ProjectGuid>
7 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 7 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
8 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> 8 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
9 <ApplicationIcon></ApplicationIcon> 9 <ApplicationIcon>
10 </ApplicationIcon>
10 <AssemblyKeyContainerName> 11 <AssemblyKeyContainerName>
11 </AssemblyKeyContainerName> 12 </AssemblyKeyContainerName>
12 <AssemblyName>OpenSim.RegionServer</AssemblyName> 13 <AssemblyName>OpenSim.RegionServer</AssemblyName>
@@ -15,9 +16,11 @@
15 <DefaultTargetSchema>IE50</DefaultTargetSchema> 16 <DefaultTargetSchema>IE50</DefaultTargetSchema>
16 <DelaySign>false</DelaySign> 17 <DelaySign>false</DelaySign>
17 <OutputType>Library</OutputType> 18 <OutputType>Library</OutputType>
18 <AppDesignerFolder></AppDesignerFolder> 19 <AppDesignerFolder>
20 </AppDesignerFolder>
19 <RootNamespace>OpenSim.RegionServer</RootNamespace> 21 <RootNamespace>OpenSim.RegionServer</RootNamespace>
20 <StartupObject></StartupObject> 22 <StartupObject>
23 </StartupObject>
21 <FileUpgradeFlags> 24 <FileUpgradeFlags>
22 </FileUpgradeFlags> 25 </FileUpgradeFlags>
23 </PropertyGroup> 26 </PropertyGroup>
@@ -28,7 +31,8 @@
28 <ConfigurationOverrideFile> 31 <ConfigurationOverrideFile>
29 </ConfigurationOverrideFile> 32 </ConfigurationOverrideFile>
30 <DefineConstants>TRACE;DEBUG</DefineConstants> 33 <DefineConstants>TRACE;DEBUG</DefineConstants>
31 <DocumentationFile></DocumentationFile> 34 <DocumentationFile>
35 </DocumentationFile>
32 <DebugSymbols>True</DebugSymbols> 36 <DebugSymbols>True</DebugSymbols>
33 <FileAlignment>4096</FileAlignment> 37 <FileAlignment>4096</FileAlignment>
34 <Optimize>False</Optimize> 38 <Optimize>False</Optimize>
@@ -37,7 +41,8 @@
37 <RemoveIntegerChecks>False</RemoveIntegerChecks> 41 <RemoveIntegerChecks>False</RemoveIntegerChecks>
38 <TreatWarningsAsErrors>False</TreatWarningsAsErrors> 42 <TreatWarningsAsErrors>False</TreatWarningsAsErrors>
39 <WarningLevel>4</WarningLevel> 43 <WarningLevel>4</WarningLevel>
40 <NoWarn></NoWarn> 44 <NoWarn>
45 </NoWarn>
41 </PropertyGroup> 46 </PropertyGroup>
42 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> 47 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
43 <AllowUnsafeBlocks>False</AllowUnsafeBlocks> 48 <AllowUnsafeBlocks>False</AllowUnsafeBlocks>
@@ -46,7 +51,8 @@
46 <ConfigurationOverrideFile> 51 <ConfigurationOverrideFile>
47 </ConfigurationOverrideFile> 52 </ConfigurationOverrideFile>
48 <DefineConstants>TRACE</DefineConstants> 53 <DefineConstants>TRACE</DefineConstants>
49 <DocumentationFile></DocumentationFile> 54 <DocumentationFile>
55 </DocumentationFile>
50 <DebugSymbols>False</DebugSymbols> 56 <DebugSymbols>False</DebugSymbols>
51 <FileAlignment>4096</FileAlignment> 57 <FileAlignment>4096</FileAlignment>
52 <Optimize>True</Optimize> 58 <Optimize>True</Optimize>
@@ -55,26 +61,28 @@
55 <RemoveIntegerChecks>False</RemoveIntegerChecks> 61 <RemoveIntegerChecks>False</RemoveIntegerChecks>
56 <TreatWarningsAsErrors>False</TreatWarningsAsErrors> 62 <TreatWarningsAsErrors>False</TreatWarningsAsErrors>
57 <WarningLevel>4</WarningLevel> 63 <WarningLevel>4</WarningLevel>
58 <NoWarn></NoWarn> 64 <NoWarn>
65 </NoWarn>
59 </PropertyGroup> 66 </PropertyGroup>
60 <ItemGroup> 67 <ItemGroup>
61 <Reference Include="System" > 68 <Reference Include="System">
62 <HintPath>System.dll</HintPath> 69 <HintPath>System.dll</HintPath>
63 <Private>False</Private> 70 <Private>False</Private>
64 </Reference> 71 </Reference>
65 <Reference Include="System.Xml" > 72 <Reference Include="System.Data" />
73 <Reference Include="System.Xml">
66 <HintPath>System.Xml.dll</HintPath> 74 <HintPath>System.Xml.dll</HintPath>
67 <Private>False</Private> 75 <Private>False</Private>
68 </Reference> 76 </Reference>
69 <Reference Include="libsecondlife.dll" > 77 <Reference Include="libsecondlife.dll">
70 <HintPath>..\bin\libsecondlife.dll</HintPath> 78 <HintPath>..\bin\libsecondlife.dll</HintPath>
71 <Private>False</Private> 79 <Private>False</Private>
72 </Reference> 80 </Reference>
73 <Reference Include="Axiom.MathLib.dll" > 81 <Reference Include="Axiom.MathLib.dll">
74 <HintPath>..\bin\Axiom.MathLib.dll</HintPath> 82 <HintPath>..\bin\Axiom.MathLib.dll</HintPath>
75 <Private>False</Private> 83 <Private>False</Private>
76 </Reference> 84 </Reference>
77 <Reference Include="Db4objects.Db4o.dll" > 85 <Reference Include="Db4objects.Db4o.dll">
78 <HintPath>..\bin\Db4objects.Db4o.dll</HintPath> 86 <HintPath>..\bin\Db4objects.Db4o.dll</HintPath>
79 <Private>False</Private> 87 <Private>False</Private>
80 </Reference> 88 </Reference>
@@ -84,31 +92,31 @@
84 <Name>OpenSim.Framework</Name> 92 <Name>OpenSim.Framework</Name>
85 <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> 93 <Project>{8ACA2445-0000-0000-0000-000000000000}</Project>
86 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> 94 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
87 <Private>False</Private> 95 <Private>False</Private>
88 </ProjectReference> 96 </ProjectReference>
89 <ProjectReference Include="..\OpenSim.Framework.Console\OpenSim.Framework.Console.csproj"> 97 <ProjectReference Include="..\OpenSim.Framework.Console\OpenSim.Framework.Console.csproj">
90 <Name>OpenSim.Framework.Console</Name> 98 <Name>OpenSim.Framework.Console</Name>
91 <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> 99 <Project>{A7CD0630-0000-0000-0000-000000000000}</Project>
92 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> 100 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
93 <Private>False</Private> 101 <Private>False</Private>
94 </ProjectReference> 102 </ProjectReference>
95 <ProjectReference Include="..\OpenSim.GenericConfig\Xml\OpenSim.GenericConfig.Xml.csproj"> 103 <ProjectReference Include="..\OpenSim.GenericConfig\Xml\OpenSim.GenericConfig.Xml.csproj">
96 <Name>OpenSim.GenericConfig.Xml</Name> 104 <Name>OpenSim.GenericConfig.Xml</Name>
97 <Project>{E88EF749-0000-0000-0000-000000000000}</Project> 105 <Project>{E88EF749-0000-0000-0000-000000000000}</Project>
98 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> 106 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
99 <Private>False</Private> 107 <Private>False</Private>
100 </ProjectReference> 108 </ProjectReference>
101 <ProjectReference Include="..\OpenSim.Physics\Manager\OpenSim.Physics.Manager.csproj"> 109 <ProjectReference Include="..\OpenSim.Physics\Manager\OpenSim.Physics.Manager.csproj">
102 <Name>OpenSim.Physics.Manager</Name> 110 <Name>OpenSim.Physics.Manager</Name>
103 <Project>{8BE16150-0000-0000-0000-000000000000}</Project> 111 <Project>{8BE16150-0000-0000-0000-000000000000}</Project>
104 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> 112 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
105 <Private>False</Private> 113 <Private>False</Private>
106 </ProjectReference> 114 </ProjectReference>
107 <ProjectReference Include="..\Servers\OpenSim.Servers.csproj"> 115 <ProjectReference Include="..\Servers\OpenSim.Servers.csproj">
108 <Name>OpenSim.Servers</Name> 116 <Name>OpenSim.Servers</Name>
109 <Project>{8BB20F0A-0000-0000-0000-000000000000}</Project> 117 <Project>{8BB20F0A-0000-0000-0000-000000000000}</Project>
110 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> 118 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
111 <Private>False</Private> 119 <Private>False</Private>
112 </ProjectReference> 120 </ProjectReference>
113 </ItemGroup> 121 </ItemGroup>
114 <ItemGroup> 122 <ItemGroup>
@@ -172,6 +180,7 @@
172 <Compile Include="world\Primitive.cs"> 180 <Compile Include="world\Primitive.cs">
173 <SubType>Code</SubType> 181 <SubType>Code</SubType>
174 </Compile> 182 </Compile>
183 <Compile Include="world\Primitive2.cs" />
175 <Compile Include="world\ScriptEngine.cs"> 184 <Compile Include="world\ScriptEngine.cs">
176 <SubType>Code</SubType> 185 <SubType>Code</SubType>
177 </Compile> 186 </Compile>
@@ -210,4 +219,4 @@
210 <PostBuildEvent> 219 <PostBuildEvent>
211 </PostBuildEvent> 220 </PostBuildEvent>
212 </PropertyGroup> 221 </PropertyGroup>
213</Project> 222</Project> \ No newline at end of file
diff --git a/OpenSim.RegionServer/SimClient.cs b/OpenSim.RegionServer/SimClient.cs
index 4359646..1564238 100644
--- a/OpenSim.RegionServer/SimClient.cs
+++ b/OpenSim.RegionServer/SimClient.cs
@@ -345,16 +345,19 @@ namespace OpenSim
345 AssetUploadRequestPacket request = (AssetUploadRequestPacket)Pack; 345 AssetUploadRequestPacket request = (AssetUploadRequestPacket)Pack;
346 this.UploadAssets.HandleUploadPacket(request, request.AssetBlock.TransactionID.Combine(this.SecureSessionID)); 346 this.UploadAssets.HandleUploadPacket(request, request.AssetBlock.TransactionID.Combine(this.SecureSessionID));
347 break; 347 break;
348 case PacketType.RequestXfer:
349 //Console.WriteLine(Pack.ToString());
350 break;
348 case PacketType.SendXferPacket: 351 case PacketType.SendXferPacket:
349 this.UploadAssets.HandleXferPacket((SendXferPacketPacket)Pack); 352 this.UploadAssets.HandleXferPacket((SendXferPacketPacket)Pack);
350 break; 353 break;
351 case PacketType.CreateInventoryFolder: 354 case PacketType.CreateInventoryFolder:
352 CreateInventoryFolderPacket invFolder = (CreateInventoryFolderPacket)Pack; 355 CreateInventoryFolderPacket invFolder = (CreateInventoryFolderPacket)Pack;
353 m_inventoryCache.CreateNewInventoryFolder(this, invFolder.FolderData.FolderID, (ushort)invFolder.FolderData.Type, Helpers.FieldToString(invFolder.FolderData.Name), invFolder.FolderData.ParentID); 356 m_inventoryCache.CreateNewInventoryFolder(this, invFolder.FolderData.FolderID, (ushort)invFolder.FolderData.Type, Helpers.FieldToString(invFolder.FolderData.Name), invFolder.FolderData.ParentID);
354 Console.WriteLine(Pack.ToString()); 357 //Console.WriteLine(Pack.ToString());
355 break; 358 break;
356 case PacketType.CreateInventoryItem: 359 case PacketType.CreateInventoryItem:
357 Console.WriteLine(Pack.ToString()); 360 //Console.WriteLine(Pack.ToString());
358 CreateInventoryItemPacket createItem = (CreateInventoryItemPacket)Pack; 361 CreateInventoryItemPacket createItem = (CreateInventoryItemPacket)Pack;
359 if (createItem.InventoryBlock.TransactionID != LLUUID.Zero) 362 if (createItem.InventoryBlock.TransactionID != LLUUID.Zero)
360 { 363 {
@@ -362,7 +365,7 @@ namespace OpenSim
362 } 365 }
363 else 366 else
364 { 367 {
365 Console.Write(Pack.ToString()); 368 // Console.Write(Pack.ToString());
366 this.CreateInventoryItem(createItem); 369 this.CreateInventoryItem(createItem);
367 } 370 }
368 break; 371 break;
@@ -385,7 +388,7 @@ namespace OpenSim
385 AssetBase asset = m_assetCache.GetAsset(update.InventoryData[i].TransactionID.Combine(this.SecureSessionID)); 388 AssetBase asset = m_assetCache.GetAsset(update.InventoryData[i].TransactionID.Combine(this.SecureSessionID));
386 if (asset != null) 389 if (asset != null)
387 { 390 {
388 Console.WriteLine("updating inventory item, found asset" + asset.FullID.ToStringHyphenated() + " already in cache"); 391 // Console.WriteLine("updating inventory item, found asset" + asset.FullID.ToStringHyphenated() + " already in cache");
389 m_inventoryCache.UpdateInventoryItemAsset(this, update.InventoryData[i].ItemID, asset); 392 m_inventoryCache.UpdateInventoryItemAsset(this, update.InventoryData[i].ItemID, asset);
390 } 393 }
391 else 394 else
@@ -393,12 +396,12 @@ namespace OpenSim
393 asset = this.UploadAssets.AddUploadToAssetCache(update.InventoryData[i].TransactionID); 396 asset = this.UploadAssets.AddUploadToAssetCache(update.InventoryData[i].TransactionID);
394 if (asset != null) 397 if (asset != null)
395 { 398 {
396 Console.WriteLine("updating inventory item, adding asset" + asset.FullID.ToStringHyphenated() + " to cache"); 399 //Console.WriteLine("updating inventory item, adding asset" + asset.FullID.ToStringHyphenated() + " to cache");
397 m_inventoryCache.UpdateInventoryItemAsset(this, update.InventoryData[i].ItemID, asset); 400 m_inventoryCache.UpdateInventoryItemAsset(this, update.InventoryData[i].ItemID, asset);
398 } 401 }
399 else 402 else
400 { 403 {
401 Console.WriteLine("trying to update inventory item, but asset is null"); 404 //Console.WriteLine("trying to update inventory item, but asset is null");
402 } 405 }
403 } 406 }
404 } 407 }
@@ -441,24 +444,30 @@ namespace OpenSim
441 } 444 }
442 break; 445 break;
443 case PacketType.UpdateTaskInventory: 446 case PacketType.UpdateTaskInventory:
444 Console.WriteLine(Pack.ToString()); 447 // Console.WriteLine(Pack.ToString());
445 UpdateTaskInventoryPacket updatetask = (UpdateTaskInventoryPacket)Pack; 448 UpdateTaskInventoryPacket updatetask = (UpdateTaskInventoryPacket)Pack;
446 AgentInventory myinventory = this.m_inventoryCache.GetAgentsInventory(this.AgentID); 449 AgentInventory myinventory = this.m_inventoryCache.GetAgentsInventory(this.AgentID);
447 if (myinventory != null) 450 if (myinventory != null)
448 { 451 {
449 if (myinventory.InventoryItems[updatetask.InventoryData.ItemID] != null) 452 if (updatetask.UpdateData.Key == 0)
450 { 453 {
451 if (myinventory.InventoryItems[updatetask.InventoryData.ItemID].Type == 7) 454 if (myinventory.InventoryItems[updatetask.InventoryData.ItemID] != null)
452 { 455 {
453 LLUUID noteaid = myinventory.InventoryItems[updatetask.InventoryData.ItemID].AssetID; 456 if (myinventory.InventoryItems[updatetask.InventoryData.ItemID].Type == 7)
454 AssetBase assBase = this.m_assetCache.GetAsset(noteaid);
455 if (assBase != null)
456 { 457 {
457 foreach (Entity ent in m_world.Entities.Values) 458 LLUUID noteaid = myinventory.InventoryItems[updatetask.InventoryData.ItemID].AssetID;
459 AssetBase assBase = this.m_assetCache.GetAsset(noteaid);
460 if (assBase != null)
458 { 461 {
459 if (ent.localid == updatetask.UpdateData.LocalID) 462 foreach (Entity ent in m_world.Entities.Values)
460 { 463 {
461 this.m_world.AddScript(ent, Helpers.FieldToString(assBase.Data)); 464 if (ent.localid == updatetask.UpdateData.LocalID)
465 {
466 if (ent is OpenSim.world.Primitive)
467 {
468 this.m_world.AddScript(ent, Helpers.FieldToString(assBase.Data));
469 }
470 }
462 } 471 }
463 } 472 }
464 } 473 }
@@ -520,7 +529,7 @@ namespace OpenSim
520 return; 529 return;
521 } 530 }
522 531
523 OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Sending PacketAck"); 532 //OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Sending PacketAck");
524 533
525 534
526 int i = 0; 535 int i = 0;
@@ -817,7 +826,7 @@ namespace OpenSim
817 826
818 protected bool AgentTextureCached(SimClient simclient, Packet packet) 827 protected bool AgentTextureCached(SimClient simclient, Packet packet)
819 { 828 {
820 Console.WriteLine(packet.ToString()); 829 // Console.WriteLine(packet.ToString());
821 AgentCachedTexturePacket chechedtex = (AgentCachedTexturePacket)packet; 830 AgentCachedTexturePacket chechedtex = (AgentCachedTexturePacket)packet;
822 AgentCachedTextureResponsePacket cachedresp = new AgentCachedTextureResponsePacket(); 831 AgentCachedTextureResponsePacket cachedresp = new AgentCachedTextureResponsePacket();
823 cachedresp.AgentData.AgentID = this.AgentID; 832 cachedresp.AgentData.AgentID = this.AgentID;
diff --git a/OpenSim.RegionServer/world/Entity.cs b/OpenSim.RegionServer/world/Entity.cs
index 424d395..b59d200 100644
--- a/OpenSim.RegionServer/world/Entity.cs
+++ b/OpenSim.RegionServer/world/Entity.cs
@@ -23,11 +23,11 @@ namespace OpenSim.world
23 get { return m_name; } 23 get { return m_name; }
24 } 24 }
25 25
26 private LLVector3 m_pos; 26 protected LLVector3 m_pos;
27 protected PhysicsActor _physActor; 27 protected PhysicsActor _physActor;
28 protected World m_world; 28 protected World m_world;
29 29
30 public LLVector3 Pos 30 public virtual LLVector3 Pos
31 { 31 {
32 get 32 get
33 { 33 {
diff --git a/OpenSim.RegionServer/world/World.cs b/OpenSim.RegionServer/world/World.cs
index 0799e38..b6f71aa 100644
--- a/OpenSim.RegionServer/world/World.cs
+++ b/OpenSim.RegionServer/world/World.cs
@@ -76,32 +76,16 @@ namespace OpenSim.world
76 scriptend = scriptData.LastIndexOf("</Script>"); 76 scriptend = scriptData.LastIndexOf("</Script>");
77 substring = scriptData.Substring(scriptstart + 8, scriptend - scriptstart - 8); 77 substring = scriptData.Substring(scriptstart + 8, scriptend - scriptstart - 8);
78 substring = substring.Trim(); 78 substring = substring.Trim();
79 Console.WriteLine("searching for script to add: " + substring); 79 //Console.WriteLine("searching for script to add: " + substring);
80 80
81 ScriptFactory scriptFactory; 81 ScriptFactory scriptFactory;
82 82
83 if (this.m_scripts.TryGetValue(substring, out scriptFactory )) 83 if (this.m_scripts.TryGetValue(substring, out scriptFactory))
84 { 84 {
85 Console.WriteLine("added script"); 85 //Console.WriteLine("added script");
86
87
88
89 this.AddScript(entity, scriptFactory()); 86 this.AddScript(entity, scriptFactory());
90 } 87 }
91 /*string delimStr = " "; 88
92 char[] delimiter = delimStr.ToCharArray();
93 string[] line;
94 line = scriptData.Split(delimiter);
95 if (line.Length > 1)
96 {
97 if (line[0] == "script:")
98 {
99 if (this.m_scripts.ContainsKey(line[1]))
100 {
101 this.AddScript(entity, this.m_scripts[line[1]]);
102 }
103 }
104 }*/
105 } 89 }
106 90
107 public InventoryCache InventoryCache 91 public InventoryCache InventoryCache
@@ -566,8 +550,8 @@ namespace OpenSim.world
566 { 550 {
567 this.m_scripts.Add("FollowRandomAvatar", delegate() 551 this.m_scripts.Add("FollowRandomAvatar", delegate()
568 { 552 {
569 return new FollowRandomAvatar(); 553 return new FollowRandomAvatar();
570 }); 554 });
571 } 555 }
572 556
573 557