Elin Decompiled Documentation EA 23.289 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, int idSkin=0)
 
virtual SourcePref GetPref ()
 
void SetImage (Image image, Sprite sprite=null, int matCol=0, bool setNativeSize=true, int dir=0, int idSkin=0, Card card=null)
 
void SetImage (Image image, Sprite sprite, int matCol, bool setNativeSize, int dir, int idSkin, RenderData _renderData, SourcePref _pref)
 
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
Dictionary< string, FieldInfoGetRowFields ()
 
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)
 
virtual IDictionary< string, string > ExportTexts (string idField="id")
 
virtual void ImportTexts (IReadOnlyDictionary< string, string > texts, string idField="id")
 

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(), Chara.RestockEquip(), and TraitFakeTile.TrySetHeldAct().

◆ ConvertTile()

int RenderRow.ConvertTile ( int  tile)
inline

Definition at line 266 of file RenderRow.cs.

267 {
268 return renderData.ConvertTile(tile);
269 }
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 439 of file RenderRow.cs.

440 {
441 if (useAltColor)
442 {
443 if (colorMod != 0)
444 {
445 return BaseTileMap.GetColorInt(ref mat.altColor, colorMod);
446 }
447 return 104025;
448 }
449 if (colorMod != 0)
450 {
451 return BaseTileMap.GetColorInt(ref mat.matColor, colorMod);
452 }
453 return 104025;
454 }
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 CharaRenderer.DrawHat(), 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 356 of file RenderRow.cs.

357 {
358 return pref;
359 }
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 403 of file RenderRow.cs.

404 {
406 shared.tile = GetTile(mat, dir);
407 shared.matColor = GetColorInt(mat);
408 shared.mat = mat;
409 shared.liquidLv = 0;
410 shared.dir = dir;
411 shared.cell = null;
412 Vector3 vector;
413 if (point == null)
414 {
415 shared.color = 11010048f;
418 {
419 vector.y -= 0.8f;
420 }
421 }
422 else
423 {
424 shared.color = 10485760f;
426 vector = point.Position(bridgeHeight);
427 }
428 shared.x = vector.x;
429 shared.y = vector.y;
430 shared.z = vector.z;
431 return shared;
432 }
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:548
bool multiSize
Definition: RenderData.cs:32
static RenderParam shared
Definition: RenderParam.cs:5
int GetColorInt(SourceMaterial.Row mat)
Definition: RenderRow.cs:439
virtual int GetTile(SourceMaterial.Row mat, int dir=0)
Definition: RenderRow.cs:434
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:626

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 271 of file RenderRow.cs.

272 {
274 {
275 return replacer.data.GetSprite(snow);
276 }
277 int[] array = null ?? _tiles;
278 if (sprites == null)
279 {
280 sprites = new Sprite[(skins == null) ? 1 : (skins.Length + 1), (array.Length == 0) ? 1 : array.Length];
281 }
282 if (this is SourceChara.Row)
283 {
284 dir = skin;
285 skin = 0;
286 }
287 if (skin != 0 && skin >= sprites.GetLength(0))
288 {
289 skin = 0;
290 }
291 if (dir < 0)
292 {
293 dir *= -1;
294 }
295 if (dir >= array.Length)
296 {
297 dir = 0;
298 }
299 if (!sprites[skin, dir])
300 {
301 MeshPass pass = renderData.pass;
302 if ((bool)pass)
303 {
304 Texture2D texture2D = pass.mat.GetTexture("_MainTex") as Texture2D;
305 ProceduralMesh pmesh = pass.pmesh;
306 int num = 0;
307 num = ((skin != 0) ? Mathf.Abs(array[dir] + (skins[skin - 1] / 100 * (int)renderData.pass.pmesh.tiling.x + skins[skin - 1] % 100) * ((array[dir] > 0) ? 1 : (-1))) : Mathf.Abs(array[dir]));
308 int num2 = (int)((float)texture2D.width / pmesh.tiling.x);
309 int num3 = (int)((float)texture2D.height / pmesh.tiling.y);
310 int num4 = (int)((float)num % pmesh.tiling.x);
311 int num5 = (int)((float)num / pmesh.tiling.x);
312 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);
313 }
314 else
315 {
316 sprites[skin, dir] = SpriteSheet.Get(idSprite);
317 if (!sprites[skin, dir])
318 {
319 sprites[skin, dir] = Resources.Load<Sprite>(pathSprite + idSprite) ?? Resources.Load<Sprite>(pathSprite + idSprite + "_0");
320 }
321 }
322 if (!sprites[skin, dir])
323 {
324 sprites[skin, dir] = Core.Instance.refs.spriteNull;
325 }
326 }
327 return sprites[skin, dir];
328 }
Sprite spriteNull
Definition: CoreRef.cs:391
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:67
SpriteData data
bool HasSprite(string id, RenderData renderData=null)
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 434 of file RenderRow.cs.

435 {
436 return _tiles[dir % _tiles.Length];
437 }

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:254
bool fixedMaterial
Definition: RenderRow.cs:66

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

◆ SetImage() [1/2]

void RenderRow.SetImage ( Image  image,
Sprite  sprite,
int  matCol,
bool  setNativeSize,
int  dir,
int  idSkin,
RenderData  _renderData,
SourcePref  _pref 
)
inline

Definition at line 369 of file RenderRow.cs.

