Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
RenderRow Class Reference
Inheritance diagram for RenderRow:
SourceData< T, T2 >.BaseRow IRenderSource CardRow TileRow SourceChara.Row SourceThing.Row SourceBlock.Row SourceCellEffect.Row SourceFloor.Row SourceObj.Row SourceThingV.Row SourceFood.Row2

Public Member Functions

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)
 
virtual RenderParam GetRenderParam (SourceMaterial.Row mat, int dir, Point point=null, int bridgeHeight=-1)
 
virtual int GetTile (SourceMaterial.Row mat, int dir=0)
 
int GetColorInt (SourceMaterial.Row mat)
 
- Public Member Functions inherited from SourceData< T, T2 >.BaseRow
virtual string GetName ()
 
string GetDetail ()
 
virtual string GetEditorListName ()
 
string GetText (string id="name", bool returnNull=false)
 
string[] GetTextArray (string id)
 
virtual void SetID (ref int count)
 
virtual void OnImportData (SourceData data)
 

Public Attributes

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
 
bool fixedMaterial
 
SourcePref pref
 
RenderData renderData
 
Sprite[,] sprites
 
TileType tileType
 
bool useAltColor
 
bool useRandomColor
 
SourceMaterial.Row DefaultMaterial
 
SpriteReplacer replacer
 
string _nameSearch
 
string _nameSearchJP
 
- Public Attributes inherited from SourceData< T, T2 >.BaseRow
int _index
 

Static Public Attributes

static Dictionary< string, RenderDataDictRenderData = new Dictionary<string, RenderData>()
 

Properties

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]
 
- Properties inherited from SourceData< T, T2 >.BaseRow
virtual bool UseAlias [get]
 
virtual string GetAlias [get]
 

Private Attributes

SourceCategory.Row _category
 
string _recipeCat
 

Detailed Description

Definition at line 6 of file RenderRow.cs.

Member Function Documentation

◆ ContainsTag()

bool RenderRow.ContainsTag ( string  _tag)
inline

Definition at line 148 of file RenderRow.cs.

149 {
150 return tag.Contains(_tag);
151 }
string[] tag
Definition: RenderRow.cs:58

References tag.

Referenced by CharaRenderer.DrawHeld(), SourceFloor.OnAfterInit(), and Chara.RestockEquip().

◆ ConvertTile()

int RenderRow.ConvertTile ( int  tile)
inline

Definition at line 256 of file RenderRow.cs.

257 {
258 return renderData.ConvertTile(tile);
259 }
int ConvertTile(int tile)
Definition: RenderData.cs:110
RenderData renderData
Definition: RenderRow.cs:71

References RenderData.ConvertTile(), and renderData.

◆ GetColorInt()

int RenderRow.GetColorInt ( SourceMaterial::Row  mat)
inline

Definition at line 417 of file RenderRow.cs.

418 {
419 if (useAltColor)
420 {
421 if (colorMod != 0)
422 {
423 return BaseTileMap.GetColorInt(ref mat.altColor, colorMod);
424 }
425 return 104025;
426 }
427 if (colorMod != 0)
428 {
429 return BaseTileMap.GetColorInt(ref mat.matColor, colorMod);
430 }
431 return 104025;
432 }
static int GetColorInt(ref Color matColor, int p)
bool useAltColor
Definition: RenderRow.cs:80
int colorMod
Definition: RenderRow.cs:16

References colorMod, BaseTileMap.GetColorInt(), and useAltColor.

Referenced by Recipe.GetDefaultColor(), GetRenderParam(), UIDragGridInfo.Init(), UIDragGridInfo.InitFuel(), DropdownGrid.OnChangeIngredient(), UIRecipeInfo.RefreshImages(), Recipe.SetImage(), ButtonGrid.SetRecipeVariation(), and SetRenderParam().

◆ GetPref()

virtual SourcePref RenderRow.GetPref ( )
inlinevirtual

