-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Exiled::Core]
Assets
and Fragments
#2568
Conversation
NaoUnderscore
commented
May 20, 2024
- Added new classes and attributes for improved entity management.
- Added AssetFragment, EClass, EntityAsset, and related attributes.
- Any types implementing IAssetFragment can be used to generate a fragment or an EntityAsset.
- Began adding EProperty attributes to classes which are supposed to be used to generate fragments and assets.
- Added new classes and attributes for improved entity management. - Added AssetFragment, EClass, EntityAsset, and related attributes. - Any types implementing IAssetFragment can be used to generate a fragment or an EntityAsset. - Began adding EProperty attributes to classes which are supposed to be used to generate fragments and assets.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already looks pretty good but little complicated for basic users. I agree that we will need a guide on how to use it.
@NaoUnderscore How test, need examples on scenarios. |
Converted `Effect` class to struct.
…ch are not marked as `EClass`.
# Conflicts: # Exiled.API/Features/CustomStats/CustomHealthStat.cs
@Misfiy Hey. Have you done a test and confirmed the PR doesn't produce leaks? Thanks, |
Untested. I have only fixed conflicts. |
NOTE: It is do not merge because of possible lag caused by it |
Testing now... |
I haven't found any other issues during testing except like 1 null which was fixed, everything should be fine. |
* `[Exiled::Core]` `Assets` and `Fragments` (#2568) * Core's assets have been implemented: - Added new classes and attributes for improved entity management. - Added AssetFragment, EClass, EntityAsset, and related attributes. - Any types implementing IAssetFragment can be used to generate a fragment or an EntityAsset. - Began adding EProperty attributes to classes which are supposed to be used to generate fragments and assets. * Implemented `EProperty` for Items * ?. * Minor changes to `EConfig`. Added an `EClass`. Converted `Effect` class to struct. * Added `Generator` `EClass` * Fix hint's `EClass` * Added more `EClass`'es * Fixed `AssetFragment::GenerateAsset` generating assets from types which are not marked as `EClass`. * Fixed `State` compare by ref instead of value * Minor fixes * All `EClass`'es * Fix warnings * Fix docs * Revert CustomHealthStat.cs * Fix build error * fix conflict? * fix typo * fix removals * fix lag & log spam * Changes & null fix * [Core API] Fix null & invalid cast (#2650) --------- Co-authored-by: Nameless <85962933+Misfiy@users.noreply.github.com> * Revert "Merge remote-tracking branch 'origin/dev' into apis-rework" This reverts commit 08e279f, reversing changes made to 1b8d3a5. --------- Co-authored-by: Nameless <85962933+Misfiy@users.noreply.github.com>
* `[Exiled::Core]` `Assets` and `Fragments` (#2568) * Core's assets have been implemented: - Added new classes and attributes for improved entity management. - Added AssetFragment, EClass, EntityAsset, and related attributes. - Any types implementing IAssetFragment can be used to generate a fragment or an EntityAsset. - Began adding EProperty attributes to classes which are supposed to be used to generate fragments and assets. * Implemented `EProperty` for Items * ?. * Minor changes to `EConfig`. Added an `EClass`. Converted `Effect` class to struct. * Added `Generator` `EClass` * Fix hint's `EClass` * Added more `EClass`'es * Fixed `AssetFragment::GenerateAsset` generating assets from types which are not marked as `EClass`. * Fixed `State` compare by ref instead of value * Minor fixes * All `EClass`'es * Fix warnings * Fix docs * Revert CustomHealthStat.cs * Fix build error * fix conflict? * fix typo * fix removals * fix lag & log spam * Changes & null fix * [Core API] Fix null & invalid cast (#2650) --------- Co-authored-by: Nameless <85962933+Misfiy@users.noreply.github.com> * Revert "Merge remote-tracking branch 'origin/dev' into apis-rework" This reverts commit 08e279f, reversing changes made to 1b8d3a5. * Exiled9 (#2641) * Changes * that --------- Co-authored-by: Yamato <66829532+louis1706@users.noreply.github.com> --------- Co-authored-by: Nameless <85962933+Misfiy@users.noreply.github.com> Co-authored-by: Yamato <66829532+louis1706@users.noreply.github.com>
* `[Exiled::Core]` `Assets` and `Fragments` (#2568) * Core's assets have been implemented: - Added new classes and attributes for improved entity management. - Added AssetFragment, EClass, EntityAsset, and related attributes. - Any types implementing IAssetFragment can be used to generate a fragment or an EntityAsset. - Began adding EProperty attributes to classes which are supposed to be used to generate fragments and assets. * Implemented `EProperty` for Items * ?. * Minor changes to `EConfig`. Added an `EClass`. Converted `Effect` class to struct. * Added `Generator` `EClass` * Fix hint's `EClass` * Added more `EClass`'es * Fixed `AssetFragment::GenerateAsset` generating assets from types which are not marked as `EClass`. * Fixed `State` compare by ref instead of value * Minor fixes * All `EClass`'es * Fix warnings * Fix docs * Revert CustomHealthStat.cs * Fix build error * fix conflict? * fix typo * fix removals * fix lag & log spam * Changes & null fix * [Core API] Fix null & invalid cast (#2650) --------- Co-authored-by: Nameless <85962933+Misfiy@users.noreply.github.com> * Revert "Merge remote-tracking branch 'origin/dev' into apis-rework" This reverts commit 08e279f, reversing changes made to 1b8d3a5. * Exiled9 (#2641) * Changes * that --------- Co-authored-by: Yamato <66829532+louis1706@users.noreply.github.com> * Moved modified code. (#2656) --------- Co-authored-by: Nameless <85962933+Misfiy@users.noreply.github.com> Co-authored-by: Yamato <66829532+louis1706@users.noreply.github.com> Co-authored-by: Alex Rouse <123724383+ALEXWARELLC@users.noreply.github.com>