C# 클래스 ResourceTileLite, tf_client

A reduced resource tile model to manually cache only needed data.
파일 보기 프로젝트 열기: wids-eria/tf_client 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
animalCount int
baseCoverType BaseCoverType
boughtByDeveloper bool
boughtByTimberCompany bool
canBeSurveyed bool
desirability float
id int
idMegatile int
idOwner int
isSurveyed bool
outpostRequested bool
permittedActions int
surveyRequested bool
treeCount int
zone ZoneType

공개 메소드들

메소드 설명
Empty ( ) : ResourceTileLite,

Create an empty ResourceTileLite.

Equals ( object obj ) : bool
GetCenterPoint ( ) : Vector3
GetHashCode ( ) : int
IsActionPermitted ( PlayerAction, action ) : bool

Determines whether the specified action is permitted on this instance.

ResourceTileLite ( ResourceTile, rawTileData ) : UnityEngine

Initializes a new instance of the ResourceTileLite struct.

ToString ( ) : string

Returns a System.String that represents the current ResourceTileLite.

메소드 상세

Empty() 공개 정적인 메소드

Create an empty ResourceTileLite.
public static Empty ( ) : ResourceTileLite,
리턴 ResourceTileLite,

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetCenterPoint() 공개 메소드

public GetCenterPoint ( ) : Vector3
리턴 Vector3

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

IsActionPermitted() 공개 메소드

Determines whether the specified action is permitted on this instance.
public IsActionPermitted ( PlayerAction, action ) : bool
action PlayerAction, /// The action being requested. ///
리턴 bool

ResourceTileLite() 공개 메소드

Initializes a new instance of the ResourceTileLite struct.
public ResourceTileLite ( ResourceTile, rawTileData ) : UnityEngine
rawTileData ResourceTile, /// Raw tile data. ///
리턴 UnityEngine

ToString() 공개 메소드

Returns a System.String that represents the current ResourceTileLite.
public ToString ( ) : string
리턴 string

프로퍼티 상세

animalCount 공개적으로 프로퍼티

The total number of animals on the tile
public int animalCount
리턴 int

baseCoverType 공개적으로 프로퍼티

The type of the base cover.
This is here for now since desirability is simulated on the client. It is otherwise unused for now.
public BaseCoverType baseCoverType
리턴 BaseCoverType

boughtByDeveloper 공개적으로 프로퍼티

public bool boughtByDeveloper
리턴 bool

boughtByTimberCompany 공개적으로 프로퍼티

public bool boughtByTimberCompany
리턴 bool

canBeSurveyed 공개적으로 프로퍼티

public bool canBeSurveyed
리턴 bool

desirability 공개적으로 프로퍼티

public float desirability
리턴 float

id 공개적으로 프로퍼티

The identifier.
public int id
리턴 int

idMegatile 공개적으로 프로퍼티

public int idMegatile
리턴 int

idOwner 공개적으로 프로퍼티

public int idOwner
리턴 int

isSurveyed 공개적으로 프로퍼티

public bool isSurveyed
리턴 bool

outpostRequested 공개적으로 프로퍼티

public bool outpostRequested
리턴 bool

permittedActions 공개적으로 프로퍼티

The permitted actions as a bit field.
Each bit corresponds to an index in the player's list of actions.
public int permittedActions
리턴 int

surveyRequested 공개적으로 프로퍼티

public bool surveyRequested
리턴 bool

treeCount 공개적으로 프로퍼티

The total number of trees on the tile
public int treeCount
리턴 int

zone 공개적으로 프로퍼티

The zone.
public ZoneType zone
리턴 ZoneType