Reimplemented in CardRow.

Definition at line 341 of file RenderRow.cs.

342 {
343 return pref;
344 }
SourcePref pref
Definition: RenderRow.cs:68

References pref.

Referenced by SetImage().

◆ GetRenderParam()

virtual RenderParam RenderRow.GetRenderParam ( SourceMaterial::Row  mat,
int  dir,
Point  point = null,
int  bridgeHeight = -1 
)
inlinevirtual

Reimplemented in SourceBlock.Row.

Definition at line 381 of file RenderRow.cs.

382 {
384 shared.tile = GetTile(mat, dir);
385 shared.matColor = GetColorInt(mat);
386 shared.mat = mat;
387 shared.liquidLv = 0;
388 shared.dir = dir;
389 shared.cell = null;
390 Vector3 vector;
391 if (point == null)
392 {
393 shared.color = 11010048f;
396 {
397 vector.y -= 0.8f;
398 }
399 }
400 else
401 {
402 shared.color = 10485760f;
404 vector = point.Position(bridgeHeight);
405 }
406 shared.x = vector.x;
407 shared.y = vector.y;
408 shared.z = vector.z;
409 return shared;
410 }
BaseTileMap tileMap
Vector3 renderPos
Definition: Core.cs:14
static new Core Instance
Definition: Core.cs:15
Scene scene
Definition: Core.cs:65
BaseGameScreen screen
Definition: Core.cs:67
ref Vector3 Position(int height)
Definition: Point.cs:524
bool multiSize
Definition: RenderData.cs:32
static RenderParam shared
Definition: RenderParam.cs:5
int GetColorInt(SourceMaterial.Row mat)
Definition: RenderRow.cs:417
virtual int GetTile(SourceMaterial.Row mat, int dir=0)
Definition: RenderRow.cs:412
CameraSupport camSupport
Definition: Scene.cs:41

References Scene.camSupport, GetColorInt(), GetTile(), Core.Instance, RenderData.multiSize, renderData, CameraSupport.renderPos, Core.scene, Core.screen, RenderParam.shared, BaseGameScreen.tileMap, and BaseTileMap.x.

Referenced by Recipe.OnRenderMarker(), and UICardInfo.UpdateRecipe().

◆ GetSearchName()

virtual string RenderRow.GetSearchName ( bool  jp)
inlinevirtual

Reimplemented in SourceChara.Row, and SourceThing.Row.

Definition at line 130 of file RenderRow.cs.

131 {
132 object obj;
133 if (!jp)
134 {
135 obj = _nameSearch;
136 if (obj == null)
137 {
138 return _nameSearch = name.ToLower();
139 }
140 }
141 else
142 {
143 obj = _nameSearchJP ?? (_nameSearchJP = GetText().ToLower());
144 }
145 return (string)obj;
146 }
string _nameSearch
Definition: RenderRow.cs:92
string name
Definition: RenderRow.cs:30
string _nameSearchJP
Definition: RenderRow.cs:95
string GetText(string id="name", bool returnNull=false)
Definition: SourceData.cs:553

References _nameSearch, _nameSearchJP, SourceData< T, T2 >.BaseRow.GetText(), and name.

Referenced by WidgetSearch.Search().

◆ GetSprite()

Sprite RenderRow.GetSprite ( int  dir = 0,
int  skin = 0,
bool  snow = false 
)
inline

Definition at line 261 of file RenderRow.cs.

