M_Furcadia_Movement_CharacterFlags_HasFlag - StarShip-Avalon-Projects/FurcadiaFramework GitHub Wiki

CharacterFlags.HasFlag Method

This stuff is still in the planning stages. Any questions or Comments are welcome. [This is preliminary documentation and is subject to change.]

Does the triggering furre have flags set?

Namespace: Furcadia.Movement
Assembly: FurcadiaLib (in FurcadiaLib.dll) Version: 2.19.PreAlpha 43

Syntax

C#

public bool HasFlag(
	int FlagToCheck
)

VB

Public Function HasFlag ( 
	FlagToCheck As Integer
) As Boolean

VB Usage

Dim instance As CharacterFlags
Dim FlagToCheck As Integer
Dim returnValue As Boolean

returnValue = instance.HasFlag(FlagToCheck)

C++

public:
bool HasFlag(
	int FlagToCheck
)

F#

member HasFlag : 
        FlagToCheck : int -> bool 

Parameters

 

FlagToCheck
Type: System.Int32
Any one of the CHAR_FLAG_ set

Return Value

Type: Boolean
true if the flag is set

See Also

Reference

CharacterFlags Class
Furcadia.Movement Namespace

⚠️ **GitHub.com Fallback** ⚠️