More code added, EntityContainer switched to a LinkedList
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,474 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<DirectedGraph DataVirtualized="True" Layout="Sugiyama" ZoomLevel="-1" xmlns="http://schemas.microsoft.com/vs/2009/dgml">
|
||||
<Nodes>
|
||||
<Node Id="@10" Category="CodeSchema_Assembly" Bounds="-247.539595907509,31.1512403926179,191.687955984508,145.000399860881" DelayedChildNodesState="Fetched" DelayedCrossGroupLinksState="NotFetched" FetchedChildrenCount="1" FilePath="$(57017f07-7412-4b61-b912-b1d36c3af16f.OutputPath)" Group="Expanded" Label="Game.dll" UseManualLocation="True" />
|
||||
<Node Id="@12" Category="CodeSchema_Assembly" Bounds="-24.41648656244,519.736489837651,149.85,25" CodeSchemaProperty_IsExternal="True" CodeSchemaProperty_StrongName="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" DelayedChildNodesState="NotFetched" FilePath="$(ProgramFiles) (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2\System.Core.dll" Group="Collapsed" Label="System.Core.dll">
|
||||
<Category Ref="FileSystem.Category.FileOfType.dll" />
|
||||
</Node>
|
||||
<Node Id="@14" Category="CodeSchema_Assembly" Bounds="-24.4164865624399,492.736489837651,124.24,25" CodeSchemaProperty_IsExternal="True" CodeSchemaProperty_StrongName="OpenTK, Version=3.3.3.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4" DelayedChildNodesState="NotFetched" FilePath="$(VsSolution)\packages\OpenTK.3.3.3\lib\net20\OpenTK.dll" Group="Collapsed" Label="OpenTK.dll">
|
||||
<Category Ref="FileSystem.Category.FileOfType.dll" />
|
||||
</Node>
|
||||
<Node Id="@16" Category="CodeSchema_Assembly" Bounds="-24.41648656244,654.736489837651,144.89,25" CodeSchemaProperty_IsExternal="True" CodeSchemaProperty_StrongName="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" DelayedChildNodesState="NotFetched" FilePath="$(ProgramFiles) (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2\System.Xml.dll" Group="Collapsed" Label="System.Xml.dll">
|
||||
<Category Ref="FileSystem.Category.FileOfType.dll" />
|
||||
</Node>
|
||||
<Node Id="@18" Category="CodeSchema_Assembly" Bounds="-24.41648656244,600.736489837651,119.37,25" CodeSchemaProperty_IsExternal="True" CodeSchemaProperty_StrongName="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" DelayedChildNodesState="NotFetched" FilePath="$(ProgramFiles) (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2\System.dll" Group="Collapsed" Label="System.dll">
|
||||
<Category Ref="FileSystem.Category.FileOfType.dll" />
|
||||
</Node>
|
||||
<Node Id="@2" Bounds="119.866164922619,-277.124916078531,145.223333333333,25" DelayedChildNodesState="NotFetched" DelayedCrossGroupLinksState="NotFetched" ErrorLevel="Error" FilePath="$(2509a432-198b-4098-8b43-24c3e3923468.OutputPath)" Group="Collapsed" Label="StgSharp.exe" UseManualLocation="True" />
|
||||
<Node Id="@20" Category="CodeSchema_Assembly" Bounds="-24.4164865624399,438.736489837651,178.13,25" CodeSchemaProperty_IsExternal="True" CodeSchemaProperty_StrongName="Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" DelayedChildNodesState="NotFetched" FilePath="$(ProgramFiles) (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2\Microsoft.CSharp.dll" Group="Collapsed" Label="Microsoft.CSharp.dll">
|
||||
<Category Ref="FileSystem.Category.FileOfType.dll" />
|
||||
</Node>
|
||||
<Node Id="@22" Category="CodeSchema_Assembly" Bounds="-24.4164865624398,627.736489837651,173.03,25" CodeSchemaProperty_IsExternal="True" CodeSchemaProperty_StrongName="System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" DelayedChildNodesState="NotFetched" FilePath="$(ProgramFiles) (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2\System.Net.Http.dll" Group="Collapsed" Label="System.Net.Http.dll">
|
||||
<Category Ref="FileSystem.Category.FileOfType.dll" />
|
||||
</Node>
|
||||
<Node Id="@24" Category="CodeSchema_Assembly" Bounds="237.89351343756,438.736489837651,172.696666666667,25" CodeSchemaProperty_IsExternal="True" CodeSchemaProperty_StrongName="System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" DelayedChildNodesState="NotFetched" FilePath="$(ProgramFiles) (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2\System.Xml.Linq.dll" Group="Collapsed" Label="System.Xml.Linq.dll">
|
||||
<Category Ref="FileSystem.Category.FileOfType.dll" />
|
||||
</Node>
|
||||
<Node Id="@26" Category="CodeSchema_Assembly" Bounds="-24.4164865624401,546.736489837651,260.31,25" CodeSchemaProperty_IsExternal="True" CodeSchemaProperty_StrongName="System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" DelayedChildNodesState="NotFetched" FilePath="$(ProgramFiles) (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2\System.Data.DataSetExtensions.dll" Group="Collapsed" Label="System.Data.DataSetExtensions.dll">
|
||||
<Category Ref="FileSystem.Category.FileOfType.dll" />
|
||||
</Node>
|
||||
<Node Id="@28" Category="CodeSchema_Assembly" Bounds="104.053001890782,-222.124915847331,188.77,145.0004" DelayedChildNodesState="Fetched" DelayedCrossGroupLinksState="NotFetched" FetchedChildrenCount="1" FilePath="$(a7275572-a4e7-4863-b326-f09bfa241334.OutputPath)" Group="Expanded" Label="StgSharp_Entity.dll" UseManualLocation="True" />
|
||||
<Node Id="@29" Category="CodeSchema_Namespace" Bounds="124.053001890782,-182.124815847331,148.77,85.0002" DelayedChildNodesState="Fetched" DelayedCrossGroupLinksState="Fetched" FetchedChildrenCount="1" Group="Expanded" Label="StgSharp_Entity" UseManualLocation="True" />
|
||||
<Node Id="@30" Category="CodeSchema_Namespace" Bounds="-227.514973256334,71.1513402534986,151.663333333333,85.0002" DelayedChildNodesState="Fetched" DelayedCrossGroupLinksState="Fetched" FetchedChildrenCount="1" Group="Expanded" Label="StgSharp_Game" UseManualLocation="True" />
|
||||
<Node Id="@32" Category="CodeSchema_Namespace" Bounds="11.0467249162026,-7.12441561613089,357.231666666667,195.0004" DelayedChildNodesState="Fetched" DelayedCrossGroupLinksState="Fetched" FetchedChildrenCount="4" Group="Expanded" Label="StgSharp_Logic" UseManualLocation="True" />
|
||||
<Node Id="@33" Category="CodeSchema_Class" Bounds="214.995058249536,142.876070506915,133.283333333333,25" CodeSchemaProperty_IsGeneric="True" CodeSchemaProperty_IsPublic="True" DelayedChildNodesState="NotFetched" DelayedCrossGroupLinksState="Fetched" Group="Collapsed" Label="Counter<T>" />
|
||||
<Node Id="@34" Category="CodeSchema_Class" Bounds="151.346335224115,-142.123197098279,94.1833333333334,25" CodeSchemaProperty_IsPublic="True" DelayedChildNodesState="NotFetched" DelayedCrossGroupLinksState="Fetched" Group="Collapsed" Label="Bullet" />
|
||||
<Node Id="@35" Category="CodeSchema_Class" Bounds="-207.514973256334,111.151440253499,111.663333333333,25.0000000000001" CodeSchemaProperty_IsPublic="True" DelayedChildNodesState="NotFetched" DelayedCrossGroupLinksState="Fetched" Group="Collapsed" Label="CoreInfo" />
|
||||
<Node Id="@36" Category="CodeSchema_Class" Bounds="115.023391582869,32.8760700445149,151.226666666667,25" CodeSchemaProperty_IsPublic="True" DelayedChildNodesState="NotFetched" DelayedCrossGroupLinksState="Fetched" Group="Collapsed" Label="EntityContainer" />
|
||||
<Node Id="@37" Category="CodeSchema_Class" Bounds="131.045058249536,87.8760702757149,119.183333333333,25" CodeSchemaProperty_IsPublic="True" DelayedChildNodesState="NotFetched" DelayedCrossGroupLinksState="Fetched" Group="Collapsed" Label="LinkedList" />
|
||||
<Node Id="@38" Category="CodeSchema_Class" Bounds="31.0467249162025,142.876070506915,137.18,25" CodeSchemaProperty_IsPublic="True" DelayedChildNodesState="NotFetched" DelayedCrossGroupLinksState="Fetched" Group="Collapsed" Label="LinkedTarget" />
|
||||
<Node Id="@4" Category="CodeSchema_Assembly" Bounds="-24.4164865624399,573.736489837651,149.676666666667,25" CodeSchemaProperty_IsExternal="True" CodeSchemaProperty_StrongName="System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" DelayedChildNodesState="NotFetched" FilePath="$(ProgramFiles) (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2\System.Data.dll" Group="Collapsed" Label="System.Data.dll">
|
||||
<Category Ref="FileSystem.Category.FileOfType.dll" />
|
||||
</Node>
|
||||
<Node Id="@6" Category="CodeSchema_Assembly" Bounds="-24.4164865624399,465.736489837651,127.226666666667,25" CodeSchemaProperty_IsExternal="True" CodeSchemaProperty_StrongName="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" DelayedChildNodesState="NotFetched" FilePath="$(ProgramFiles) (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2\mscorlib.dll" Group="Collapsed" Label="mscorlib.dll">
|
||||
<Category Ref="FileSystem.Category.FileOfType.dll" />
|
||||
</Node>
|
||||
<Node Id="@8" Category="CodeSchema_Assembly" Bounds="-8.95327508379737,-47.1245156161309,397.231666666667,255.0006" DelayedChildNodesState="Fetched" DelayedCrossGroupLinksState="NotFetched" FetchedChildrenCount="1" FilePath="$(ae7f3290-9ab4-4b54-aab1-4ddcba20f89d.OutputPath)" Group="Expanded" Label="StgSharp_Logic.dll" UseManualLocation="True" />
|
||||
<Node Id="_standardGraphExternalsGroup" Category="Externals" Bounds="-30.41648656244,412.736766695868,447.006666666667,273.0002" Group="Expanded" Label="外部" LayoutSettings="List" UseManualLocation="True" />
|
||||
</Nodes>
|
||||
<Links>
|
||||
<Link Source="@10" Target="@12" Category="CodeMap_ExternalReference" Bounds="-117.490411815687,176.151640253499,158.261281395354,335.445268448648" />
|
||||
<Link Source="@10" Target="@14" Category="CodeMap_ExternalReference" Bounds="-117.502425448731,176.151640253499,145.471469649766,308.444748003823" />
|
||||
<Link Source="@10" Target="@16" Category="CodeMap_ExternalReference" Bounds="-126.002886238848,176.151640253499,166.595386799849,470.101778300573" />
|
||||
<Link Source="@10" Target="@18" Category="CodeMap_ExternalReference" Bounds="-125.095667787573,176.151640253499,152.678004285678,416.13558606537" />
|
||||
<Link Source="@10" Target="@20" Category="CodeMap_ExternalReference" Bounds="-106.569992406445,176.151640253499,158.68243681701,254.94402049755" />
|
||||
<Link Source="@10" Target="@22" Category="CodeMap_ExternalReference" Bounds="-122.809018705948,176.151640253499,176.595866347875,443.224054321542" />
|
||||
<Link Source="@10" Target="@24" Category="CodeMap_ExternalReference" Bounds="-56.3344689271117,173.295274129397,356.192365258478,260.13321098126" />
|
||||
<Link Source="@10" Target="@26" Category="CodeMap_ExternalReference" Bounds="-110.7284570923,176.151640253499,204.976089589779,362.749264964729" />
|
||||
<Link Source="@10" Target="@30" Category="Contains" FetchingParent="@10" />
|
||||
<Link Source="@10" Target="@4" Category="CodeMap_ExternalReference" Bounds="-121.33090476486,176.151640253499,163.040689255767,389.283524902536" />
|
||||
<Link Source="@10" Target="@6" Category="CodeMap_ExternalReference" Bounds="-114.748756653988,176.151640253499,143.489016738554,281.566066676238" />
|
||||
<Link Source="@2" Target="@12" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@2" Target="@14" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@2" Target="@18" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@2" Target="@28" Category="CodeMap_ProjectReference" Bounds="193.143734522195,-252.16652969892,1.08720641362677,21.012023469448" />
|
||||
<Link Source="@2" Target="@6" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@2" Target="@8" Category="CodeMap_ProjectReference" Bounds="94.8905792236328,-252.166534423828,59.5381164550781,197.296508789063" />
|
||||
<Link Source="@28" Target="@12" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@28" Target="@14" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@28" Target="@16" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@28" Target="@18" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@28" Target="@20" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@28" Target="@22" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@28" Target="@24" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@28" Target="@26" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@28" Target="@29" Category="Contains" FetchingParent="@28" />
|
||||
<Link Source="@28" Target="@4" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@28" Target="@6" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@28" Target="@8" Category="CodeMap_ProjectReference" Bounds="156.784654438844,45.9997663999921,1.59607517330198,21.0259188719425" />
|
||||
<Link Source="@29" Target="@34" Category="Contains" FetchingParent="@29" />
|
||||
<Link Source="@30" Target="@35" Category="Contains" FetchingParent="@30" />
|
||||
<Link Source="@32" Target="@33" Category="Contains" FetchingParent="@32" />
|
||||
<Link Source="@32" Target="@36" Category="Contains" FetchingParent="@32" />
|
||||
<Link Source="@32" Target="@37" Category="Contains" FetchingParent="@32" />
|
||||
<Link Source="@32" Target="@38" Category="Contains" FetchingParent="@32" />
|
||||
<Link Source="@34" Target="@38" Category="InheritsFrom" IsSourceVirtualized="True" IsTargetVirtualized="True" Weight="2">
|
||||
<Category Ref="CodeSchema_Calls" />
|
||||
</Link>
|
||||
<Link Source="@34" Target="@6" Category="References" IsSourceVirtualized="True" IsTargetVirtualized="True" Weight="28">
|
||||
<Category Ref="CodeSchema_Calls" />
|
||||
<Category Ref="CodeSchema_ReturnTypeLink" />
|
||||
</Link>
|
||||
<Link Source="@35" Target="@6" Category="References" IsSourceVirtualized="True" IsTargetVirtualized="True" Weight="6">
|
||||
<Category Ref="CodeSchema_ReturnTypeLink" />
|
||||
</Link>
|
||||
<Link Source="@36" Target="@33" Category="References" Bounds="217.565490722656,57.8762092590332,58.2672729492188,76.3201713562012" IsSourceVirtualized="True" Weight="1" />
|
||||
<Link Source="@36" Target="@37" Category="References" Bounds="190.636724916203,57.8762101965407,5.6843418860808E-14,21.0001" IsSourceVirtualized="True" IsTargetVirtualized="True" Weight="6">
|
||||
<Category Ref="CodeSchema_Calls" />
|
||||
<Category Ref="CodeSchema_ReturnTypeLink" />
|
||||
</Link>
|
||||
<Link Source="@36" Target="@38" Category="References" Bounds="105.44068145752,57.8762092590332,58.2672805786133,76.3202018737793" IsSourceVirtualized="True" Weight="2" />
|
||||
<Link Source="@36" Target="@6" Category="References" IsSourceVirtualized="True" IsTargetVirtualized="True" Weight="14">
|
||||
<Category Ref="CodeSchema_ReturnTypeLink" />
|
||||
</Link>
|
||||
<Link Source="@37" Target="@33" Category="References" Bounds="211.318518000209,112.876310196541,41.9339570501282,25.3447300723623" IsSourceVirtualized="True" IsTargetVirtualized="True" Weight="6">
|
||||
<Category Ref="CodeSchema_Calls" />
|
||||
<Category Ref="CodeSchema_ReturnTypeLink" />
|
||||
</Link>
|
||||
<Link Source="@37" Target="@38" Category="References" Bounds="128.02096103053,112.876310196541,41.9339833070921,25.3447612669055" IsSourceVirtualized="True" IsTargetVirtualized="True" Weight="19">
|
||||
<Category Ref="CodeSchema_Calls" />
|
||||
<Category Ref="CodeSchema_ReturnTypeLink" />
|
||||
</Link>
|
||||
<Link Source="@37" Target="@6" Category="References" IsSourceVirtualized="True" IsTargetVirtualized="True" Weight="7" />
|
||||
<Link Source="@38" Target="@6" Category="CodeSchema_Calls" IsSourceVirtualized="True" IsTargetVirtualized="True" Weight="10" />
|
||||
<Link Source="@8" Target="@10" Category="CodeMap_ProjectReference" Bounds="-46.8724888933178,93.9184914977901,37.9192138095204,2.58553811140844" />
|
||||
<Link Source="@8" Target="@12" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@8" Target="@14" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@8" Target="@16" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@8" Target="@18" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@8" Target="@20" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@8" Target="@22" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@8" Target="@24" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@8" Target="@26" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@8" Target="@32" Category="Contains" FetchingParent="@8" />
|
||||
<Link Source="@8" Target="@4" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="@8" Target="@6" Category="CodeMap_ExternalReference" />
|
||||
<Link Source="_standardGraphExternalsGroup" Target="@12" Category="Contains" />
|
||||
<Link Source="_standardGraphExternalsGroup" Target="@14" Category="Contains" />
|
||||
<Link Source="_standardGraphExternalsGroup" Target="@16" Category="Contains" />
|
||||
<Link Source="_standardGraphExternalsGroup" Target="@18" Category="Contains" />
|
||||
<Link Source="_standardGraphExternalsGroup" Target="@20" Category="Contains" />
|
||||
<Link Source="_standardGraphExternalsGroup" Target="@22" Category="Contains" />
|
||||
<Link Source="_standardGraphExternalsGroup" Target="@24" Category="Contains" />
|
||||
<Link Source="_standardGraphExternalsGroup" Target="@26" Category="Contains" />
|
||||
<Link Source="_standardGraphExternalsGroup" Target="@4" Category="Contains" />
|
||||
<Link Source="_standardGraphExternalsGroup" Target="@6" Category="Contains" />
|
||||
</Links>
|
||||
<Categories>
|
||||
<Category Id="CodeMap_ExternalReference" Label="外部引用" CanBeDataDriven="True" CanLinkedNodesBeDataDriven="True" IncomingActionLabel="引用者" OutgoingActionLabel="引用" />
|
||||
<Category Id="CodeMap_ProjectReference" Label="项目引用" CanBeDataDriven="True" CanLinkedNodesBeDataDriven="True" IncomingActionLabel="引用者" OutgoingActionLabel="引用" />
|
||||
<Category Id="CodeSchema_Assembly" Label="程序集" BasedOn="File" CanBeDataDriven="True" DefaultAction="Microsoft.Contains" Icon="CodeSchema_Assembly" NavigationActionLabel="程序集" />
|
||||
<Category Id="CodeSchema_Calls" Label="调用" CanBeDataDriven="True" CanLinkedNodesBeDataDriven="True" IncomingActionLabel="调用者" OutgoingActionLabel="调用" />
|
||||
<Category Id="CodeSchema_Class" Label="类" BasedOn="CodeSchema_Type" CanBeDataDriven="True" DefaultAction="Node:Both:CodeSchema_Member" Icon="CodeSchema_Class" NavigationActionLabel="类" />
|
||||
<Category Id="CodeSchema_Namespace" Label="命名空间" CanBeDataDriven="True" DefaultAction="Node:Both:CodeSchema_Type" Icon="CodeSchema_Namespace" NavigationActionLabel="命名空间" />
|
||||
<Category Id="CodeSchema_ReturnTypeLink" Label="返回" CanBeDataDriven="True" CanLinkedNodesBeDataDriven="True" IncomingActionLabel="返回类型" OutgoingActionLabel="返回类型" />
|
||||
<Category Id="CodeSchema_Type" Label="类型" CanBeDataDriven="True" DefaultAction="Node:Both:CodeSchema_Member" Icon="CodeSchema_Class" NavigationActionLabel="类型" />
|
||||
<Category Id="Contains" Label="包含" Description="链接的源是否包含目标对象" CanBeDataDriven="False" CanLinkedNodesBeDataDriven="True" IncomingActionLabel="包含者" IsContainment="True" OutgoingActionLabel="包含" />
|
||||
<Category Id="Externals" Label="外部" CanBeDataDriven="True" IsProviderRoot="False" NavigationActionLabel="外部" />
|
||||
<Category Id="File" Label="文件" CanBeDataDriven="True" DefaultAction="Microsoft.Contains" Icon="File" NavigationActionLabel="文件" />
|
||||
<Category Id="FileSystem.Category.FileOfType.dll" BasedOn="CodeSchema_Assembly" CanBeDataDriven="True" IsProviderRoot="False" />
|
||||
<Category Id="InheritsFrom" Label="继承自" CanBeDataDriven="True" CanLinkedNodesBeDataDriven="True" IncomingActionLabel="继承者" OutgoingActionLabel="继承自" />
|
||||
<Category Id="References" Label="引用" CanBeDataDriven="True" CanLinkedNodesBeDataDriven="True" IncomingActionLabel="引用者" OutgoingActionLabel="引用" />
|
||||
</Categories>
|
||||
<Properties>
|
||||
<Property Id="Bounds" DataType="System.Windows.Rect" />
|
||||
<Property Id="CanBeDataDriven" Label="CanBeDataDriven" Description="CanBeDataDriven" DataType="System.Boolean" />
|
||||
<Property Id="CanLinkedNodesBeDataDriven" Label="CanLinkedNodesBeDataDriven" Description="CanLinkedNodesBeDataDriven" DataType="System.Boolean" />
|
||||
<Property Id="CodeSchemaProperty_IsExternal" Label="是外部的" Description="一个标志,用于指示此节点是否被认为是外部的" DataType="System.Boolean" />
|
||||
<Property Id="CodeSchemaProperty_IsGeneric" Label="是泛型的" Description="一个标志,用于指示该成员是“泛型”成员" DataType="System.Boolean" />
|
||||
<Property Id="CodeSchemaProperty_IsPublic" Label="是公共的" Description="一个标志,用于指示该范围是“公共”范围" DataType="System.Boolean" />
|
||||
<Property Id="CodeSchemaProperty_StrongName" Label="StrongName" Description="StrongName" DataType="System.String" />
|
||||
<Property Id="DataVirtualized" Label="已虚拟化数据" Description="如果为 true,则图中可以包含表示虚拟化节点/链接(即,不在图中实际创建)的数据的节点和链接。" DataType="System.Boolean" />
|
||||
<Property Id="DefaultAction" Label="DefaultAction" Description="DefaultAction" DataType="System.String" />
|
||||
<Property Id="DelayedChildNodesState" Label="延迟的子节点状态" Description="如果未指定延迟的子节点状态,则为 Unspecified。如果尚未将组包含的子节点提取到关系图中,则为 NotFetched。如果已提取组内的所有延迟的子节点,则为 Fetched。" DataType="Microsoft.VisualStudio.GraphModel.DelayedDataState" />
|
||||
<Property Id="DelayedCrossGroupLinksState" Label="延迟的跨组链接状态" Description="如果未指定延迟的跨组链接状态,则为 Unspecified。如果尚未将此节点上延迟的跨组链接提取到关系图中,则为 NotFetched。如果已提取所有延迟的跨组链接,则为 Fetched。" DataType="Microsoft.VisualStudio.GraphModel.DelayedDataState" />
|
||||
<Property Id="ErrorLevel" Label="错误级别" Description="用于将错误级别与关系图中的节点或链接关联" Group="分析" DataType="Microsoft.VisualStudio.Progression.ErrorLevel" />
|
||||
<Property Id="Expression" DataType="System.String" />
|
||||
<Property Id="FetchedChildrenCount" DataType="System.Int32" />
|
||||
<Property Id="FetchingParent" DataType="Microsoft.VisualStudio.GraphModel.GraphNodeId" />
|
||||
<Property Id="FilePath" Label="文件路径" Description="文件路径" DataType="System.String" />
|
||||
<Property Id="Group" Label="组" Description="将节点显示为组" DataType="Microsoft.VisualStudio.GraphModel.GraphGroupStyle" />
|
||||
<Property Id="GroupLabel" DataType="System.String" />
|
||||
<Property Id="Icon" DataType="System.String" />
|
||||
<Property Id="IncomingActionLabel" Label="IncomingActionLabel" Description="IncomingActionLabel" DataType="System.String" />
|
||||
<Property Id="IsContainment" DataType="System.Boolean" />
|
||||
<Property Id="IsEnabled" DataType="System.Boolean" />
|
||||
<Property Id="IsProviderRoot" Label="IsProviderRoot" Description="IsProviderRoot" DataType="System.Boolean" />
|
||||
<Property Id="IsSourceVirtualized" Label="已虚拟化链接源" Description="如果为 true,则链接源端包含虚拟化节点/链接(即,不在图中实际创建)的数据。" DataType="System.Boolean" />
|
||||
<Property Id="IsTargetVirtualized" Label="已虚拟化链接目标" Description="如果为 true,则链接目标端包含虚拟化节点/链接(即,不在图中实际创建)的数据。" DataType="System.Boolean" />
|
||||
<Property Id="Label" Label="标签" Description="可批注对象的可显示标签" DataType="System.String" />
|
||||
<Property Id="Layout" DataType="System.String" />
|
||||
<Property Id="LayoutSettings" DataType="Microsoft.VisualStudio.Diagrams.View.GroupLayoutStyle" />
|
||||
<Property Id="NavigationActionLabel" Label="NavigationActionLabel" Description="NavigationActionLabel" DataType="System.String" />
|
||||
<Property Id="OutgoingActionLabel" Label="OutgoingActionLabel" Description="OutgoingActionLabel" DataType="System.String" />
|
||||
<Property Id="TargetType" DataType="System.Type" />
|
||||
<Property Id="UseManualLocation" DataType="System.Boolean" />
|
||||
<Property Id="Value" DataType="System.String" />
|
||||
<Property Id="ValueLabel" DataType="System.String" />
|
||||
<Property Id="Visibility" Label="Visibility" Description="Defines whether a node in the graph is visible or not" DataType="System.Windows.Visibility" />
|
||||
<Property Id="Weight" Label="粗细" Description="粗细" DataType="System.Double" />
|
||||
<Property Id="ZoomLevel" DataType="System.String" />
|
||||
</Properties>
|
||||
<QualifiedNames>
|
||||
<Name Id="Assembly" Label="程序集" ValueType="Uri" />
|
||||
<Name Id="GenericParameterCount" Label="泛型形参计数" ValueType="System.String" />
|
||||
<Name Id="Name" Label="名称" ValueType="System.String" />
|
||||
<Name Id="Namespace" Label="命名空间" ValueType="System.String" />
|
||||
<Name Id="Type" Label="类型" ValueType="System.Object" />
|
||||
</QualifiedNames>
|
||||
<IdentifierAliases>
|
||||
<Alias n="1" Uri="Assembly=$(2509a432-198b-4098-8b43-24c3e3923468.OutputPathUri)" />
|
||||
<Alias n="2" Id="(@1)" />
|
||||
<Alias n="3" Uri="Assembly=$(ProgramFilesUri) (x86)/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.7.2/System.Data.dll" />
|
||||
<Alias n="4" Id="(@3)" />
|
||||
<Alias n="5" Uri="Assembly=$(ProgramFilesUri) (x86)/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.7.2/mscorlib.dll" />
|
||||
<Alias n="6" Id="(@5)" />
|
||||
<Alias n="7" Uri="Assembly=$(ae7f3290-9ab4-4b54-aab1-4ddcba20f89d.OutputPathUri)" />
|
||||
<Alias n="8" Id="(@7)" />
|
||||
<Alias n="9" Uri="Assembly=$(57017f07-7412-4b61-b912-b1d36c3af16f.OutputPathUri)" />
|
||||
<Alias n="10" Id="(@9)" />
|
||||
<Alias n="11" Uri="Assembly=$(ProgramFilesUri) (x86)/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.7.2/System.Core.dll" />
|
||||
<Alias n="12" Id="(@11)" />
|
||||
<Alias n="13" Uri="Assembly=$(VsSolutionUri)/packages/OpenTK.3.3.3/lib/net20/OpenTK.dll" />
|
||||
<Alias n="14" Id="(@13)" />
|
||||
<Alias n="15" Uri="Assembly=$(ProgramFilesUri) (x86)/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.7.2/System.Xml.dll" />
|
||||
<Alias n="16" Id="(@15)" />
|
||||
<Alias n="17" Uri="Assembly=$(ProgramFilesUri) (x86)/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.7.2/System.dll" />
|
||||
<Alias n="18" Id="(@17)" />
|
||||
<Alias n="19" Uri="Assembly=$(ProgramFilesUri) (x86)/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.7.2/Microsoft.CSharp.dll" />
|
||||
<Alias n="20" Id="(@19)" />
|
||||
<Alias n="21" Uri="Assembly=$(ProgramFilesUri) (x86)/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.7.2/System.Net.Http.dll" />
|
||||
<Alias n="22" Id="(@21)" />
|
||||
<Alias n="23" Uri="Assembly=$(ProgramFilesUri) (x86)/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.7.2/System.Xml.Linq.dll" />
|
||||
<Alias n="24" Id="(@23)" />
|
||||
<Alias n="25" Uri="Assembly=$(ProgramFilesUri) (x86)/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.7.2/System.Data.DataSetExtensions.dll" />
|
||||
<Alias n="26" Id="(@25)" />
|
||||
<Alias n="27" Uri="Assembly=$(a7275572-a4e7-4863-b326-f09bfa241334.OutputPathUri)" />
|
||||
<Alias n="28" Id="(@27)" />
|
||||
<Alias n="29" Id="(@27 Namespace=StgSharp_Entity)" />
|
||||
<Alias n="30" Id="(@9 Namespace=StgSharp_Game)" />
|
||||
<Alias n="31" Id="Namespace=StgSharp_Logic" />
|
||||
<Alias n="32" Id="(@7 @31)" />
|
||||
<Alias n="33" Id="(@7 @31 Type=(Name=Counter GenericParameterCount=1))" />
|
||||
<Alias n="34" Id="(@27 Namespace=StgSharp_Entity Type=Bullet)" />
|
||||
<Alias n="35" Id="(@9 Namespace=StgSharp_Game Type=CoreInfo)" />
|
||||
<Alias n="36" Id="(@7 @31 Type=EntityContainer)" />
|
||||
<Alias n="37" Id="(@7 @31 Type=LinkedList)" />
|
||||
<Alias n="38" Id="(@7 @31 Type=LinkedTarget)" />
|
||||
</IdentifierAliases>
|
||||
<Styles>
|
||||
<Style TargetType="Node" GroupLabel="错误" ValueLabel="错误级别">
|
||||
<Condition Expression="HasValue('ErrorLevel')" />
|
||||
<Setter Property="Icon" Value="Node.Error" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="结果" ValueLabel="True">
|
||||
<Condition Expression="HasCategory('QueryResult')" />
|
||||
<Setter Property="Background" Value="#FFBCFFBE" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="测试项目" ValueLabel="测试项目">
|
||||
<Condition Expression="HasCategory('CodeMap_TestProject')" />
|
||||
<Setter Property="Icon" Value="CodeMap_TestProject" />
|
||||
<Setter Property="Background" Value="#FF307A69" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="Web 项目" ValueLabel="Web 项目">
|
||||
<Condition Expression="HasCategory('CodeMap_WebProject')" />
|
||||
<Setter Property="Icon" Value="CodeMap_WebProject" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="Windows 应用商店项目" ValueLabel="Windows 应用商店项目">
|
||||
<Condition Expression="HasCategory('CodeMap_WindowsStoreProject')" />
|
||||
<Setter Property="Icon" Value="CodeMap_WindowsStoreProject" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="电话项目" ValueLabel="电话项目">
|
||||
<Condition Expression="HasCategory('CodeMap_PhoneProject')" />
|
||||
<Setter Property="Icon" Value="CodeMap_PhoneProject" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="可移植库" ValueLabel="可移植库">
|
||||
<Condition Expression="HasCategory('CodeMap_PortableLibraryProject')" />
|
||||
<Setter Property="Icon" Value="CodeMap_PortableLibraryProject" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="WPF 项目" ValueLabel="WPF 项目">
|
||||
<Condition Expression="HasCategory('CodeMap_WpfProject')" />
|
||||
<Setter Property="Icon" Value="CodeMap_WpfProject" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="VSIX 项目" ValueLabel="VSIX 项目">
|
||||
<Condition Expression="HasCategory('CodeMap_VsixProject')" />
|
||||
<Setter Property="Icon" Value="CodeMap_VsixProject" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="建模项目" ValueLabel="建模项目">
|
||||
<Condition Expression="HasCategory('CodeMap_ModelingProject')" />
|
||||
<Setter Property="Icon" Value="CodeMap_ModelingProject" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="程序集" ValueLabel="具有类别">
|
||||
<Condition Expression="HasCategory('CodeSchema_Assembly')" />
|
||||
<Setter Property="Background" Value="#FF094167" />
|
||||
<Setter Property="Stroke" Value="#FF094167" />
|
||||
<Setter Property="Icon" Value="CodeSchema_Assembly" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="命名空间" ValueLabel="具有类别">
|
||||
<Condition Expression="HasCategory('CodeSchema_Namespace')" />
|
||||
<Setter Property="Background" Value="#FF0E619A" />
|
||||
<Setter Property="Stroke" Value="#FF0E619A" />
|
||||
<Setter Property="Icon" Value="CodeSchema_Namespace" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="接口" ValueLabel="具有类别">
|
||||
<Condition Expression="HasCategory('CodeSchema_Interface')" />
|
||||
<Setter Property="Background" Value="#FF1382CE" />
|
||||
<Setter Property="Stroke" Value="#FF1382CE" />
|
||||
<Setter Property="Icon" Value="CodeSchema_Interface" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="结构" ValueLabel="具有类别">
|
||||
<Condition Expression="HasCategory('CodeSchema_Struct')" />
|
||||
<Setter Property="Background" Value="#FF1382CE" />
|
||||
<Setter Property="Stroke" Value="#FF1382CE" />
|
||||
<Setter Property="Icon" Value="CodeSchema_Struct" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="枚举" ValueLabel="具有类别">
|
||||
<Condition Expression="HasCategory('CodeSchema_Enum')" />
|
||||
<Setter Property="Background" Value="#FF1382CE" />
|
||||
<Setter Property="Stroke" Value="#FF1382CE" />
|
||||
<Setter Property="Icon" Value="CodeSchema_Enum" />
|
||||
<Setter Property="LayoutSettings" Value="List" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="委托" ValueLabel="具有类别">
|
||||
<Condition Expression="HasCategory('CodeSchema_Delegate')" />
|
||||
<Setter Property="Background" Value="#FF1382CE" />
|
||||
<Setter Property="Stroke" Value="#FF1382CE" />
|
||||
<Setter Property="Icon" Value="CodeSchema_Delegate" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="类" ValueLabel="具有类别">
|
||||
<Condition Expression="HasCategory('CodeSchema_Type')" />
|
||||
<Setter Property="Background" Value="#FF0E70C0" />
|
||||
<Setter Property="Stroke" Value="#FF0E70C0" />
|
||||
<Setter Property="Icon" Value="CodeSchema_Class" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="属性" ValueLabel="具有类别">
|
||||
<Condition Expression="HasCategory('CodeSchema_Property')" />
|
||||
<Setter Property="Background" Value="#FFE0E0E0" />
|
||||
<Setter Property="Stroke" Value="#FFE0E0E0" />
|
||||
<Setter Property="Icon" Value="CodeSchema_Property" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="方法" ValueLabel="具有类别">
|
||||
<Condition Expression="HasCategory('CodeSchema_Method') Or HasCategory('CodeSchema_CallStackUnresolvedMethod')" />
|
||||
<Setter Property="Background" Value="#FFE0E0E0" />
|
||||
<Setter Property="Stroke" Value="#FFE0E0E0" />
|
||||
<Setter Property="Icon" Value="CodeSchema_Method" />
|
||||
<Setter Property="LayoutSettings" Value="List" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="事件" ValueLabel="具有类别">
|
||||
<Condition Expression="HasCategory('CodeSchema_Event')" />
|
||||
<Setter Property="Background" Value="#FFE0E0E0" />
|
||||
<Setter Property="Stroke" Value="#FFE0E0E0" />
|
||||
<Setter Property="Icon" Value="CodeSchema_Event" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="字段" ValueLabel="具有类别">
|
||||
<Condition Expression="HasCategory('CodeSchema_Field')" />
|
||||
<Setter Property="Background" Value="#FFE0E0E0" />
|
||||
<Setter Property="Stroke" Value="#FFE0E0E0" />
|
||||
<Setter Property="Icon" Value="CodeSchema_Field" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="Out 参数" ValueLabel="具有类别">
|
||||
<Condition Expression="CodeSchemaProperty_IsOut = 'True'" />
|
||||
<Setter Property="Icon" Value="CodeSchema_OutParameter" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="参数" ValueLabel="具有类别">
|
||||
<Condition Expression="HasCategory('CodeSchema_Parameter')" />
|
||||
<Setter Property="Icon" Value="CodeSchema_Parameter" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="局部变量" ValueLabel="具有类别">
|
||||
<Condition Expression="HasCategory('CodeSchema_LocalExpression')" />
|
||||
<Setter Property="Icon" Value="CodeSchema_LocalExpression" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="外部" ValueLabel="具有类别">
|
||||
<Condition Expression="HasCategory('Externals')" />
|
||||
<Setter Property="Background" Value="#FF424242" />
|
||||
<Setter Property="Stroke" Value="#FF424242" />
|
||||
</Style>
|
||||
<Style TargetType="Link" GroupLabel="继承自" ValueLabel="True">
|
||||
<Condition Expression="HasCategory('InheritsFrom')" />
|
||||
<Setter Property="Stroke" Value="#FF00A600" />
|
||||
<Setter Property="StrokeDashArray" Value="2 0" />
|
||||
<Setter Property="DrawArrow" Value="true" />
|
||||
</Style>
|
||||
<Style TargetType="Link" GroupLabel="实现" ValueLabel="True">
|
||||
<Condition Expression="HasCategory('Implements')" />
|
||||
<Setter Property="Stroke" Value="#8000A600" />
|
||||
<Setter Property="StrokeDashArray" Value="2 2" />
|
||||
<Setter Property="DrawArrow" Value="true" />
|
||||
</Style>
|
||||
<Style TargetType="Link" GroupLabel="调用" ValueLabel="True">
|
||||
<Condition Expression="HasCategory('CodeSchema_Calls')" />
|
||||
<Setter Property="Stroke" Value="#FFFF00FF" />
|
||||
<Setter Property="StrokeDashArray" Value="2 0" />
|
||||
<Setter Property="DrawArrow" Value="true" />
|
||||
</Style>
|
||||
<Style TargetType="Link" GroupLabel="函数指针" ValueLabel="True">
|
||||
<Condition Expression="HasCategory('CodeSchema_FunctionPointer')" />
|
||||
<Setter Property="Stroke" Value="#FFFF00FF" />
|
||||
<Setter Property="StrokeDashArray" Value="2 2" />
|
||||
<Setter Property="DrawArrow" Value="true" />
|
||||
</Style>
|
||||
<Style TargetType="Link" GroupLabel="字段读取" ValueLabel="True">
|
||||
<Condition Expression="HasCategory('CodeSchema_FieldRead')" />
|
||||
<Setter Property="Stroke" Value="#FF00AEEF" />
|
||||
<Setter Property="StrokeDashArray" Value="2 2" />
|
||||
<Setter Property="DrawArrow" Value="true" />
|
||||
</Style>
|
||||
<Style TargetType="Link" GroupLabel="字段写入" ValueLabel="True">
|
||||
<Condition Expression="HasCategory('CodeSchema_FieldWrite')" />
|
||||
<Setter Property="Stroke" Value="#FF00AEEF" />
|
||||
<Setter Property="DrawArrow" Value="true" />
|
||||
<Setter Property="IsHidden" Value="false" />
|
||||
</Style>
|
||||
<Style TargetType="Link" GroupLabel="Inherits From" ValueLabel="True" Visibility="Hidden">
|
||||
<Condition Expression="HasCategory('InheritsFrom') And Target.HasCategory('CodeSchema_Class')" />
|
||||
<Setter Property="TargetDecorator" Value="OpenArrow" />
|
||||
</Style>
|
||||
<Style TargetType="Link" GroupLabel="Implements" ValueLabel="True" Visibility="Hidden">
|
||||
<Condition Expression="HasCategory('Implements') And Target.HasCategory('CodeSchema_Interface')" />
|
||||
<Setter Property="TargetDecorator" Value="OpenArrow" />
|
||||
</Style>
|
||||
<Style TargetType="Link" GroupLabel="Comment Link" ValueLabel="True" Visibility="Hidden">
|
||||
<Condition Expression="Source.HasCategory('Comment')" />
|
||||
<Setter Property="Stroke" Value="#FFE5C365" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="Cursor Location Changed" ValueLabel="True" Visibility="Hidden">
|
||||
<Condition Expression="IsCursorLocation" />
|
||||
<Setter Property="IndicatorWest" Value="WestIndicator" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="Disabled Breakpoint Location Changed" ValueLabel="True" Visibility="Hidden">
|
||||
<Condition Expression="DisabledBreakpointCount" />
|
||||
<Setter Property="IndicatorWest" Value="WestIndicator" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="Enabled Breakpoint Location Changed" ValueLabel="True" Visibility="Hidden">
|
||||
<Condition Expression="EnabledBreakpointCount" />
|
||||
<Setter Property="IndicatorWest" Value="WestIndicator" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="Instruction Pointer Location Changed" ValueLabel="True" Visibility="Hidden">
|
||||
<Condition Expression="IsInstructionPointerLocation" />
|
||||
<Setter Property="IndicatorWest" Value="WestIndicator" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="Current Callstack Changed" ValueLabel="True" Visibility="Hidden">
|
||||
<Condition Expression="IsCurrentCallstackFrame" />
|
||||
<Setter Property="IndicatorWest" Value="WestIndicator" />
|
||||
</Style>
|
||||
<Style TargetType="Link" GroupLabel="返回" ValueLabel="True" Visibility="Hidden">
|
||||
<Condition Expression="HasCategory('CodeSchema_ReturnTypeLink')" />
|
||||
</Style>
|
||||
<Style TargetType="Link" GroupLabel="引用" ValueLabel="True" Visibility="Hidden">
|
||||
<Condition Expression="HasCategory('References')" />
|
||||
</Style>
|
||||
<Style TargetType="Link" GroupLabel="使用特性" ValueLabel="True" Visibility="Hidden">
|
||||
<Condition Expression="HasCategory('CodeSchema_AttributeUse')" />
|
||||
</Style>
|
||||
<Style TargetType="Node" GroupLabel="解决方案文件夹" ValueLabel="True" Visibility="Hidden">
|
||||
<Condition Expression="HasCategory('CodeMap_SolutionFolder')" />
|
||||
<Setter Property="Background" Value="#FFDEBA83" />
|
||||
</Style>
|
||||
<Style TargetType="Link" GroupLabel="项目引用" ValueLabel="项目引用">
|
||||
<Condition Expression="HasCategory('CodeMap_ProjectReference')" />
|
||||
<Setter Property="Stroke" Value="#9A9A9A" />
|
||||
<Setter Property="StrokeDashArray" Value="2 2" />
|
||||
<Setter Property="DrawArrow" Value="true" />
|
||||
</Style>
|
||||
<Style TargetType="Link" GroupLabel="外部引用" ValueLabel="外部引用">
|
||||
<Condition Expression="HasCategory('CodeMap_ExternalReference')" />
|
||||
<Setter Property="Stroke" Value="#9A9A9A" />
|
||||
<Setter Property="StrokeDashArray" Value="2 2" />
|
||||
<Setter Property="DrawArrow" Value="true" />
|
||||
</Style>
|
||||
</Styles>
|
||||
<Paths>
|
||||
<Path Id="2509a432-198b-4098-8b43-24c3e3923468.OutputPath" Value="D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp\bin\Debug\StgSharp.exe" />
|
||||
<Path Id="2509a432-198b-4098-8b43-24c3e3923468.OutputPathUri" Value="file:///D:/NitloadIndustry/研究项目/1-Flagship/TH2020/ProjectFile/源代码/.Net Framework/STGSharp/StgSharp/bin/Debug/StgSharp.exe" />
|
||||
<Path Id="57017f07-7412-4b61-b912-b1d36c3af16f.OutputPath" Value="D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\Game\bin\Debug\Game.dll" />
|
||||
<Path Id="57017f07-7412-4b61-b912-b1d36c3af16f.OutputPathUri" Value="file:///D:/NitloadIndustry/研究项目/1-Flagship/TH2020/ProjectFile/源代码/.Net Framework/STGSharp/Game/bin/Debug/Game.dll" />
|
||||
<Path Id="a7275572-a4e7-4863-b326-f09bfa241334.OutputPath" Value="D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Entity\bin\Debug\StgSharp_Entity.dll" />
|
||||
<Path Id="a7275572-a4e7-4863-b326-f09bfa241334.OutputPathUri" Value="file:///D:/NitloadIndustry/研究项目/1-Flagship/TH2020/ProjectFile/源代码/.Net Framework/STGSharp/StgSharp_Entity/bin/Debug/StgSharp_Entity.dll" />
|
||||
<Path Id="ae7f3290-9ab4-4b54-aab1-4ddcba20f89d.OutputPath" Value="D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Logic\bin\Debug\StgSharp_Logic.dll" />
|
||||
<Path Id="ae7f3290-9ab4-4b54-aab1-4ddcba20f89d.OutputPathUri" Value="file:///D:/NitloadIndustry/研究项目/1-Flagship/TH2020/ProjectFile/源代码/.Net Framework/STGSharp/StgSharp_Logic/bin/Debug/StgSharp_Logic.dll" />
|
||||
<Path Id="ProgramFiles" Value="C:\Program Files" />
|
||||
<Path Id="ProgramFilesUri" Value="file:///C:/Program Files" />
|
||||
<Path Id="VsSolution" Value="D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\StgSharp" />
|
||||
<Path Id="VsSolutionUri" Value="file:///D:/NitloadIndustry/研究项目/1-Flagship/TH2020/ProjectFile/源代码/.Net Framework/StgSharp" />
|
||||
</Paths>
|
||||
</DirectedGraph>
|
||||
@@ -27,7 +27,7 @@ namespace StgSharp_Game
|
||||
|
||||
public CoreInfo()
|
||||
{
|
||||
this.BulletLimit = 2048;
|
||||
_bulletLimit = 2048;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
+1
@@ -0,0 +1 @@
|
||||
f17a59fde1ecb48f7ea9b227df6324523b4a25b4
|
||||
@@ -0,0 +1,10 @@
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\Game\bin\Debug\Game.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\Game\bin\Debug\Game.pdb
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\Game\bin\Debug\OpenTK.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\Game\bin\Debug\OpenTK.pdb
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\Game\bin\Debug\OpenTK.xml
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\Game\obj\Debug\StgSharp_Game.csproj.AssemblyReference.cache
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\Game\obj\Debug\StgSharp_Game.csproj.CoreCompileInputs.cache
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\Game\obj\Debug\StgSharp_Game.csproj.CopyComplete
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\Game\obj\Debug\Game.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\Game\obj\Debug\Game.pdb
|
||||
@@ -0,0 +1 @@
|
||||
obj\Debug\\_IsIncrementalBuild
|
||||
@@ -11,6 +11,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StgSharp_Entity", "StgSharp
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StgSharp_Game", "Game\StgSharp_Game.csproj", "{57017F07-7412-4B61-B912-B1D36C3AF16F}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CodeMap", "CodeMap", "{06C30C1F-B291-47AD-BA09-77C88F57ACCA}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
CodeMap1.dgml = CodeMap1.dgml
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
|
||||
@@ -32,6 +32,9 @@
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<StartupObject>StgSharp.Program</StartupObject>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
<None Include="OpenTK.dll.config" />
|
||||
@@ -55,6 +58,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Bullets.cs" />
|
||||
<Compile Include="debug.cs" />
|
||||
<Compile Include="EntityPool.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,29 @@
|
||||
using StgSharp_Entity;
|
||||
using StgSharp_Logic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StgSharp
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
static void Main()
|
||||
{
|
||||
Counter<int> counter = new Counter<int>();
|
||||
LinkedList linkedList = new LinkedList(counter);
|
||||
for (int i = 0; i < 15; i++)
|
||||
{
|
||||
linkedList.Add(new LinkedTarget());
|
||||
}
|
||||
EntityContainer container = new EntityContainer(counter);
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
container.Add(new Bullet());
|
||||
}
|
||||
container.ReportCapacity();
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
Binary file not shown.
@@ -0,0 +1 @@
|
||||
2497526179f93c9ddf92940c7adab7c1455afeaf
|
||||
@@ -0,0 +1,16 @@
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp\obj\Debug\StgSharp.csproj.AssemblyReference.cache
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp\obj\Debug\StgSharp.csproj.SuggestedBindingRedirects.cache
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp\obj\Debug\StgSharp.csproj.CoreCompileInputs.cache
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp\bin\Debug\StgSharp.exe.config
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp\bin\Debug\StgSharp.exe
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp\bin\Debug\StgSharp.pdb
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp\bin\Debug\OpenTK.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp\bin\Debug\StgSharp_Entity.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp\bin\Debug\StgSharp_Logic.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp\bin\Debug\StgSharp_Entity.pdb
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp\bin\Debug\StgSharp_Logic.pdb
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp\bin\Debug\OpenTK.pdb
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp\bin\Debug\OpenTK.xml
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp\obj\Debug\StgSharp.csproj.CopyComplete
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp\obj\Debug\StgSharp.exe
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp\obj\Debug\StgSharp.pdb
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
obj\Debug\\_IsIncrementalBuild
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using StgSharp_Logic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -7,8 +8,9 @@ using System.Threading.Tasks;
|
||||
namespace StgSharp_Entity
|
||||
{
|
||||
|
||||
public class Bullet
|
||||
public class Bullet:LinkedTarget
|
||||
{
|
||||
|
||||
//子弹的缩放比例
|
||||
private float _size;
|
||||
|
||||
@@ -134,5 +136,10 @@ namespace StgSharp_Entity
|
||||
public Bullet()
|
||||
{
|
||||
}
|
||||
|
||||
public void ChangeVelocity()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,5 +51,11 @@
|
||||
<None Include="OpenTK.dll.config" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\StgSharp_Logic\StgSharp_Logic.csproj">
|
||||
<Project>{ae7f3290-9ab4-4b54-aab1-4ddcba20f89d}</Project>
|
||||
<Name>StgSharp_Logic</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+1
@@ -0,0 +1 @@
|
||||
9f3d72d61544f629ca17662eb1b4507364353c8b
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Entity\bin\Debug\StgSharp_Entity.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Entity\bin\Debug\StgSharp_Entity.pdb
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Entity\bin\Debug\OpenTK.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Entity\bin\Debug\StgSharp_Logic.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Entity\bin\Debug\StgSharp_Logic.pdb
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Entity\bin\Debug\OpenTK.pdb
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Entity\bin\Debug\OpenTK.xml
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Entity\obj\Debug\StgSharp_Entity.csproj.AssemblyReference.cache
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Entity\obj\Debug\StgSharp_Entity.csproj.CoreCompileInputs.cache
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Entity\obj\Debug\StgSharp_Entity.csproj.CopyComplete
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Entity\obj\Debug\StgSharp_Entity.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Entity\obj\Debug\StgSharp_Entity.pdb
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
obj\Debug\\_IsIncrementalBuild
|
||||
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StgSharp_Logic
|
||||
{
|
||||
public class Counter<T>
|
||||
{
|
||||
private T _value;
|
||||
|
||||
public T Value
|
||||
{
|
||||
get { return _value; }
|
||||
set { _value = value; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public Counter()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void Increase(T deltaValue)
|
||||
{
|
||||
//_value += deltaValue;
|
||||
}
|
||||
|
||||
public void Decrease(T deltaValue)
|
||||
{
|
||||
//_value -= deltaValue;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
using StgSharp_Entity;
|
||||
using StgSharp_Game;
|
||||
using StgSharp_Game;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -8,16 +7,16 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace StgSharp_Logic
|
||||
{
|
||||
public class EntityContainer<T>
|
||||
public class EntityContainer
|
||||
{
|
||||
readonly int _limit;
|
||||
private Counter<int> _limit;
|
||||
private float _leftBorder;
|
||||
private float _rightBorder;
|
||||
private float _topBorder;
|
||||
private float _bottomBorder;
|
||||
private T[] _container;
|
||||
private LinkedList _container;
|
||||
|
||||
public T[] Container
|
||||
public LinkedList Container
|
||||
{
|
||||
get { return _container; }
|
||||
set { _container = value; }
|
||||
@@ -43,41 +42,48 @@ namespace StgSharp_Logic
|
||||
get { return _bottomBorder; }
|
||||
set { _bottomBorder = value; }
|
||||
}
|
||||
|
||||
public EntityContainer(T sample)
|
||||
{
|
||||
_limit = 2048;
|
||||
this.Container = new T[_limit];
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void Add(T target)
|
||||
public EntityContainer(Counter<int> counter)
|
||||
{
|
||||
for (int i = 0; i < _limit; i++)
|
||||
this._limit = counter;
|
||||
this.Container = new LinkedList(_limit);
|
||||
}
|
||||
|
||||
public void Add(LinkedTarget target)
|
||||
{
|
||||
if (true)
|
||||
{
|
||||
if (Container[i].Equals(default(T)))
|
||||
{
|
||||
Container[i] = target;
|
||||
}
|
||||
|
||||
}
|
||||
_container.Add(target);
|
||||
}
|
||||
|
||||
public void Remove(int id)
|
||||
public void RemoveAt(int id)
|
||||
{
|
||||
Container[id] = default(T);
|
||||
_container.Remove(id);
|
||||
}
|
||||
|
||||
//Move an entity from one container to another one
|
||||
public void Move(T target, EntityContainer<T> targetContainer)
|
||||
public void Move(LinkedTarget target, EntityContainer targetContainer)
|
||||
{
|
||||
target.Previous = target.Next;
|
||||
target.Next = target.Previous;
|
||||
targetContainer.Add(target);
|
||||
|
||||
}
|
||||
|
||||
//What should a container do on each rendering frame
|
||||
//This method should be overriden
|
||||
public void OnRender()
|
||||
{
|
||||
//坐标刷新
|
||||
//边界判定
|
||||
//碰撞判定
|
||||
}
|
||||
|
||||
public void ReportCapacity()
|
||||
{
|
||||
Console.WriteLine(_limit.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,125 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StgSharp_Logic
|
||||
{
|
||||
public class LinkedList
|
||||
{
|
||||
private LinkedTarget _heading;
|
||||
private LinkedTarget _ending;
|
||||
private LinkedTarget _cache;
|
||||
private Counter<int> _amountCounter;
|
||||
|
||||
public LinkedTarget Heading
|
||||
{
|
||||
get { return _heading; }
|
||||
set { _heading = value; }
|
||||
}
|
||||
|
||||
public LinkedTarget Ending
|
||||
{
|
||||
get { return _ending; }
|
||||
set { _ending = value; }
|
||||
}
|
||||
public LinkedTarget Cache
|
||||
{
|
||||
get { return _cache; }
|
||||
set { _cache = value; }
|
||||
}
|
||||
public Counter<int> AmountCounter
|
||||
{
|
||||
get { return _amountCounter; }
|
||||
set { _amountCounter = value; }
|
||||
}
|
||||
|
||||
//构造器
|
||||
public LinkedList(Counter<int> counter)
|
||||
{
|
||||
this._amountCounter = counter;
|
||||
_amountCounter.Value = 0;
|
||||
_ending = null;
|
||||
_heading = null;
|
||||
}
|
||||
|
||||
|
||||
public void Add(LinkedTarget target)
|
||||
{
|
||||
if (_ending != null)
|
||||
{
|
||||
_ending.Next = target;
|
||||
target.Previous = _ending;
|
||||
_ending = target;
|
||||
_amountCounter.Value++;
|
||||
}
|
||||
else
|
||||
{
|
||||
_heading = target;
|
||||
_heading.Previous = null;
|
||||
_ending = target;
|
||||
_ending.Next = null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据序号删除一个链表成员。
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
public void Remove(int id)
|
||||
{
|
||||
_cache = null;
|
||||
for (int i = 1; i < id; i++)
|
||||
{
|
||||
_cache = _cache.Next;
|
||||
}
|
||||
_cache.Previous = _cache.Next;
|
||||
_cache.Next = _cache.Previous;
|
||||
_cache.Next = null;
|
||||
_cache.Previous = null;
|
||||
_cache = null;
|
||||
_amountCounter.Value--;
|
||||
}
|
||||
/// <summary>
|
||||
/// 快速删除链表中已知名称的一个实例。由于不能判别实例是否存在于链表中故安全性较低。在对安全性有要求的情况下应当使用Remove_s方法。
|
||||
/// </summary>
|
||||
/// <param name="target"></param>
|
||||
public void Remove(LinkedTarget target)
|
||||
{
|
||||
target.Previous = target.Next;
|
||||
target.Next = target.Previous;
|
||||
target.Previous = null;
|
||||
target.Next = null;
|
||||
_amountCounter.Value--;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 该方法用于防止传入不属于该链表的实例。
|
||||
/// </summary>
|
||||
/// <param name="target"></param>
|
||||
/// <exception cref="Exception"></exception>
|
||||
public void Remove_s(LinkedTarget target)
|
||||
{
|
||||
bool a = true;
|
||||
_cache = _heading;
|
||||
for (int i = 0; _cache.Next != null ; i++)
|
||||
{
|
||||
if (_cache==target)
|
||||
{
|
||||
Remove(target);
|
||||
a = true;
|
||||
_amountCounter.Value--;
|
||||
}
|
||||
}
|
||||
if (a)
|
||||
{
|
||||
throw new Exception("Target can not be found in this List!");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StgSharp_Logic
|
||||
{
|
||||
public class LinkedTarget
|
||||
{
|
||||
private LinkedTarget _previous;
|
||||
|
||||
public LinkedTarget Previous
|
||||
{
|
||||
get { return _previous; }
|
||||
set {
|
||||
//if (this.GetType().FullName == value.GetType().FullName)
|
||||
{
|
||||
_previous = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private LinkedTarget _next;
|
||||
|
||||
public LinkedTarget Next
|
||||
{
|
||||
get { return _next; }
|
||||
set {
|
||||
//if (this.GetType().FullName==value.GetType().FullName)
|
||||
{
|
||||
_next = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -44,6 +44,9 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="LinkedList.cs" />
|
||||
<Compile Include="LinkedTarget.cs" />
|
||||
<Compile Include="Counter.cs" />
|
||||
<Compile Include="EntityContainer.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
@@ -56,10 +59,6 @@
|
||||
<Project>{57017f07-7412-4b61-b912-b1d36c3af16f}</Project>
|
||||
<Name>StgSharp_Game</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\StgSharp_Entity\StgSharp_Entity.csproj">
|
||||
<Project>{a7275572-a4e7-4863-b326-f09bfa241334}</Project>
|
||||
<Name>StgSharp_Entity</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+1
@@ -0,0 +1 @@
|
||||
84e8b54631a157cd484f38b0f77768efef40e58b
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Logic\bin\Debug\StgSharp_Logic.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Logic\bin\Debug\StgSharp_Logic.pdb
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Logic\bin\Debug\Game.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Logic\bin\Debug\OpenTK.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Logic\bin\Debug\Game.pdb
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Logic\bin\Debug\OpenTK.pdb
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Logic\bin\Debug\OpenTK.xml
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Logic\obj\Debug\StgSharp_Logic.csproj.AssemblyReference.cache
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Logic\obj\Debug\StgSharp_Logic.csproj.CoreCompileInputs.cache
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Logic\obj\Debug\StgSharp_Logic.csproj.CopyComplete
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Logic\obj\Debug\StgSharp_Logic.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\STGSharp\StgSharp_Logic\obj\Debug\StgSharp_Logic.pdb
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
obj\Debug\\_IsIncrementalBuild
|
||||
Reference in New Issue
Block a user