Elin Modding Docs Doc
Loading...
Searching...
No Matches
SourceBlock.Row Class Reference
Inheritance diagram for SourceBlock.Row:
TileRow RenderRow IRenderSource

Public Member Functions

override void OnInit ()
 
override int GetTile (SourceMaterial.Row mat, int dir=0)
 
override RenderParam GetRenderParam (SourceMaterial.Row mat, int dir, Point point=null, int bridgeHeight=-1)
 
- Public Member Functions inherited from TileRow
void Init ()
 
- Public Member Functions inherited from RenderRow
bool HasTag (CTAG _tag)
 
virtual string GetSearchName (bool jp)
 
bool ContainsTag (string _tag)
 
override void OnImportData (SourceData data)
 
void SetRenderData ()
 
virtual void SetTiles ()
 
int ConvertTile (int tile)
 
Sprite GetSprite (int dir=0, int skin=0, bool snow=false)
 
void SetSpriteRenderer (SpriteRenderer sr, Sprite sprite=null, int matCol=0, bool setTransform=true, int dir=0)
 
virtual SourcePref GetPref ()
 
void SetImage (Image image, Sprite sprite=null, int matCol=0, bool setNativeSize=true, int dir=0, int idSkin=0)
 
void SetRenderParam (RenderParam p, SourceMaterial.Row mat, int dir)
 
int GetColorInt (SourceMaterial.Row mat)
 

Public Attributes

string[] reqHarvest
 
string idThing
 
int roof
 
string autoFloor
 
bool concrete
 
bool transparent
 
int[] transition
 
bool isBlockOrRamp
 
SourceFloor.Row sourceAutoFloor
 
string name_L
 
string detail_L
 
- Public Attributes inherited from TileRow
bool ignoreSnow
 
int id
 
int hp
 
string alias
 
string soundFoot
 
- Public Attributes inherited from RenderRow
int[] tiles
 
int[] _tiles
 
int[] skins
 
int colorMod
 
int sort
 
int value
 
int LV
 
int chance
 
int tempChance
 
int snowTile
 
string name
 
string name_JP
 
string detail
 
string detail_JP
 
string _idRenderData
 
string _tileType
 
string defMat
 
string colorType
 
string category
 
string idSound
 
string aliasPref
 
string[] components
 
string[] factory
 
string[] recipeKey
 
string[] tag
 
int W = 1
 
int H = 1
 
bool multisize
 
SourcePref pref
 
RenderData renderData
 
Sprite[,] sprites
 
TileType tileType
 
bool useAltColor
 
bool useRandomColor
 
bool fixedMaterial
 
SourceMaterial.Row DefaultMaterial
 
SpriteReplacer replacer
 
string _nameSearch
 
string _nameSearchJP
 

Properties

override bool UseAlias [get]
 
override string GetAlias [get]
 
override string RecipeID [get]
 
override RenderData defaultRenderData [get]
 
- Properties inherited from RenderRow
virtual string idString [get]
 
virtual string RecipeID [get]
 
virtual string pathRenderData [get]
 
virtual string idRenderData [get]
 
virtual RenderData defaultRenderData [get]
 
virtual string pathSprite [get]
 
virtual string idSprite [get]
 
virtual string prefabName [get]
 
SourceCategory.Row Category [get]
 
string RecipeCat [get]
 
SourceManager sources [get]
 

Additional Inherited Members

- Static Public Attributes inherited from RenderRow
static Dictionary< string, RenderDataDictRenderData = new Dictionary<string, RenderData>()
 

Detailed Description

Definition at line 118 of file SourceBlock.cs.

Member Function Documentation

◆ GetRenderParam()

override RenderParam SourceBlock.Row.GetRenderParam ( SourceMaterial.Row mat,
int dir,
Point point = null,
int bridgeHeight = -1 )
virtual

Reimplemented from RenderRow.

Definition at line 173 of file SourceBlock.cs.

◆ GetTile()

override int SourceBlock.Row.GetTile ( SourceMaterial.Row mat,
int dir = 0 )
virtual

Reimplemented from RenderRow.

Definition at line 167 of file SourceBlock.cs.

◆ OnInit()

override void SourceBlock.Row.OnInit ( )
virtual

Reimplemented from TileRow.

Definition at line 161 of file SourceBlock.cs.

Member Data Documentation

◆ autoFloor

string SourceBlock.Row.autoFloor

Definition at line 198 of file SourceBlock.cs.

◆ concrete

bool SourceBlock.Row.concrete

Definition at line 201 of file SourceBlock.cs.

◆ detail_L

string SourceBlock.Row.detail_L

Definition at line 221 of file SourceBlock.cs.

◆ idThing

string SourceBlock.Row.idThing

Definition at line 192 of file SourceBlock.cs.

◆ isBlockOrRamp

bool SourceBlock.Row.isBlockOrRamp

Definition at line 211 of file SourceBlock.cs.

◆ name_L

string SourceBlock.Row.name_L

Definition at line 218 of file SourceBlock.cs.

◆ reqHarvest

string [] SourceBlock.Row.reqHarvest

Definition at line 189 of file SourceBlock.cs.

◆ roof

int SourceBlock.Row.roof

Definition at line 195 of file SourceBlock.cs.

◆ sourceAutoFloor

SourceFloor.Row SourceBlock.Row.sourceAutoFloor

Definition at line 215 of file SourceBlock.cs.

◆ transition

int [] SourceBlock.Row.transition

Definition at line 207 of file SourceBlock.cs.

◆ transparent

bool SourceBlock.Row.transparent

Definition at line 204 of file SourceBlock.cs.

Property Documentation

◆ defaultRenderData

override RenderData SourceBlock.Row.defaultRenderData
get

Definition at line 152 of file SourceBlock.cs.

◆ GetAlias

override string SourceBlock.Row.GetAlias
get

Definition at line 132 of file SourceBlock.cs.

◆ RecipeID

override string SourceBlock.Row.RecipeID
get

Definition at line 142 of file SourceBlock.cs.

◆ UseAlias

override bool SourceBlock.Row.UseAlias
get

Definition at line 122 of file SourceBlock.cs.


The documentation for this class was generated from the following file: