Elin Modding Docs Doc
|
Public Member Functions | |
override void | OnCreate () |
void | CreateDayData () |
void | ModEther (int a=3) |
void | SendPackage (Thing p) |
![]() | |
int | GetInt (int id, int? defaultInt=null) |
void | AddInt (int id, int value) |
void | SetInt (int id, int value=0) |
override string | ToString () |
void | Create (string _id, int _x, int _y, int _icon) |
void | Register () |
virtual void | OnAfterCreate () |
virtual void | SetMainFaction (Faction f) |
Zone | GetFirstZone () |
void | OnBeforeSave () |
virtual void | _OnBeforeSave () |
void | _OnLoad () |
virtual void | OnLoad () |
virtual void | Destroy () |
void | DeleteMapRecursive () |
virtual void | AddChild (Spatial child) |
void | RemoveChild (Spatial child) |
Zone | FindDeepestZone () |
Zone | FindZone (int lv) |
Zone | FindZone (string _id) |
virtual bool | CanKill () |
int | Dist (Point p) |
int | Dist (Spatial s) |
void | MakeGameObject (GameObject parentGo) |
Public Attributes | |
GameDate | date = new GameDate() |
Season | season = new Season() |
Weather | weather = new Weather() |
Schedule | schedule = new Schedule() |
DayData | dayData |
int | ether |
![]() | |
Spatial | parent |
string | id |
string | idUser |
string | name |
string | idMainFaction |
string | idProfile |
string | idCurrentSubset |
string | idHat |
int[] | _ints = new int[30] |
List< Spatial > | children = new List<Spatial>() |
List< Spatial > | connections = new List<Spatial>() |
Dictionary< int, int > | mapInt = new Dictionary<int, int>() |
bool | destryoed |
bool | isImported |
BitArray32 | bits |
Properties | |
Region | region [get] |
![]() | |
int | _bits [get, set] |
int | uid [get, set] |
int | icon [get, set] |
int | x [get, set] |
int | y [get, set] |
int | lastActive [get, set] |
int | idPrefix [get, set] |
int | lv [get, set] |
int | visitCount [get, set] |
int | dateExpire [get, set] |
int | dateRevive [get, set] |
int | _dangerLv [get, set] |
int | dateRegenerate [get, set] |
int | influence [get, set] |
int | investment [get, set] |
int | development [get, set] |
int | electricity [get, set] |
int | dateHat [get, set] |
int | uidBoss [get, set] |
int | dateQuest [get, set] |
int | version [get, set] |
bool | isGenerated [get, set] |
bool | isShore [get, set] |
bool | isRandomSite [get, set] |
bool | isKnown [get, set] |
bool | isMapSaved [get, set] |
bool | isExternalZone [get, set] |
bool | isConquered [get, set] |
bool | isBeach [get, set] |
bool | isPeace [get, set] |
Faction | mainFaction [get, set] |
SourceZone.Row | source [get] |
bool | IsPlayerFaction [get] |
bool | IsClosed [get] |
int | mapX [get] |
int | mapY [get] |
virtual int | DangerLv [get] |
virtual int | DangerLvFix [get] |
virtual float | VolumeSea [get] |
virtual bool | ShowDangerLv [get] |
virtual bool | CanSpawnAdv [get] |
string | pathSave [get] |
virtual string | Name [get] |
virtual string | NameSuffix [get] |
virtual bool | IsRegion [get] |
virtual bool | CanFastTravel [get] |
EloMap.TileInfo | Tile [get] |
virtual bool | IsSnowZone [get] |
virtual bool | IsSnowCovered [get] |
virtual Point | RegionPos [get] |
virtual bool | isClaimable [get] |
int | Seed [get] |
![]() | |
static Game | game [get] |
static bool | AdvMode [get] |
static Player | player [get] |
static Chara | pc [get] |
static UI | ui [get] |
static Map | _map [get] |
static Zone | _zone [get] |
static FactionBranch | Branch [get] |
static FactionBranch | BranchOrHomeBranch [get] |
static Faction | Home [get] |
static Faction | Wilds [get] |
static Scene | scene [get] |
static BaseGameScreen | screen [get] |
static GameSetting | setting [get] |
static GameData | gamedata [get] |
static ColorProfile | Colors [get] |
static World | world [get] |
static SourceManager | sources [get] |
static SourceManager | editorSources [get] |
static SoundManager | Sound [get] |
static CoreDebug | debug [get] |
Additional Inherited Members | |
![]() | |
static int | rnd (int a) |
static int | curve (int a, int start, int step, int rate=75) |
static int | rndHalf (int a) |
static float | rndf (float a) |
static int | rndSqrt (int a) |
static void | Wait (float a, Card c) |
static void | Wait (float a, Point p) |
static int | Bigger (int a, int b) |
static int | Smaller (int a, int b) |
![]() | |
static Core | core |
![]() | |
Zone | _FindZone (string _id) |
![]() | |
Point | _regionPos = new Point() |
|
virtual |