IGKAgentDelegate Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Delegate object that provides methods relating to synchronizing the state of a GKAgent with external constraints, goals, and representations.
[Foundation.Protocol(Name="GKAgentDelegate", WrapperType=typeof(GameplayKit.GKAgentDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AgentWillUpdate", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameplayKit.GKAgent) }, Selector="agentWillUpdate:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AgentDidUpdate", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameplayKit.GKAgent) }, Selector="agentDidUpdate:")]
public interface IGKAgentDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="GKAgentDelegate", WrapperType=typeof(GameplayKit.GKAgentDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AgentWillUpdate", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameplayKit.GKAgent) }, Selector="agentWillUpdate:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AgentDidUpdate", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameplayKit.GKAgent) }, Selector="agentDidUpdate:")>]
type IGKAgentDelegate = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Properties
| Name | Description |
|---|---|
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
Methods
| Name | Description |
|---|---|
| AgentDidUpdate(GKAgent) |
Method that is called after |
| AgentWillUpdate(GKAgent) |
Method that is called before |
Extension Methods
| Name | Description |
|---|---|
| AgentDidUpdate(IGKAgentDelegate, GKAgent) |
Method that is called after |
| AgentWillUpdate(IGKAgentDelegate, GKAgent) |
Method that is called before |
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |