mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 18:14:37 +08:00
fix entlong
This commit is contained in:
parent
e66473c0af
commit
acd7acecc3
@ -115,7 +115,7 @@ namespace DCFApixels.DragonECS
|
|||||||
world = EcsWorld.GetWorld(this.world);
|
world = EcsWorld.GetWorld(this.world);
|
||||||
return IsAlive;
|
return IsAlive;
|
||||||
}
|
}
|
||||||
public bool TryGetWorldID(out int worldID)
|
public bool TryGetWorldID(out short worldID)
|
||||||
{
|
{
|
||||||
worldID = world;
|
worldID = world;
|
||||||
return IsAlive;
|
return IsAlive;
|
||||||
@ -131,7 +131,7 @@ namespace DCFApixels.DragonECS
|
|||||||
gen = this.gen;
|
gen = this.gen;
|
||||||
id = this.id;
|
id = this.id;
|
||||||
}
|
}
|
||||||
public void Unpack(out int id, out int worldID)
|
public void Unpack(out int id, out short worldID)
|
||||||
{
|
{
|
||||||
worldID = world;
|
worldID = world;
|
||||||
id = this.id;
|
id = this.id;
|
||||||
@ -155,7 +155,7 @@ namespace DCFApixels.DragonECS
|
|||||||
id = this.id;
|
id = this.id;
|
||||||
return IsAlive;
|
return IsAlive;
|
||||||
}
|
}
|
||||||
public bool TryUnpack(out int id, out int worldID)
|
public bool TryUnpack(out int id, out short worldID)
|
||||||
{
|
{
|
||||||
worldID = world;
|
worldID = world;
|
||||||
id = this.id;
|
id = this.id;
|
||||||
|
Loading…
Reference in New Issue
Block a user