public bool ShowAllowed(long stepId) { GetChangeTurretTutorialValidationDataEvent eventInstance = new GetChangeTurretTutorialValidationDataEvent(stepId, 0L); base.ScheduleEvent(eventInstance, EngineService.EntityStub); return(eventInstance.MountedWeaponId == this.neededWeapon); }
public bool ShowAllowed(long stepId) { GetChangeTurretTutorialValidationDataEvent eventInstance = new GetChangeTurretTutorialValidationDataEvent(stepId, this.itemId); base.ScheduleEvent(eventInstance, EngineService.EntityStub); return((eventInstance.BattlesCount > 0L) && !eventInstance.TutorialItemAlreadyMounted); }
public bool ShowAllowed(long stepId) { GetChangeTurretTutorialValidationDataEvent eventInstance = new GetChangeTurretTutorialValidationDataEvent(stepId, 0L); base.ScheduleEvent(eventInstance, EngineService.EntityStub); return(eventInstance.BattlesCount > 1L); }