mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 01:44:35 +08:00
move IEcsReadonlyPool.Copy to IEcsPool.Copy
This commit is contained in:
parent
2c046a47e5
commit
d394ec6b21
@ -135,13 +135,13 @@ namespace DCFApixels.DragonECS.Internal
|
|||||||
throw new NullInstanceException();
|
throw new NullInstanceException();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
void IEcsReadonlyPool.Copy(int fromEntityID, int toEntityID)
|
void IEcsPool.Copy(int fromEntityID, int toEntityID)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
throw new NullInstanceException();
|
throw new NullInstanceException();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
void IEcsReadonlyPool.Copy(int fromEntityID, EcsWorld toWorld, int toEntityID)
|
void IEcsPool.Copy(int fromEntityID, EcsWorld toWorld, int toEntityID)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
throw new NullInstanceException();
|
throw new NullInstanceException();
|
||||||
@ -189,11 +189,10 @@ namespace DCFApixels.DragonECS
|
|||||||
#region Methods
|
#region Methods
|
||||||
bool Has(int entityID);
|
bool Has(int entityID);
|
||||||
object GetRaw(int entityID);
|
object GetRaw(int entityID);
|
||||||
void Copy(int fromEntityID, int toEntityID);
|
|
||||||
void Copy(int fromEntityID, EcsWorld toWorld, int toEntityID);
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#if !DRAGONECS_DISABLE_POOLS_EVENTS
|
#if !DRAGONECS_DISABLE_POOLS_EVENTS
|
||||||
|
|
||||||
#region Add/Remove Listeners
|
#region Add/Remove Listeners
|
||||||
void AddListener(IEcsPoolEventListener listener);
|
void AddListener(IEcsPoolEventListener listener);
|
||||||
void RemoveListener(IEcsPoolEventListener listener);
|
void RemoveListener(IEcsPoolEventListener listener);
|
||||||
@ -209,6 +208,8 @@ namespace DCFApixels.DragonECS
|
|||||||
void SetRaw(int entityID, object dataRaw);
|
void SetRaw(int entityID, object dataRaw);
|
||||||
void Del(int entityID);
|
void Del(int entityID);
|
||||||
void ClearAll();
|
void ClearAll();
|
||||||
|
void Copy(int fromEntityID, int toEntityID);
|
||||||
|
void Copy(int fromEntityID, EcsWorld toWorld, int toEntityID);
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user