Elin Decompiled Documentation
EA 23.345.1 Nightly
Loading...
Searching...
No Matches
TileRow.cs
Go to the documentation of this file.
1
using
System;
2
using
UnityEngine;
3
4
public
class
TileRow
:
RenderRow
5
{
6
[NonSerialized]
7
public
bool
ignoreSnow
;
8
9
public
int
id
;
10
11
public
int
hp
;
12
13
public
string
alias
;
14
15
public
string
soundFoot
;
16
17
public
void
Init
()
18
{
19
if
(!
TileType
.
dict
.TryGetValue(
_tileType
, out
tileType
))
20
{
21
Debug
.LogError(
$
"#source unknown tile type '{_tileType}' for tile row {id}/{alias}"
);
22
tileType
=
TileType
.
None
;
23
}
24
SetRenderData
();
25
OnInit
();
26
}
27
28
public
virtual
void
OnInit
()
29
{
30
}
31
}
$
$
Definition:
CustomDramaExpansion.cs:16
ReleaseMode.Debug
@ Debug
RenderRow
Definition:
RenderRow.cs:7
RenderRow._tileType
string _tileType
Definition:
RenderRow.cs:40
RenderRow.tileType
TileType tileType
Definition:
RenderRow.cs:77
RenderRow.SetRenderData
void SetRenderData()
Definition:
RenderRow.cs:180
TileRow
Definition:
TileRow.cs:5
TileRow.hp
int hp
Definition:
TileRow.cs:11
TileRow.ignoreSnow
bool ignoreSnow
Definition:
TileRow.cs:7
TileRow.OnInit
virtual void OnInit()
Definition:
TileRow.cs:28
TileRow.alias
string alias
Definition:
TileRow.cs:13
TileRow.id
int id
Definition:
TileRow.cs:9
TileRow.Init
void Init()
Definition:
TileRow.cs:17
TileRow.soundFoot
string soundFoot
Definition:
TileRow.cs:15
TileType
Definition:
TileType.cs:6
TileType.dict
static Dictionary< string, TileType > dict
Definition:
TileType.cs:129
TileType.None
static TileTypeNone None
Definition:
TileType.cs:15
Elin
TileRow.cs
Generated by
1.9.6