1616 < meta name ="docfx:rel " content ="../ ">
1717
1818
19- < meta name ="docfx:docurl " content ="https://github.com/GameFrameX/GameFrameX.Server/new/1.5.1-dev7 /apiSpec/new?filename=GameFrameX_Core_Abstractions_Agent_IComponentAgent.md&value=---%0Auid%3A%20GameFrameX.Core.Abstractions.Agent.IComponentAgent%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A ">
19+ < meta name ="docfx:docurl " content ="https://github.com/GameFrameX/GameFrameX.Server/new/1.5.1-dev8 /apiSpec/new?filename=GameFrameX_Core_Abstractions_Agent_IComponentAgent.md&value=---%0Auid%3A%20GameFrameX.Core.Abstractions.Agent.IComponentAgent%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A ">
2020 < meta name ="loc:inThisArticle " content ="In this article ">
2121 < meta name ="loc:searchResultsCount " content ="{count} results for "{query}" ">
2222 < meta name ="loc:searchNoResults " content ="No results for "{query}" ">
@@ -89,7 +89,7 @@ <h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
8989
9090
9191 < h1 id ="GameFrameX_Core_Abstractions_Agent_IComponentAgent " data-uid ="GameFrameX.Core.Abstractions.Agent.IComponentAgent " class ="text-break ">
92- Interface IComponentAgent < a class ="header-action link-secondary " title ="View source " href ="https://github.com/GameFrameX/GameFrameX.Server/blob/1.5.1-dev7 /GameFrameX.Core/Abstractions/Agent/IComponentAgent.cs/#L6 "> < i class ="bi bi-code-slash "> </ i > </ a >
92+ Interface IComponentAgent < a class ="header-action link-secondary " title ="View source " href ="https://github.com/GameFrameX/GameFrameX.Server/blob/1.5.1-dev8 /GameFrameX.Core/Abstractions/Agent/IComponentAgent.cs/#L6 "> < i class ="bi bi-code-slash "> </ i > </ a >
9393 </ h1 >
9494
9595 < div class ="facts text-secondary ">
@@ -163,7 +163,7 @@ <h2 class="section" id="properties">Properties
163163
164164 < h3 id ="GameFrameX_Core_Abstractions_Agent_IComponentAgent_ActorId " data-uid ="GameFrameX.Core.Abstractions.Agent.IComponentAgent.ActorId ">
165165 ActorId
166- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/GameFrameX/GameFrameX.Server/blob/1.5.1-dev7 /GameFrameX.Core/Abstractions/Agent/IComponentAgent.cs/#L14 "> < i class ="bi bi-code-slash "> </ i > </ a >
166+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/GameFrameX/GameFrameX.Server/blob/1.5.1-dev8 /GameFrameX.Core/Abstractions/Agent/IComponentAgent.cs/#L14 "> < i class ="bi bi-code-slash "> </ i > </ a >
167167 </ h3 >
168168
169169 < div class ="markdown level1 summary "> < p > 获取Actor的唯一标识
@@ -198,7 +198,7 @@ <h4 class="section">Property Value</h4>
198198
199199 < h3 id ="GameFrameX_Core_Abstractions_Agent_IComponentAgent_Owner " data-uid ="GameFrameX.Core.Abstractions.Agent.IComponentAgent.Owner ">
200200 Owner
201- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/GameFrameX/GameFrameX.Server/blob/1.5.1-dev7 /GameFrameX.Core/Abstractions/Agent/IComponentAgent.cs/#L22 "> < i class ="bi bi-code-slash "> </ i > </ a >
201+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/GameFrameX/GameFrameX.Server/blob/1.5.1-dev8 /GameFrameX.Core/Abstractions/Agent/IComponentAgent.cs/#L22 "> < i class ="bi bi-code-slash "> </ i > </ a >
202202 </ h3 >
203203
204204 < div class ="markdown level1 summary "> < p > 获取或设置组件的所有者
@@ -233,7 +233,7 @@ <h4 class="section">Property Value</h4>
233233
234234 < h3 id ="GameFrameX_Core_Abstractions_Agent_IComponentAgent_OwnerType " data-uid ="GameFrameX.Core.Abstractions.Agent.IComponentAgent.OwnerType ">
235235 OwnerType
236- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/GameFrameX/GameFrameX.Server/blob/1.5.1-dev7 /GameFrameX.Core/Abstractions/Agent/IComponentAgent.cs/#L30 "> < i class ="bi bi-code-slash "> </ i > </ a >
236+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/GameFrameX/GameFrameX.Server/blob/1.5.1-dev8 /GameFrameX.Core/Abstractions/Agent/IComponentAgent.cs/#L30 "> < i class ="bi bi-code-slash "> </ i > </ a >
237237 </ h3 >
238238
239239 < div class ="markdown level1 summary "> < p > 获取所有者的类型
@@ -272,7 +272,7 @@ <h2 class="section" id="methods">Methods
272272
273273 < h3 id ="GameFrameX_Core_Abstractions_Agent_IComponentAgent_Active " data-uid ="GameFrameX.Core.Abstractions.Agent.IComponentAgent.Active ">
274274 Active()
275- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/GameFrameX/GameFrameX.Server/blob/1.5.1-dev7 /GameFrameX.Core/Abstractions/Agent/IComponentAgent.cs/#L47 "> < i class ="bi bi-code-slash "> </ i > </ a >
275+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/GameFrameX/GameFrameX.Server/blob/1.5.1-dev8 /GameFrameX.Core/Abstractions/Agent/IComponentAgent.cs/#L47 "> < i class ="bi bi-code-slash "> </ i > </ a >
276276 </ h3 >
277277
278278 < div class ="markdown level1 summary "> < p > 激活组件代理
@@ -283,10 +283,15 @@ <h3 id="GameFrameX_Core_Abstractions_Agent_IComponentAgent_Active" data-uid="Gam
283283 < div class ="markdown level1 conceptual "> </ div >
284284
285285 < div class ="codewrapper ">
286- < pre > < code class ="lang-csharp hljs "> void Active()</ code > </ pre >
286+ < pre > < code class ="lang-csharp hljs "> Task Active()</ code > </ pre >
287287 </ div >
288288
289289
290+ < h4 class ="section "> Returns</ h4 >
291+ < dl class ="parameters ">
292+ < dt > < a class ="xref " href ="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task "> Task</ a > </ dt >
293+ < dd > </ dd >
294+ </ dl >
290295
291296
292297
@@ -302,7 +307,7 @@ <h3 id="GameFrameX_Core_Abstractions_Agent_IComponentAgent_Active" data-uid="Gam
302307
303308 < h3 id ="GameFrameX_Core_Abstractions_Agent_IComponentAgent_GetComponentAgent_System_Type_System_Boolean_ " data-uid ="GameFrameX.Core.Abstractions.Agent.IComponentAgent.GetComponentAgent(System.Type,System.Boolean) ">
304309 GetComponentAgent(Type, bool)
305- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/GameFrameX/GameFrameX.Server/blob/1.5.1-dev7 /GameFrameX.Core/Abstractions/Agent/IComponentAgent.cs/#L67 "> < i class ="bi bi-code-slash "> </ i > </ a >
310+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/GameFrameX/GameFrameX.Server/blob/1.5.1-dev8 /GameFrameX.Core/Abstractions/Agent/IComponentAgent.cs/#L67 "> < i class ="bi bi-code-slash "> </ i > </ a >
306311 </ h3 >
307312
308313 < div class ="markdown level1 summary "> < p > 根据代理类型获取代理组件</ p >
@@ -347,7 +352,7 @@ <h4 class="section" id="GameFrameX_Core_Abstractions_Agent_IComponentAgent_GetCo
347352
348353 < h3 id ="GameFrameX_Core_Abstractions_Agent_IComponentAgent_GetComponentAgent__1_System_Boolean_ " data-uid ="GameFrameX.Core.Abstractions.Agent.IComponentAgent.GetComponentAgent``1(System.Boolean) ">
349354 GetComponentAgent<T>(bool)
350- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/GameFrameX/GameFrameX.Server/blob/1.5.1-dev7 /GameFrameX.Core/Abstractions/Agent/IComponentAgent.cs/#L78 "> < i class ="bi bi-code-slash "> </ i > </ a >
355+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/GameFrameX/GameFrameX.Server/blob/1.5.1-dev8 /GameFrameX.Core/Abstractions/Agent/IComponentAgent.cs/#L78 "> < i class ="bi bi-code-slash "> </ i > </ a >
351356 </ h3 >
352357
353358 < div class ="markdown level1 summary "> < p > 根据泛型代理类型获取代理组件</ p >
@@ -395,7 +400,7 @@ <h4 class="section" id="GameFrameX_Core_Abstractions_Agent_IComponentAgent_GetCo
395400
396401 < h3 id ="GameFrameX_Core_Abstractions_Agent_IComponentAgent_Inactive " data-uid ="GameFrameX.Core.Abstractions.Agent.IComponentAgent.Inactive ">
397402 Inactive()
398- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/GameFrameX/GameFrameX.Server/blob/1.5.1-dev7 /GameFrameX.Core/Abstractions/Agent/IComponentAgent.cs/#L56 "> < i class ="bi bi-code-slash "> </ i > </ a >
403+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/GameFrameX/GameFrameX.Server/blob/1.5.1-dev8 /GameFrameX.Core/Abstractions/Agent/IComponentAgent.cs/#L56 "> < i class ="bi bi-code-slash "> </ i > </ a >
399404 </ h3 >
400405
401406 < div class ="markdown level1 summary "> < p > 反激活组件代理</ p >
@@ -431,7 +436,7 @@ <h4 class="section" id="GameFrameX_Core_Abstractions_Agent_IComponentAgent_Inact
431436
432437 < h3 id ="GameFrameX_Core_Abstractions_Agent_IComponentAgent_SetOwner_GameFrameX_Core_Abstractions_IComponent_ " data-uid ="GameFrameX.Core.Abstractions.Agent.IComponentAgent.SetOwner(GameFrameX.Core.Abstractions.IComponent) ">
433438 SetOwner(IComponent)
434- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/GameFrameX/GameFrameX.Server/blob/1.5.1-dev7 /GameFrameX.Core/Abstractions/Agent/IComponentAgent.cs/#L39 "> < i class ="bi bi-code-slash "> </ i > </ a >
439+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/GameFrameX/GameFrameX.Server/blob/1.5.1-dev8 /GameFrameX.Core/Abstractions/Agent/IComponentAgent.cs/#L39 "> < i class ="bi bi-code-slash "> </ i > </ a >
435440 </ h3 >
436441
437442 < div class ="markdown level1 summary "> < p > 设置组件的所有者</ p >
@@ -467,7 +472,7 @@ <h4 class="section" id="GameFrameX_Core_Abstractions_Agent_IComponentAgent_SetOw
467472</ article >
468473
469474 < div class ="contribution d-print-none ">
470- < a href ="https://github.com/GameFrameX/GameFrameX.Server/blob/1.5.1-dev7 /GameFrameX.Core/Abstractions/Agent/IComponentAgent.cs/#L6 " class ="edit-link "> Edit this page</ a >
475+ < a href ="https://github.com/GameFrameX/GameFrameX.Server/blob/1.5.1-dev8 /GameFrameX.Core/Abstractions/Agent/IComponentAgent.cs/#L6 " class ="edit-link "> Edit this page</ a >
471476 </ div >
472477
473478
0 commit comments