Show / Hide Table of Contents

Class OrphanAssignmentExtensions

Inheritance
System.Object
OrphanAssignmentExtensions
Namespace: Eco.Gameplay.Placement
Assembly: Eco.Gameplay.dll
Syntax
public static class OrphanAssignmentExtensions : Object

Methods

OrphanAssignmentInitialize(IOrphanAssignment, Boolean)

Declaration
public static void OrphanAssignmentInitialize(this IOrphanAssignment container, bool immediateAssignement = false)
Parameters
Type Name Description
IOrphanAssignment container
System.Boolean immediateAssignement

OrphanAssignmentInitializeAsync(IOrphanAssignment, Boolean)

We use this initializer when we want to wait for the player choice before doing anything else.

Declaration
public static Task<bool> OrphanAssignmentInitializeAsync(this IOrphanAssignment container, bool immediateAssignement = false)
Parameters
Type Name Description
IOrphanAssignment container
System.Boolean immediateAssignement

We set this to true when we want to initialize the container immediatly instead of waiting for after creation.

Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>

OrphanAssignmentOnCreate(IOrphanAssignment)

During creation, we need to peform the orphan assignment.

Declaration
public static void OrphanAssignmentOnCreate(this IOrphanAssignment container)
Parameters
Type Name Description
IOrphanAssignment container
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