M_Furcadia_Movement_CharacterFlags_HasFlag - StarShip-Avalon-Projects/FurcadiaFramework GitHub Wiki
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
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
- FlagToCheck
- Type: System.Int32
Any one of the CHAR_FLAG_ set
Type: Boolean
true if the flag is set