262 {
264 {
265 return replacer.data.GetSprite(snow);
266 }
267 int[] array = null ?? _tiles;
268 if (sprites == null)
269 {
270 sprites = new Sprite[(skins == null) ? 1 : (skins.Length + 1), (array.Length == 0) ? 1 : array.Length];
271 }
272 if (skin != 0 && skin >= sprites.GetLength(0))
273 {
274 skin = 0;
275 }
276 if (dir < 0)
277 {
278 dir *= -1;
279 }
280 if (dir >= array.Length)
281 {
282 dir = 0;
283 }
284 if (!sprites[skin, dir])
285 {
286 MeshPass pass = renderData.pass;
287 if ((bool)pass)
288 {
289 Texture2D texture2D = pass.mat.GetTexture("_MainTex") as Texture2D;
290 ProceduralMesh pmesh = pass.pmesh;
291 int num = 0;
292 num = ((skin != 0) ? Mathf.Abs(array[dir] + skins[skin - 1] * ((array[dir] > 0) ? 1 : (-1))) : Mathf.Abs(array[dir]));
293 int num2 = (int)((float)texture2D.width / pmesh.tiling.x);
294 int num3 = (int)((float)texture2D.height / pmesh.tiling.y);
295 int num4 = (int)((float)num % pmesh.tiling.x);
296 int num5 = (int)((float)num / pmesh.tiling.x);
297 sprites[skin, dir] = Sprite.Create(texture2D, new Rect(num4 * num2, texture2D.height - (num5 + 1) * num3, num2, num3 * ((!renderData.multiSize) ? 1 : 2)), Vector2.zero, 100f, 0u, SpriteMeshType.FullRect);
298 }
299 else
300 {
301 sprites[skin, dir] = SpriteSheet.Get(idSprite);
302 if (!sprites[skin, dir])
303 {
304 sprites[skin, dir] = Resources.Load<Sprite>(pathSprite + idSprite) ?? Resources.Load<Sprite>(pathSprite + idSprite + "_0");
305 }
306 }
307 if (!sprites[skin, dir])
308 {
309 sprites[skin, dir] = Core.Instance.refs.spriteNull;
310 }
311 }
312 return sprites[skin, dir];
313 }
Sprite spriteNull
Definition: CoreRef.cs:375
CoreRef refs
Definition: Core.cs:51
ProceduralMesh pmesh
Definition: MeshPass.cs:25
Material mat
Definition: MeshPass.cs:21
MeshPass pass
Definition: RenderData.cs:16
virtual string idSprite
Definition: RenderRow.cs:115
SpriteReplacer replacer
Definition: RenderRow.cs:89
virtual string pathSprite
Definition: RenderRow.cs:113
Sprite[,] sprites
Definition: RenderRow.cs:74
int[] skins
Definition: RenderRow.cs:14
int[] _tiles
Definition: RenderRow.cs:12
Sprite GetSprite(bool snow=false)
Definition: SpriteData.cs:58
SpriteData data
bool HasSprite(string id)
static Sprite Get(string id)
Definition: SpriteSheet.cs:28

References _tiles, SpriteReplacer.data, SpriteSheet.Get(), SpriteData.GetSprite(), SpriteReplacer.HasSprite(), idSprite, Core.Instance, MeshPass.mat, RenderData.multiSize, RenderData.pass, pathSprite, MeshPass.pmesh, Core.refs, renderData, replacer, skins, CoreRef.spriteNull, sprites, and ProceduralMesh.tiling.

Referenced by Card.GetSprite(), Chara.GetSprite(), SetImage(), and SetSpriteRenderer().

◆ GetTile()

virtual int RenderRow.GetTile ( SourceMaterial::Row  mat,
int  dir = 0 
)
inlinevirtual

Reimplemented in SourceBlock.Row, SourceCellEffect.Row, and SourceFloor.Row.

Definition at line 412 of file RenderRow.cs.

413 {
414 return _tiles[dir % _tiles.Length];
415 }

References _tiles.

Referenced by GetRenderParam(), and SetRenderParam().

◆ HasTag()

bool RenderRow.HasTag ( CTAG  _tag)
inline

Definition at line 125 of file RenderRow.cs.

126 {
127 return tag.Contains(_tag.ToString());
128 }

References tag.

Referenced by CodexManager.ListKills(), SourceChara.Row.SetTiles(), and ActEffect.Wish().

◆ OnImportData()

