// called by native bool RaiseTalk(Critter cr_talk, bool attach, uint talk_count) { if (Talk != null) { var e = new CritterTalkEventArgs(this, cr_talk, attach, talk_count); Talk(this, e); return(!e.Prevent); } return(true); }
// called by native bool RaiseTalk(Critter cr_talk, bool attach, uint talk_count) { if (Talk != null) { var e = new CritterTalkEventArgs(this, cr_talk, attach, talk_count); Talk(this, e); return !e.Prevent; } return true; }