TinyLifeWeb/docs/api/TinyLife.World.Map.PathfindingNodeConstructDelegate.yml

419 lines
15 KiB
YAML
Raw Normal View History

2023-12-06 13:25:52 +01:00
### 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
2024-04-14 17:55:54 +02:00
startLine: 3048
2023-12-06 13:25:52 +01:00
assemblies:
- Tiny Life
namespace: TinyLife.World
2024-01-07 16:53:47 +01:00
summary: A delegate method used for <xref href="TinyLife.World.Map.OnPathfindingNodeConstruct" data-throw-if-not-resolved="false"></xref>.
2023-12-06 13:25:52 +01:00
example: []
syntax:
2023-12-16 12:54:23 +01:00
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)
2023-12-06 13:25:52 +01:00
parameters:
- id: pos
type: Microsoft.Xna.Framework.Point
- id: floor
type: System.Int32
- id: nextPositions
2023-12-16 12:54:23 +01:00
type: System.Collections.Generic.List{System.ValueTuple{Microsoft.Xna.Framework.Point,System.Int32,System.Predicate{TinyLife.Objects.MapObject}}}
2023-12-06 13:25:52 +01:00
- id: cost
type: System.Single
- id: isFreeSpot
type: System.Boolean
2023-12-16 12:54:23 +01:00
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)
2023-12-06 13:25:52 +01:00
extensionMethods:
- TinyLife.World.Map.PathfindingNodeConstructDelegate.TinyLife.Utilities.Extensions.JsonCopy``1
references:
- uid: TinyLife.World.Map.OnPathfindingNodeConstruct
commentId: E:TinyLife.World.Map.OnPathfindingNodeConstruct
2024-01-07 16:53:47 +01:00
href: TinyLife.World.Map.html#TinyLife_World_Map_OnPathfindingNodeConstruct
2023-12-06 13:25:52 +01:00
name: OnPathfindingNodeConstruct
nameWithType: Map.OnPathfindingNodeConstruct
fullName: TinyLife.World.Map.OnPathfindingNodeConstruct
- uid: TinyLife.World
commentId: N:TinyLife.World
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-12-06 13:25:52 +01:00
name: TinyLife.World
nameWithType: TinyLife.World
fullName: TinyLife.World
spec.csharp:
- uid: TinyLife
name: TinyLife
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-12-06 13:25:52 +01:00
- name: .
- uid: TinyLife.World
name: World
2024-01-07 16:53:47 +01:00
href: TinyLife.World.html
2023-12-06 13:25:52 +01:00
spec.vb:
- uid: TinyLife
name: TinyLife
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-12-06 13:25:52 +01:00
- name: .
- uid: TinyLife.World
name: World
2024-01-07 16:53:47 +01:00
href: TinyLife.World.html
2023-12-06 13:25:52 +01:00
- 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)
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-12-06 13:25:52 +01:00
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
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-12-06 13:25:52 +01:00
- name: <
- uid: TinyLife.World.Map.PathfindingNodeConstructDelegate
name: PathfindingNodeConstructDelegate
2024-01-07 16:53:47 +01:00
href: TinyLife.World.Map.PathfindingNodeConstructDelegate.html
2023-12-06 13:25:52 +01:00
- name: '>'
- name: (
- uid: TinyLife.World.Map.PathfindingNodeConstructDelegate
name: PathfindingNodeConstructDelegate
2024-01-07 16:53:47 +01:00
href: TinyLife.World.Map.PathfindingNodeConstructDelegate.html
2023-12-06 13:25:52 +01:00
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.World.Map.PathfindingNodeConstructDelegate)
name: JsonCopy
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-12-06 13:25:52 +01:00
- name: (
- name: Of
- name: " "
- uid: TinyLife.World.Map.PathfindingNodeConstructDelegate
name: PathfindingNodeConstructDelegate
2024-01-07 16:53:47 +01:00
href: TinyLife.World.Map.PathfindingNodeConstructDelegate.html
2023-12-06 13:25:52 +01:00
- name: )
- name: (
- uid: TinyLife.World.Map.PathfindingNodeConstructDelegate
name: PathfindingNodeConstructDelegate
2024-01-07 16:53:47 +01:00
href: TinyLife.World.Map.PathfindingNodeConstructDelegate.html
2023-12-06 13:25:52 +01:00
- 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
2023-12-16 12:54:23 +01:00
- 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}}}
2023-12-06 13:25:52 +01:00
parent: System.Collections.Generic
2023-12-16 12:54:23 +01:00
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)))
2023-12-06 13:25:52 +01:00
spec.csharp:
2023-12-16 12:54:23 +01:00
- uid: System.Collections.Generic.List`1
name: List
2023-12-06 13:25:52 +01:00
isExternal: true
2023-12-16 12:54:23 +01:00
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1
2023-12-06 13:25:52 +01:00
- name: <
- name: (
- uid: Microsoft.Xna.Framework.Point
name: Point
isExternal: true
2023-12-16 12:54:23 +01:00
- 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
2023-12-06 13:25:52 +01:00
- name: ','
- name: " "
- uid: System.Int32
name: int
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.int32
2023-12-16 12:54:23 +01:00
- 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
2023-12-06 13:25:52 +01:00
- 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
2024-01-07 16:53:47 +01:00
href: TinyLife.Objects.MapObject.html
2023-12-06 13:25:52 +01:00
- name: '>'
2023-12-16 12:54:23 +01:00
- 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: )
2023-12-06 13:25:52 +01:00
- name: '>'
spec.vb:
2023-12-16 12:54:23 +01:00
- uid: System.Collections.Generic.List`1
name: List
2023-12-06 13:25:52 +01:00
isExternal: true
2023-12-16 12:54:23 +01:00
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1
2023-12-06 13:25:52 +01:00
- name: (
- name: Of
- name: " "
- name: (
2023-12-16 12:54:23 +01:00
- 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: " "
2023-12-06 13:25:52 +01:00
- uid: Microsoft.Xna.Framework.Point
name: Point
isExternal: true
- name: ','
- name: " "
2023-12-16 12:54:23 +01:00
- 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: " "
2023-12-06 13:25:52 +01:00
- uid: System.Int32
name: Integer
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.int32
- name: ','
- name: " "
2023-12-16 12:54:23 +01:00
- 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: " "
2023-12-06 13:25:52 +01:00
- 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
2024-01-07 16:53:47 +01:00
href: TinyLife.Objects.MapObject.html
2023-12-06 13:25:52 +01:00
- name: )
- name: )
2023-12-16 12:54:23 +01:00
- name: )
2023-12-06 13:25:52 +01:00
- 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)
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-12-06 13:25:52 +01:00
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
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-12-06 13:25:52 +01:00
- name: <
- name: T
- name: '>'
- name: (
- name: T
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-12-06 13:25:52 +01:00
- name: (
- name: Of
- name: " "
- name: T
- name: )
- name: (
- name: T
- name: )
- uid: TinyLife.Utilities.Extensions
commentId: T:TinyLife.Utilities.Extensions
parent: TinyLife.Utilities
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html
2023-12-06 13:25:52 +01:00
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
2023-12-16 12:54:23 +01:00
- uid: System.Collections.Generic.List`1
commentId: T:System.Collections.Generic.List`1
2023-12-06 13:25:52 +01:00
isExternal: true
2023-12-16 12:54:23 +01:00
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)
2023-12-06 13:25:52 +01:00
spec.csharp:
2023-12-16 12:54:23 +01:00
- uid: System.Collections.Generic.List`1
name: List
2023-12-06 13:25:52 +01:00
isExternal: true
2023-12-16 12:54:23 +01:00
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1
2023-12-06 13:25:52 +01:00
- name: <
2023-12-16 12:54:23 +01:00
- name: T
2023-12-06 13:25:52 +01:00
- name: '>'
spec.vb:
2023-12-16 12:54:23 +01:00
- uid: System.Collections.Generic.List`1
name: List
2023-12-06 13:25:52 +01:00
isExternal: true
2023-12-16 12:54:23 +01:00
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1
2023-12-06 13:25:52 +01:00
- name: (
- name: Of
- name: " "
2023-12-16 12:54:23 +01:00
- name: T
2023-12-06 13:25:52 +01:00
- 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
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-12-06 13:25:52 +01:00
name: TinyLife.Utilities
nameWithType: TinyLife.Utilities
fullName: TinyLife.Utilities
spec.csharp:
- uid: TinyLife
name: TinyLife
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-12-06 13:25:52 +01:00
- name: .
- uid: TinyLife.Utilities
name: Utilities
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.html
2023-12-06 13:25:52 +01:00
spec.vb:
- uid: TinyLife
name: TinyLife
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-12-06 13:25:52 +01:00
- name: .
- uid: TinyLife.Utilities
name: Utilities
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.html