override void RenderRow.OnImportData ( SourceData  data)
inlinevirtual

Reimplemented from SourceData< T, T2 >.BaseRow.

Reimplemented in SourceThing.Row.

Definition at line 153 of file RenderRow.cs.

154 {
155 base.OnImportData(data);
156 _tiles = new int[0];
157 SetTiles();
158 if (defMat.Length > 0 && defMat[0] == '!')
159 {
160 fixedMaterial = true;
161 defMat = defMat.Substring(1, defMat.Length - 1);
162 }
163 else
164 {
165 fixedMaterial = false;
166 }
167 }
string defMat
Definition: RenderRow.cs:42
virtual void SetTiles()
Definition: RenderRow.cs:244
bool fixedMaterial
Definition: RenderRow.cs:66

References _tiles, defMat, fixedMaterial, and SetTiles().

◆ SetImage()

void RenderRow.SetImage ( Image  image,
Sprite  sprite = null,
int  matCol = 0,
bool  setNativeSize = true,
int  dir = 0,
int  idSkin = 0 
)
inline

Definition at line 346 of file RenderRow.cs.

347 {
348 image.sprite = sprite ?? GetSprite(dir, idSkin);
349 int num = ((matCol == 0) ? 104025 : matCol);
350 float num2 = 0.02f;
351 Color color = new Color(num2 * (float)(num % 262144 / 4096), num2 * (float)(num % 4096 / 64), num2 * (float)(num % 64), (float)(num / 262144) * 0.01f);
352 color.a = 1f;
353 image.color = color;
354 RectTransform rectTransform = image.Rect();
355 SourcePref sourcePref = GetPref();
356 rectTransform.pivot = renderData.imagePivot - new Vector2(0.01f * (float)sourcePref.pivotX, 0.01f * (float)sourcePref.pivotY);
357 float x = Mathf.Abs(image.transform.localScale.x) * (float)((_tiles == null || _tiles.Length == 0 || _tiles[dir % _tiles.Length] >= 0) ? 1 : (-1));
358 float y = image.transform.localScale.y;
359 image.transform.localScale = new Vector3(x, y, image.transform.localScale.z);
360 sourcePref.Validate();
361 if (setNativeSize)
362 {
363 image.SetNativeSize();
364 if (renderData.imageScale.x != 1f || renderData.imageScale.y != 1f || sourcePref.scaleIcon != 0)
365 {
366 rectTransform.sizeDelta = new Vector2(rectTransform.sizeDelta.x * (renderData.imageScale.x + (float)sourcePref.scaleIcon * 0.01f), rectTransform.sizeDelta.y * (renderData.imageScale.y + (float)sourcePref.scaleIcon * 0.01f));
367 }
368 }
369 }
Vector2 imageScale
Definition: RenderData.cs:28
virtual SourcePref GetPref()
Definition: RenderRow.cs:341
Sprite GetSprite(int dir=0, int skin=0, bool snow=false)
Definition: RenderRow.cs:261
int scaleIcon
Definition: SourcePref.cs:287
void Validate()
Definition: SourcePref.cs:333

References _tiles, Color, GetPref(), GetSprite(), RenderData.imageScale, SourcePref.pivotX, SourcePref.pivotY, renderData, SourcePref.scaleIcon, and SourcePref.Validate().

Referenced by UIDragGridInfo.Init(), UIDragGridInfo.InitFuel(), DropdownGrid.OnChangeIngredient(), TraitFigure.OnSetCardGrid(), LayerInspect.Refresh(), UIRecipeInfo.RefreshImages(), GridItemCardSource.SetButton(), GridItemRecipe.SetButton(), Recipe.SetImage(), Card.SetImage(), ButtonResourceTrack.SetProp(), ButtonGrid.SetRecipe(), and ButtonGrid.SetRecipeVariation().

◆ SetRenderData()

void RenderRow.SetRenderData ( )
inline

