Toolbox 0.0.1
Ritchie's accessible game engine'
Loading...
Searching...
No Matches
ThingExtensions Class Reference

Static Public Member Functions

static bool TryGetPart< T > (this Thing thing, [MaybeNullWhen(false)] out T part)
 
static IEnumerable< T > GetParts< T > (this Part part)
 
static ? T GetPart< T > (this Part part)
 
static bool TryGetPart< T > (this Part part, [MaybeNullWhen(false)] out T retrievedPart)
 
static void MustGetPart< T > (this Thing thing, out T part)
 
static void MustGetPart< T > (this Part part, out T wantedPart)
 

Member Function Documentation

◆ GetPart< T >()

static ? T GetPart< T > ( this Part part)
inlinestatic
Type Constraints
T :Part 

◆ GetParts< T >()

static IEnumerable< T > GetParts< T > ( this Part part)
inlinestatic
Type Constraints
T :Part 

◆ MustGetPart< T >() [1/2]

static void MustGetPart< T > ( this Part part,
out T wantedPart )
inlinestatic
Type Constraints
T :Part 

◆ MustGetPart< T >() [2/2]

static void MustGetPart< T > ( this Thing thing,
out T part )
inlinestatic
Type Constraints
T :Part 

◆ TryGetPart< T >() [1/2]

static bool TryGetPart< T > ( this Part part,
[MaybeNullWhen(false)] out T retrievedPart )
inlinestatic
Type Constraints
T :Part 

◆ TryGetPart< T >() [2/2]

static bool TryGetPart< T > ( this Thing thing,
[MaybeNullWhen(false)] out T part )
inlinestatic
Type Constraints
T :Part 

The documentation for this class was generated from the following file: