C# 클래스 PlayerActionScheduleHarvest, tf_client

An action to schedule a regular harvest.
상속: PlayerActionHarvestTimber
파일 보기 프로젝트 열기: wids-eria/tf_client

Private Properties

프로퍼티 타입 설명
ConcludeHarvest IEnumerator
DisplayCurrentHarvestDetails void
DisplayCurrentHarvestHistoryViewer void
DisplayDiameterLimitDetails void
DisplayHarvestList void
DisplayNewHarvestTab void
DisplayQRatioDetails void
DisplayReviewHarvestsTab void
DrawLineInGraph void
DrawPointInGraph void
ExecuteHarvests IEnumerator

공개 메소드들

메소드 설명
DisplayHarvestHistoryGraph ( Rect parent, Harvest, harvest, HistoryTab currentTab, TimeSeries, poleTimberSeries, TimeSeries, sawTimberSeries, Material lineGraphMaterial ) : string

Displays the history of the supplied harvest as a line graph.

DoIt ( object selection ) : void

Configure modifications then call base implementation.

ExecuteHarvests ( ) : void

Executes the harvests.

IsPermittedOnResourceTile ( ResourceTile, tile ) : bool

Determines whether this action is permitted on the specified tile.

ScheduleHarvest ( Harvest, harvest ) : void

Schedules the harvest.

_HarvestExecuted ( MessageHarvestExecuted, msg ) : void

Raises the harvest executed event.

Concludes the harvest if needed

보호된 메소드들

메소드 설명
Awake ( ) : void

Listen for messages.

DisplayControlsContents ( ) : void

Displays the controls contents.

Update ( ) : void

Debug

비공개 메소드들

메소드 설명
ConcludeHarvest ( Harvest, harvest ) : IEnumerator

Concludes the harvest.

DisplayCurrentHarvestDetails ( ) : void

Displays the current harvest details.

DisplayCurrentHarvestHistoryViewer ( ) : void

Displays the current harvest history viewer.

DisplayDiameterLimitDetails ( ) : void

Displays the diameter limit details.

DisplayHarvestList ( ) : void

Displays the harvest list.

DisplayNewHarvestTab ( ) : void

Displays the new harvest tab.

DisplayQRatioDetails ( ) : void

Displays the Q ratio details.

DisplayReviewHarvestsTab ( ) : void

Displays the review harvests tab.

DrawLineInGraph ( TimeSeries, timeSeries, Vector2 points, Material material, Vector2 upperLeftCorner ) : void

Draws the line in graph.

DrawPointInGraph ( TimeSeries, timeSeries, Vector2 centerPoint, string tooltip ) : void

Draws the point in the line graph.

ExecuteHarvests ( Harvest, harvests ) : IEnumerator

Executes the harvests.

메소드 상세

Awake() 보호된 메소드

Listen for messages.
protected Awake ( ) : void
리턴 void

DisplayControlsContents() 보호된 메소드

Displays the controls contents.
protected DisplayControlsContents ( ) : void
리턴 void

DisplayHarvestHistoryGraph() 공개 정적인 메소드

Displays the history of the supplied harvest as a line graph.
public static DisplayHarvestHistoryGraph ( Rect parent, Harvest, harvest, HistoryTab currentTab, TimeSeries, poleTimberSeries, TimeSeries, sawTimberSeries, Material lineGraphMaterial ) : string
parent Rect /// The parent rectangle ///
harvest Harvest, /// Harvest. ///
currentTab HistoryTab /// Current tab. ///
poleTimberSeries TimeSeries, /// Pole timber point style. ///
sawTimberSeries TimeSeries, /// Saw timber point style. ///
lineGraphMaterial Material /// Line graph material. ///
리턴 string

DoIt() 공개 메소드

Configure modifications then call base implementation.
public DoIt ( object selection ) : void
selection object /// The selection to which the action should be applied. ///
리턴 void

ExecuteHarvests() 공개 메소드

Executes the harvests.
public ExecuteHarvests ( ) : void
리턴 void

IsPermittedOnResourceTile() 공개 메소드

Determines whether this action is permitted on the specified tile.
public IsPermittedOnResourceTile ( ResourceTile, tile ) : bool
tile ResourceTile, /// The resource tile in question. ///
리턴 bool

ScheduleHarvest() 공개 메소드

Schedules the harvest.
public ScheduleHarvest ( Harvest, harvest ) : void
harvest Harvest, /// Harvest. ///
리턴 void

Update() 보호된 메소드

Debug
protected Update ( ) : void
리턴 void

_HarvestExecuted() 공개 메소드

Raises the harvest executed event.
Concludes the harvest if needed
public _HarvestExecuted ( MessageHarvestExecuted, msg ) : void
msg MessageHarvestExecuted, /// Message. ///
리턴 void