Свойство | Type | Description | |
---|---|---|---|
timeToWaitForRefresh | float |
Свойство | Type | Description | |
---|---|---|---|
m_actualFrequencyDistributionOfSelectedTiles | int[] | ||
m_cutType | CutType | ||
m_desiredTreeValues | int[] | ||
m_histogramHeight | float | ||
m_histogramRect | Rect | ||
m_knownFrequencyDistributionOfSelectedTiles | int[] | ||
m_needSurveyMessageRect | Rect |
Méthode | Description | |
---|---|---|
DisplayHistogram ( int treesToKeep, int treesToCut, float progress ) : void |
Displays the histogram. Presently, implicitly assumes that both arrays have length of ResourceTile.treeSizeClassCount and that all values are >= 0. KNOW YOUR DATA BRO. |
|
DoIt ( object selection ) : void |
Configure modifications then call base implementation.
|
|
IsPermittedOnResourceTile ( ResourceTile, tile ) : bool |
Determines whether this action is permitted on the specified tile.
|
|
OnEnable ( ) : void |
Raises the enable event.
|
Méthode | Description | |
---|---|---|
Awake ( ) : void |
Listen for input messages.
|
|
DisplayControlsContents ( ) : void |
Displays the controls contents.
|
|
DisplayCutSelector ( ) : void |
Displays the cut selector.
|
|
DisplayOperationCost ( ) : void |
Displays the operation cost.
|
|
FilterSelection ( ResourceTileSelection, selection ) : ResourceTileSelection, |
HACK
|
|
SendActionMessage ( ResourceTile, modifiedTiles ) : void | ||
SubmitResourceTileSelectionToServerAPI ( ResourceTileSelection, selection ) : IEnumerator |
Submits the resource tile selection to server API. This differs from the base implementation because the API returns timber values, not modified resource tiles |
|
Update ( ) : void |
Refresh the info for the selection as needed.
|
Méthode | Description | |
---|---|---|
ClearFrequencyDistribution ( ) : void |
Clears the frequency distribution.
|
|
ComputeTreesToBeCut ( int &treesToCut, int &treesToKeep ) : void |
Computes the trees to be cut.
|
|
ComputeTreesToBeCut ( int frequencyDistribution, int &treesToCut, int &treesToKeep ) : void |
Computes the trees to be cut (Overload function).
|
|
InitializeQRatioCurve ( ) : void |
Initializes the Q ratio curve.
|
|
RefreshDataForSelection ( ResourceTileSelection, selection ) : IEnumerator |
Refreshs the data for selection.
|
|
Start ( ) : void |
Initialize q ratio curve.
|
protected DisplayControlsContents ( ) : void | ||
Résultat | void |
public static DisplayHistogram ( int treesToKeep, int treesToCut, float progress ) : void | ||
treesToKeep | int | /// Trees to keep. /// |
treesToCut | int | /// Trees to cut. /// |
progress | float | /// Normalized progress. /// |
Résultat | void |
public DoIt ( object selection ) : void | ||
selection | object | /// The selection to which the action should be applied. /// |
Résultat | void |
protected FilterSelection ( ResourceTileSelection, selection ) : ResourceTileSelection, | ||
selection | ResourceTileSelection, | /// Selection. /// |
Résultat | ResourceTileSelection, |
public IsPermittedOnResourceTile ( ResourceTile, tile ) : bool | ||
tile | ResourceTile, | /// The resource tile in question. /// |
Résultat | bool |
protected SendActionMessage ( ResourceTile, modifiedTiles ) : void | ||
modifiedTiles | ResourceTile, | |
Résultat | void |
protected SubmitResourceTileSelectionToServerAPI ( ResourceTileSelection, selection ) : IEnumerator | ||
selection | ResourceTileSelection, | /// The resource tile selection. /// |
Résultat | IEnumerator |
protected int[] m_actualFrequencyDistributionOfSelectedTiles | ||
Résultat | int[] |
protected static float m_histogramHeight | ||
Résultat | float |
protected int[] m_knownFrequencyDistributionOfSelectedTiles | ||
Résultat | int[] |
protected static Rect m_needSurveyMessageRect | ||
Résultat | Rect |