Definition at line 169 of file RenderRow.cs.

170 {
171 replacer = new SpriteReplacer();
172 if (idRenderData.IsEmpty())
173 {
174 this.renderData = defaultRenderData;
175 }
176 else if (idRenderData[0] == '@')
177 {
178 string[] array = idRenderData.Replace("@", "").Split('#');
179 string text = array[0];
180 if (array.Length > 1)
181 {
182 aliasPref = array[1];
183 }
184 this.renderData = DictRenderData.TryGetValue(text);
185 if (this.renderData == null)
186 {
188 if (this is SourceChara.Row)
189 {
190 renderData.offset.x += renderData.pass.pmesh.size.x * 0.5f;
191 renderData.offset.y += renderData.pass.pmesh.size.y * 0.5f;
192 }
193 else
194 {
195 float num = renderData.pass.pmesh.size.x * 0.5f + renderData.pass.pmesh.pos.x;
196 float num2 = renderData.pass.pmesh.size.y * 0.5f + renderData.pass.pmesh.pos.y;
197 renderData.offset.x += num;
198 renderData.offset.y += num2;
199 renderData.offsetBack.x += num;
200 renderData.offsetBack.y += num2;
201 renderData.heldPos.x += num * 0.7f;
202 renderData.heldPos.y += num2 * 0.7f;
203 }
204 renderData.pass = null;
205 this.renderData = renderData;
207 }
208 }
209 else
210 {
212 }
213 if (!Application.isEditor && pref == null)
214 {
215 if (aliasPref.IsEmpty())
216 {
217 pref = new SourcePref();
218 }
219 else
220 {
222 }
223 }
224 if (!this.renderData.initialized)
225 {
226 this.renderData.Init();
227 }
228 SetTiles();
229 string text2 = colorType;
230 if (!(text2 == "alt"))
231 {
232 if (text2 == "random")
233 {
234 useRandomColor = true;
235 }
236 }
237 else
238 {
239 useAltColor = true;
240 }
242 }
bool initialized
Definition: RenderData.cs:53
void Init()
Definition: RenderData.cs:94
SourceManager sources
Definition: RenderRow.cs:123
virtual string pathRenderData
Definition: RenderRow.cs:107
virtual RenderData defaultRenderData
Definition: RenderRow.cs:111
bool useRandomColor
Definition: RenderRow.cs:83
virtual string idRenderData
Definition: RenderRow.cs:109
static Dictionary< string, RenderData > DictRenderData
Definition: RenderRow.cs:8
string colorType
Definition: RenderRow.cs:44
string aliasPref
Definition: RenderRow.cs:50
SourceMaterial.Row DefaultMaterial
Definition: RenderRow.cs:86
Dictionary< string, CardRow > map
Definition: SourceCard.cs:8
SourceMaterial materials
SourceCard cards

References aliasPref, SourceManager.cards, colorType, DefaultMaterial, defaultRenderData, defMat, DictRenderData, idRenderData, RenderData.Init(), RenderData.initialized, SourceCard.map, SourceManager.materials, RenderData.pass, pathRenderData, MeshPass.pmesh, ProceduralMesh.pos, pref, renderData, replacer, SetTiles(), sources, useAltColor, and useRandomColor.

Referenced by SourceCard.AddRow(), and TileRow.Init().

◆ SetRenderParam()

void RenderRow.SetRenderParam ( RenderParam  p,
SourceMaterial::Row  mat,
int  dir 
)
inline

Definition at line 371 of file RenderRow.cs.

372 {
373 p.tile = GetTile(mat ?? DefaultMaterial, dir);
374 p.matColor = GetColorInt(mat ?? DefaultMaterial);
375 p.mat = mat ?? DefaultMaterial;
376 p.liquidLv = 0;
377 p.dir = dir;
378 p.cell = null;
379 }

References DefaultMaterial, GetColorInt(), and GetTile().

Referenced by BaseTileMap.DrawRoof().

