13 owner.c_uidZone = value?.
uid ?? 0;
83 point.x -= owner.sourceCard.W / 2;
89 point.z += owner.sourceCard.H / 2;
107 flag = ((owner.dir % 2 != 0) ? (p.
pos.
x ==
owner.
pos.
x && p.
pos.
z >=
owner.
pos.
z + 1 && p.
pos.
z <
owner.
pos.
z + h - 1) : (z == owner.pos.z && x > owner.pos.x - w + 1 && x <= owner.pos.x - 1));
159 MoveZone(confirmed: true);
169 int num =
GetParam(2)?.ToInt() ?? 0;
174 if (this.zone ==
null)
204 if (this.zone ==
null)
233 Debug.Log(this.zone);
253 zone.isExternalZone =
true;
284 if (!param.IsEmpty())
287 if (z.
id == param && z.
lv == num)
bool TrySetAct(string lang, Func< bool > onPerform, Card tc, CursorInfo cursor=null, int dist=1, bool isHostileAct=false, bool localAct=true, bool canRepeat=false)
string GetStr(int id, string defaultStr=null)
SoundSource PlaySound(string id, float v=1f, bool spatial=true)
virtual CardRow sourceRenderCard
override bool IsAliveInCurrentZone
void MoveZone(string alias)
static CursorInfo MoveZone
static Dialog YesNo(string langDetail, Action actionYes, Action actionNo=null, string langYes="yes", string langNo="no")
static SourceManager sources
static string SayNothingHappen()
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
bool Equals(int _x, int _z)
static Spatial Create(string id, Spatial parent, bool register, int x=-99999, int y=-99999, int icon=0)
virtual bool IsFor(Zone z)
override bool CanBeStolen
virtual bool CanUseInTempDungeon
virtual bool CreateExternalZone
virtual ZoneTransition.EnterState enterState
override void OnStepped(Chara c)
override void TrySetAct(ActPlan p)
virtual Point GetExitPos()
virtual bool CanToggleAutoEnter
Zone CreateZone(Zone dest, int destLv)
bool MoveZone(bool confirmed=false)
virtual bool IsDownstairs
override void OnImportMap()
override bool CanBeDestroyed
virtual bool OnlyInTheSameTopZone
virtual bool TryTeleport()
string GetParam(int i, string def=null)
virtual bool CanOnlyCarry
void AddPreEnter(ZonePreEnterEvent e, bool executeIfActiveZone=true)
virtual string GetNewZoneID(int level)
virtual bool RegenerateOnEnter
virtual string IDGenerator
virtual bool AllowNewZone