370 {
371 image.sprite = sprite ?? GetSprite(dir, idSkin);
372 int num = ((matCol == 0) ? 104025 : matCol);
373 float num2 = 0.02f;
374 Color color = new Color(num2 * (float)(num % 262144 / 4096), num2 * (float)(num % 4096 / 64), num2 * (float)(num % 64), (float)(num / 262144) * 0.01f);
375 color.a = 1f;
376 image.color = color;
377 RectTransform rectTransform = image.Rect();
378 rectTransform.pivot = _renderData.imagePivot - new Vector2(0.01f * (float)_pref.pivotX, 0.01f * (float)_pref.pivotY);
379 float x = Mathf.Abs(image.transform.localScale.x) * (float)((_tiles == null || _tiles.Length == 0 || _tiles[dir % _tiles.Length] >= 0) ? 1 : (-1));
380 float y = image.transform.localScale.y;
381 image.transform.localScale = new Vector3(x, y, image.transform.localScale.z);
382 _pref.Validate();
383 if (setNativeSize)
384 {
385 image.SetNativeSize();
386 if (_renderData.imageScale.x != 1f || _renderData.imageScale.y != 1f || _pref.scaleIcon != 0)
387 {
388 rectTransform.sizeDelta = new Vector2(rectTransform.sizeDelta.x * (_renderData.imageScale.x + (float)_pref.scaleIcon * 0.01f), rectTransform.sizeDelta.y * (_renderData.imageScale.y + (float)_pref.scaleIcon * 0.01f));
389 }
390 }
391 }
Vector2 imageScale
Definition: RenderData.cs:28
Sprite GetSprite(int dir=0, int skin=0, bool snow=false)
Definition: RenderRow.cs:271
int scaleIcon
Definition: SourcePref.cs:291
void Validate()
Definition: SourcePref.cs:351

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

◆ SetImage() [2/2]

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

Definition at line 361 of file RenderRow.cs.

362 {
363 bool num = card != null && card.isChara && card.Chara.spriteReplacer != null && !card.HasHost;
364 SourcePref sourcePref = ((card != null) ? card.Pref : GetPref());
365 RenderData renderData = (num ? card.renderer.data : this.renderData);
366 SetImage(image, sprite, matCol, setNativeSize, dir, idSkin, renderData, sourcePref);
367 }
virtual SourcePref GetPref()
Definition: RenderRow.cs:356
void SetImage(Image image, Sprite sprite=null, int matCol=0, bool setNativeSize=true, int dir=0, int idSkin=0, Card card=null)
Definition: RenderRow.cs:361

References card, GetPref(), renderData, and SetImage().

Referenced by UIDragGridInfo.Init(), UIDragGridInfo.InitFuel(), DropdownGrid.OnChangeIngredient(), TraitFigure.OnSetCardGrid(), LayerInspect.Refresh(), UIRecipeInfo.RefreshImages(), GridItemCardSource.SetButton(), GridItemRecipe.SetButton(), Recipe.SetImage(), Card.SetImage(), 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 (pref == null)
225 {
226 pref = new SourcePref();
227 }
228 if (!this.renderData.initialized)
229 {
230 this.renderData.Init();
231 }
232 SetTiles();
233 string text2 = colorType;
234 if (!(text2 == "alt"))
235 {
236 if (text2 == "random")
237 {
238 useRandomColor = true;
239 }
240 }
241 else
242 {
243 useAltColor = true;
244 }
245 Dictionary<string, SourceMaterial.Row> alias = sources.materials.alias;
246 if (!alias.TryGetValue(defMat.IsEmpty("granite"), out var defaultMaterial))
247 {
248 defaultMaterial = alias["granite"];
249 Debug.LogError($"#source failed to set def mat '{defMat}' - {ModUtil.FindSourceRowPackage(this)}");
250 }
251 DefaultMaterial = defaultMaterial;
252 }
$
Definition: ModManager.cs:86
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:9
SourceMaterial materials
SourceCard cards

References $, aliasPref, SourceManager.cards, colorType, Debug, 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 393 of file RenderRow.cs.

394 {
395 p.tile = GetTile(mat ?? DefaultMaterial, dir);
396 p.matColor = GetColorInt(mat ?? DefaultMaterial);
397 p.mat = mat ?? DefaultMaterial;
398 p.liquidLv = 0;
399 p.dir = dir;
400 p.cell = null;
401 }

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,
int  idSkin = 0 
)
inline

Definition at line 330 of file RenderRow.cs.

331 {
332 sr.sprite = sprite ?? GetSprite(dir, idSkin);
334 {
335 sr.sprite = EClass.core.refs.spriteThingActor;
336 }
337 int num = ((matCol == 0) ? 104025 : matCol);
338 float num2 = (float)(num / 262144) * 0.01f;
339 float num3 = 0.02f;
340 float num4 = 0.3f;
341 if (num2 != 0f)
342 {
343 num3 *= num2;
344 }
345 Color color = new Color(num3 * (float)(num % 262144 / 4096) + num4, num3 * (float)(num % 4096 / 64) + num4, num3 * (float)(num % 64) + num4, 1f);
346 sr.color = color;
347 if (setTransform)
348 {
349 float num5 = sr.bounds.max.x - sr.bounds.min.x;
350 _ = sr.bounds.max;
351 _ = sr.bounds.min;
352 sr.transform.localPosition = new Vector3(-0.5f * num5, 0f, 0f);
353 }
354 }
Sprite spriteThingActor
Definition: CoreRef.cs:401
Definition: EClass.cs:6
static Core core
Definition: EClass.cs:7

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 254 of file RenderRow.cs.

255 {
256 if ((bool)renderData && (bool)renderData.pass && _tiles.Length != tiles.Length)
257 {
258 _tiles = new int[tiles.Length];
259 for (int i = 0; i < tiles.Length; i++)
260 {
261 _tiles[i] = tiles[i] / 100 * (int)renderData.pass.pmesh.tiling.x + tiles[i] % 100;
262 }
263 }
264 }
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(), and SourceThingV.OnAfterImportData().

◆ 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: