Enum EntityReferenceComparisonMode
- Namespace
- ElectricDrill.AstraRpgFramework.Conditions
- Assembly
- com.electricdrill.astra-rpg-framework.Runtime.dll
Defines how two resolved entity slots should be compared.
public enum EntityReferenceComparisonMode
Fields
DifferentEntity = 1Evaluates to
trueonly when both slots resolve to non-null entities and both resolved references do not point to the same EntityCore instance.LeftIsNotNull = 3Evaluates to
truewhen the left slot resolves to a non-null entity.LeftIsNull = 2Evaluates to
truewhen the left slot resolves tonull.RightIsNotNull = 5Evaluates to
truewhen the right slot resolves to a non-null entity.RightIsNull = 4Evaluates to
truewhen the right slot resolves tonull.SameEntity = 0Evaluates to
trueonly when both slots resolve to non-null entities and both references point to the same EntityCore instance.