TinyLifeWeb/docs/api/TinyLife.World.Map.PathfindingNodeConstructDelegate.yml
2024-07-26 12:47:59 +02:00

418 lines
15 KiB
YAML
Generated

### YamlMime:ManagedReference
items:
- uid: TinyLife.World.Map.PathfindingNodeConstructDelegate
commentId: T:TinyLife.World.Map.PathfindingNodeConstructDelegate
id: Map.PathfindingNodeConstructDelegate
parent: TinyLife.World
children: []
langs:
- csharp
- vb
name: Map.PathfindingNodeConstructDelegate
nameWithType: Map.PathfindingNodeConstructDelegate
fullName: TinyLife.World.Map.PathfindingNodeConstructDelegate
type: Delegate
source:
remote:
path: TinyLife/World/Map.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PathfindingNodeConstructDelegate
path: ../TinyLife/World/Map.cs
startLine: 3028
assemblies:
- Tiny Life
namespace: TinyLife.World
summary: A delegate method used for <xref href="TinyLife.World.Map.OnPathfindingNodeConstruct" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: public delegate void Map.PathfindingNodeConstructDelegate(Point pos, int floor, List<(Point NextPos, int NextFloor, Predicate<MapObject> Predicate)> nextPositions, ref float cost, ref bool isFreeSpot)
parameters:
- id: pos
type: Microsoft.Xna.Framework.Point
- id: floor
type: System.Int32
- id: nextPositions
type: System.Collections.Generic.List{System.ValueTuple{Microsoft.Xna.Framework.Point,System.Int32,System.Predicate{TinyLife.Objects.MapObject}}}
- id: cost
type: System.Single
- id: isFreeSpot
type: System.Boolean
content.vb: Public Delegate Sub Map.PathfindingNodeConstructDelegate(pos As Point, floor As Integer, nextPositions As List(Of (NextPos As Point, NextFloor As Integer, Predicate As Predicate(Of MapObject))), cost As Single, isFreeSpot As Boolean)
extensionMethods:
- TinyLife.World.Map.PathfindingNodeConstructDelegate.TinyLife.Utilities.Extensions.JsonCopy``1
references:
- uid: TinyLife.World.Map.OnPathfindingNodeConstruct
commentId: E:TinyLife.World.Map.OnPathfindingNodeConstruct
href: TinyLife.World.Map.html#TinyLife_World_Map_OnPathfindingNodeConstruct
name: OnPathfindingNodeConstruct
nameWithType: Map.OnPathfindingNodeConstruct
fullName: TinyLife.World.Map.OnPathfindingNodeConstruct
- uid: TinyLife.World
commentId: N:TinyLife.World
href: TinyLife.html
name: TinyLife.World
nameWithType: TinyLife.World
fullName: TinyLife.World
spec.csharp:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.World
name: World
href: TinyLife.World.html
spec.vb:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.World
name: World
href: TinyLife.World.html
- uid: TinyLife.World.Map.PathfindingNodeConstructDelegate.TinyLife.Utilities.Extensions.JsonCopy``1
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
parent: TinyLife.Utilities.Extensions
definition: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
name: JsonCopy<PathfindingNodeConstructDelegate>(PathfindingNodeConstructDelegate)
nameWithType: Extensions.JsonCopy<Map.PathfindingNodeConstructDelegate>(Map.PathfindingNodeConstructDelegate)
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.World.Map.PathfindingNodeConstructDelegate>(TinyLife.World.Map.PathfindingNodeConstructDelegate)
nameWithType.vb: Extensions.JsonCopy(Of Map.PathfindingNodeConstructDelegate)(Map.PathfindingNodeConstructDelegate)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.World.Map.PathfindingNodeConstructDelegate)(TinyLife.World.Map.PathfindingNodeConstructDelegate)
name.vb: JsonCopy(Of PathfindingNodeConstructDelegate)(PathfindingNodeConstructDelegate)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.World.Map.PathfindingNodeConstructDelegate)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: <
- uid: TinyLife.World.Map.PathfindingNodeConstructDelegate
name: PathfindingNodeConstructDelegate
href: TinyLife.World.Map.PathfindingNodeConstructDelegate.html
- name: '>'
- name: (
- uid: TinyLife.World.Map.PathfindingNodeConstructDelegate
name: PathfindingNodeConstructDelegate
href: TinyLife.World.Map.PathfindingNodeConstructDelegate.html
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.World.Map.PathfindingNodeConstructDelegate)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: (
- name: Of
- name: " "
- uid: TinyLife.World.Map.PathfindingNodeConstructDelegate
name: PathfindingNodeConstructDelegate
href: TinyLife.World.Map.PathfindingNodeConstructDelegate.html
- name: )
- name: (
- uid: TinyLife.World.Map.PathfindingNodeConstructDelegate
name: PathfindingNodeConstructDelegate
href: TinyLife.World.Map.PathfindingNodeConstructDelegate.html
- name: )
- uid: Microsoft.Xna.Framework.Point
commentId: T:Microsoft.Xna.Framework.Point
parent: Microsoft.Xna.Framework
isExternal: true
name: Point
nameWithType: Point
fullName: Microsoft.Xna.Framework.Point
- uid: System.Int32
commentId: T:System.Int32
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.int32
name: int
nameWithType: int
fullName: int
nameWithType.vb: Integer
fullName.vb: Integer
name.vb: Integer
- uid: System.Collections.Generic.List{System.ValueTuple{Microsoft.Xna.Framework.Point,System.Int32,System.Predicate{TinyLife.Objects.MapObject}}}
commentId: T:System.Collections.Generic.List{System.ValueTuple{Microsoft.Xna.Framework.Point,System.Int32,System.Predicate{TinyLife.Objects.MapObject}}}
parent: System.Collections.Generic
definition: System.Collections.Generic.List`1
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1
name: List<(Point NextPos, int NextFloor, Predicate<MapObject> Predicate)>
nameWithType: List<(Point NextPos, int NextFloor, Predicate<MapObject> Predicate)>
fullName: System.Collections.Generic.List<(Microsoft.Xna.Framework.Point NextPos, int NextFloor, System.Predicate<TinyLife.Objects.MapObject> Predicate)>
nameWithType.vb: List(Of (NextPos As Point, NextFloor As Integer, Predicate As Predicate(Of MapObject)))
fullName.vb: System.Collections.Generic.List(Of (NextPos As Microsoft.Xna.Framework.Point, NextFloor As Integer, Predicate As System.Predicate(Of TinyLife.Objects.MapObject)))
name.vb: List(Of (NextPos As Point, NextFloor As Integer, Predicate As Predicate(Of MapObject)))
spec.csharp:
- uid: System.Collections.Generic.List`1
name: List
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1
- name: <
- name: (
- uid: Microsoft.Xna.Framework.Point
name: Point
isExternal: true
- name: " "
- uid: System.ValueTuple{Microsoft.Xna.Framework.Point,System.Int32,System.Predicate{TinyLife.Objects.MapObject}}.NextPos
name: NextPos
href: https://learn.microsoft.com/dotnet/api/system.valuetuple-microsoft.xna.framework.point,system.int32,system.predicate-tinylife.objects.mapobject--.nextpos
- name: ','
- name: " "
- uid: System.Int32
name: int
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.int32
- name: " "
- uid: System.ValueTuple{Microsoft.Xna.Framework.Point,System.Int32,System.Predicate{TinyLife.Objects.MapObject}}.NextFloor
name: NextFloor
href: https://learn.microsoft.com/dotnet/api/system.valuetuple-microsoft.xna.framework.point,system.int32,system.predicate-tinylife.objects.mapobject--.nextfloor
- name: ','
- name: " "
- uid: System.Predicate`1
name: Predicate
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.predicate-1
- name: <
- uid: TinyLife.Objects.MapObject
name: MapObject
href: TinyLife.Objects.MapObject.html
- name: '>'
- name: " "
- uid: System.ValueTuple{Microsoft.Xna.Framework.Point,System.Int32,System.Predicate{TinyLife.Objects.MapObject}}.Predicate
name: Predicate
href: https://learn.microsoft.com/dotnet/api/system.valuetuple-microsoft.xna.framework.point,system.int32,system.predicate-tinylife.objects.mapobject--.predicate
- name: )
- name: '>'
spec.vb:
- uid: System.Collections.Generic.List`1
name: List
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1
- name: (
- name: Of
- name: " "
- name: (
- uid: System.ValueTuple{Microsoft.Xna.Framework.Point,System.Int32,System.Predicate{TinyLife.Objects.MapObject}}.NextPos
name: NextPos
href: https://learn.microsoft.com/dotnet/api/system.valuetuple-microsoft.xna.framework.point,system.int32,system.predicate-tinylife.objects.mapobject--.nextpos
- name: " "
- name: As
- name: " "
- uid: Microsoft.Xna.Framework.Point
name: Point
isExternal: true
- name: ','
- name: " "
- uid: System.ValueTuple{Microsoft.Xna.Framework.Point,System.Int32,System.Predicate{TinyLife.Objects.MapObject}}.NextFloor
name: NextFloor
href: https://learn.microsoft.com/dotnet/api/system.valuetuple-microsoft.xna.framework.point,system.int32,system.predicate-tinylife.objects.mapobject--.nextfloor
- name: " "
- name: As
- name: " "
- uid: System.Int32
name: Integer
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.int32
- name: ','
- name: " "
- uid: System.ValueTuple{Microsoft.Xna.Framework.Point,System.Int32,System.Predicate{TinyLife.Objects.MapObject}}.Predicate
name: Predicate
href: https://learn.microsoft.com/dotnet/api/system.valuetuple-microsoft.xna.framework.point,system.int32,system.predicate-tinylife.objects.mapobject--.predicate
- name: " "
- name: As
- name: " "
- uid: System.Predicate`1
name: Predicate
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.predicate-1
- name: (
- name: Of
- name: " "
- uid: TinyLife.Objects.MapObject
name: MapObject
href: TinyLife.Objects.MapObject.html
- name: )
- name: )
- name: )
- uid: System.Single
commentId: T:System.Single
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single
name: float
nameWithType: float
fullName: float
nameWithType.vb: Single
fullName.vb: Single
name.vb: Single
- uid: System.Boolean
commentId: T:System.Boolean
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
name: bool
nameWithType: bool
fullName: bool
nameWithType.vb: Boolean
fullName.vb: Boolean
name.vb: Boolean
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
name: JsonCopy<T>(T)
nameWithType: Extensions.JsonCopy<T>(T)
fullName: TinyLife.Utilities.Extensions.JsonCopy<T>(T)
nameWithType.vb: Extensions.JsonCopy(Of T)(T)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of T)(T)
name.vb: JsonCopy(Of T)(T)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: <
- name: T
- name: '>'
- name: (
- name: T
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: (
- name: Of
- name: " "
- name: T
- name: )
- name: (
- name: T
- name: )
- uid: TinyLife.Utilities.Extensions
commentId: T:TinyLife.Utilities.Extensions
parent: TinyLife.Utilities
href: TinyLife.Utilities.Extensions.html
name: Extensions
nameWithType: Extensions
fullName: TinyLife.Utilities.Extensions
- uid: Microsoft.Xna.Framework
commentId: N:Microsoft.Xna.Framework
isExternal: true
name: Microsoft.Xna.Framework
nameWithType: Microsoft.Xna.Framework
fullName: Microsoft.Xna.Framework
spec.csharp:
- uid: Microsoft
name: Microsoft
isExternal: true
- name: .
- uid: Microsoft.Xna
name: Xna
isExternal: true
- name: .
- uid: Microsoft.Xna.Framework
name: Framework
isExternal: true
spec.vb:
- uid: Microsoft
name: Microsoft
isExternal: true
- name: .
- uid: Microsoft.Xna
name: Xna
isExternal: true
- name: .
- uid: Microsoft.Xna.Framework
name: Framework
isExternal: true
- uid: System
commentId: N:System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
name: System
nameWithType: System
fullName: System
- uid: System.Collections.Generic.List`1
commentId: T:System.Collections.Generic.List`1
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1
name: List<T>
nameWithType: List<T>
fullName: System.Collections.Generic.List<T>
nameWithType.vb: List(Of T)
fullName.vb: System.Collections.Generic.List(Of T)
name.vb: List(Of T)
spec.csharp:
- uid: System.Collections.Generic.List`1
name: List
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1
- name: <
- name: T
- name: '>'
spec.vb:
- uid: System.Collections.Generic.List`1
name: List
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1
- name: (
- name: Of
- name: " "
- name: T
- name: )
- uid: System.Collections.Generic
commentId: N:System.Collections.Generic
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
name: System.Collections.Generic
nameWithType: System.Collections.Generic
fullName: System.Collections.Generic
spec.csharp:
- uid: System
name: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
- name: .
- uid: System.Collections
name: Collections
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections
- name: .
- uid: System.Collections.Generic
name: Generic
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic
spec.vb:
- uid: System
name: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
- name: .
- uid: System.Collections
name: Collections
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections
- name: .
- uid: System.Collections.Generic
name: Generic
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic
- uid: TinyLife.Utilities
commentId: N:TinyLife.Utilities
href: TinyLife.html
name: TinyLife.Utilities
nameWithType: TinyLife.Utilities
fullName: TinyLife.Utilities
spec.csharp:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Utilities
name: Utilities
href: TinyLife.Utilities.html
spec.vb:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Utilities
name: Utilities
href: TinyLife.Utilities.html