Example #1
0
        public bool LocationUndergroundEnter(double timeStamp)
        {
            WIActiveState activeState = WIActiveState.Active;

            if (worlditem.Group.Props.TerrainType == LocationTerrainType.AboveGround)
            {
                activeState = WIActiveState.Invisible;
            }
            worlditem.ActiveStateLocked = false;
            worlditem.ActiveState       = activeState;
            worlditem.ActiveStateLocked = true;
            return(true);
        }
Example #2
0
 public bool Is(WIActiveState activeState)
 {
     return(Frontiers.Flags.Check((uint)mActiveState, (uint)activeState, Frontiers.Flags.CheckType.MatchAny));
 }