public bool IsEating() { if ((Object)assigned != (Object)null && assigned.assignee != null) { GameObject targetGameObject = assigned.assignee.GetSoleOwner().GetComponent <MinionAssignablesProxy>().GetTargetGameObject(); if ((bool)targetGameObject) { ChoreDriver component = targetGameObject.GetComponent <ChoreDriver>(); return((Object)component != (Object)null && component.HasChore() && component.GetCurrentChore().choreType.urge == Db.Get().Urges.Eat); } } return(false); }
public bool IsEating() { return(choreDriver.HasChore() && choreDriver.GetCurrentChore().choreType.urge == Db.Get().Urges.Eat); }
public bool IsEating() { ChoreDriver component = base.master.GetComponent <ChoreDriver>(); return(component.HasChore() && component.GetCurrentChore().choreType.urge == Db.Get().Urges.Eat); }
public bool IsPeeing() { return(choreDriver.HasChore() && choreDriver.GetCurrentChore().SatisfiesUrge(Db.Get().Urges.Pee)); }