◆ SetSpriteRenderer()

void RenderRow.SetSpriteRenderer ( SpriteRenderer  sr,
Sprite  sprite = null,
int  matCol = 0,
bool  setTransform = true,
int  dir = 0 
)
inline

Definition at line 315 of file RenderRow.cs.

316 {
317 sr.sprite = sprite ?? GetSprite(dir);
319 {
320 sr.sprite = EClass.core.refs.spriteThingActor;
321 }
322 int num = ((matCol == 0) ? 104025 : matCol);
323 float num2 = (float)(num / 262144) * 0.01f;
324 float num3 = 0.02f;
325 float num4 = 0.3f;
326 if (num2 != 0f)
327 {
328 num3 *= num2;
329 }
330 Color color = new Color(num3 * (float)(num % 262144 / 4096) + num4, num3 * (float)(num % 4096 / 64) + num4, num3 * (float)(num % 64) + num4, 1f);
331 sr.color = color;
332 if (setTransform)
333 {
334 float num5 = sr.bounds.max.x - sr.bounds.min.x;
335 _ = sr.bounds.max;
336 _ = sr.bounds.min;
337 sr.transform.localPosition = new Vector3(-0.5f * num5, 0f, 0f);
338 }
339 }
Sprite spriteThingActor
Definition: CoreRef.cs:385
Definition: EClass.cs:5
static Core core
Definition: EClass.cs:6

References Color, EClass.core, GetSprite(), Core.refs, renderData, and CoreRef.spriteThingActor.

◆ SetTiles()

virtual void RenderRow.SetTiles ( )
inlinevirtual

Reimplemented in SourceChara.Row, and SourceThing.Row.

Definition at line 244 of file RenderRow.cs.

245 {
246 if ((bool)renderData && (bool)renderData.pass && _tiles.Length != tiles.Length)
247 {
248 _tiles = new int[tiles.Length];
249 for (int i = 0; i < tiles.Length; i++)
250 {
251 _tiles[i] = tiles[i] / 100 * (int)renderData.pass.pmesh.tiling.x + tiles[i] % 100;
252 }
253 }
254 }
int[] tiles
Definition: RenderRow.cs:10

References _tiles, RenderData.pass, MeshPass.pmesh, renderData, tiles, and ProceduralMesh.tiling.

Referenced by OnImportData(), and SetRenderData().

Member Data Documentation

◆ _category

SourceCategory.Row RenderRow._category
private

Definition at line 98 of file RenderRow.cs.

◆ _idRenderData

string RenderRow._idRenderData

Definition at line 38 of file RenderRow.cs.

Referenced by CardRenderer.Draw().

◆ _nameSearch

string RenderRow._nameSearch

◆ _nameSearchJP

string RenderRow._nameSearchJP

◆ _recipeCat

string RenderRow._recipeCat
private

Definition at line 101 of file RenderRow.cs.

◆ _tiles

◆ _tileType

string RenderRow._tileType

Definition at line 40 of file RenderRow.cs.

Referenced by SourceCard.AddRow(), and TileRow.Init().

◆ aliasPref

string RenderRow.aliasPref

Definition at line 50 of file RenderRow.cs.

Referenced by SetRenderData().

◆ category

string RenderRow.category

Definition at line 46 of file RenderRow.cs.

Referenced by RecipeManager.Add(), SourceThingV.OnAfterImportData(), and CardFilter.Pass().

◆ chance

◆ colorMod

int RenderRow.colorMod

◆ colorType

string RenderRow.colorType

Definition at line 44 of file RenderRow.cs.

Referenced by SetRenderData().

◆ components

◆ DefaultMaterial

◆ defMat

string RenderRow.defMat

Definition at line 42 of file RenderRow.cs.

Referenced by SourceThingV.OnAfterImportData(), OnImportData(), and SetRenderData().

◆ detail

string RenderRow.detail

Definition at line 34 of file RenderRow.cs.

Referenced by SourceThingV.OnAfterImportData().

◆ detail_JP

string RenderRow.detail_JP

Definition at line 36 of file RenderRow.cs.

Referenced by SourceThingV.OnAfterImportData().

◆ DictRenderData

Dictionary<string, RenderData> RenderRow.DictRenderData = new Dictionary<string, RenderData>()
static

Definition at line 8 of file RenderRow.cs.

Referenced by SetRenderData().

◆ factory

string [] RenderRow.factory

◆ fixedMaterial

bool RenderRow.fixedMaterial

Definition at line 66 of file RenderRow.cs.

Referenced by Card.ChangeMaterial(), Card.Create(), and OnImportData().

◆ H

int RenderRow.H = 1

Definition at line 62 of file RenderRow.cs.

Referenced by CardRow.OnImportData().

◆ idSound

string RenderRow.idSound

Definition at line 48 of file RenderRow.cs.

◆ LV

◆ multisize

◆ name

◆ name_JP

string RenderRow.name_JP

Definition at line 32 of file RenderRow.cs.

Referenced by SourceChara.Row.GetSearchName(), and SourceThingV.OnAfterImportData().

◆ pref

◆ recipeKey

string [] RenderRow.recipeKey

◆ renderData

◆ replacer

SpriteReplacer RenderRow.replacer

Definition at line 89 of file RenderRow.cs.

Referenced by GetSprite(), CardActor.OnRender(), and SetRenderData().

◆ skins

int [] RenderRow.skins

Definition at line 14 of file RenderRow.cs.

Referenced by GetSprite(), SourceThingV.OnAfterImportData(), and Thing.SetRenderParam().

◆ snowTile

int RenderRow.snowTile

Definition at line 28 of file RenderRow.cs.

Referenced by BaseTileMap.DrawRoof(), and BaseTileMap.DrawTile().

◆ sort

◆ sprites

Sprite [,] RenderRow.sprites

Definition at line 74 of file RenderRow.cs.

Referenced by GetSprite().

◆ tag

◆ tempChance

int RenderRow.tempChance

Definition at line 26 of file RenderRow.cs.

◆ tiles

◆ tileType

◆ useAltColor

bool RenderRow.useAltColor

◆ useRandomColor

bool RenderRow.useRandomColor

Definition at line 83 of file RenderRow.cs.

Referenced by Card.RefreshColor(), and SetRenderData().

◆ value

int RenderRow.value

◆ W

int RenderRow.W = 1

Definition at line 60 of file RenderRow.cs.

Referenced by CardRow.OnImportData().

Property Documentation

◆ Category

◆ defaultRenderData

virtual RenderData RenderRow.defaultRenderData
get

Definition at line 111 of file RenderRow.cs.

Referenced by SetRenderData().

◆ idRenderData

virtual string RenderRow.idRenderData
get

Definition at line 109 of file RenderRow.cs.

Referenced by SetRenderData().

◆ idSprite

virtual string RenderRow.idSprite
get

Definition at line 115 of file RenderRow.cs.

Referenced by GetSprite().

◆ idString

virtual string RenderRow.idString
get

Definition at line 103 of file RenderRow.cs.

◆ pathRenderData

virtual string RenderRow.pathRenderData
get

Definition at line 107 of file RenderRow.cs.

Referenced by SetRenderData().

◆ pathSprite

virtual string RenderRow.pathSprite
get

Definition at line 113 of file RenderRow.cs.

Referenced by GetSprite().

◆ prefabName

virtual string RenderRow.prefabName
get

Definition at line 117 of file RenderRow.cs.

◆ RecipeCat

string RenderRow.RecipeCat
get

Definition at line 121 of file RenderRow.cs.

◆ RecipeID

virtual string RenderRow.RecipeID
get

◆ sources

SourceManager RenderRow.sources
get

Definition at line 123 of file RenderRow.cs.

Referenced by SetRenderData().


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