Comments (2)
The cause of this is that the method SurvivorCatalog.GetSurvivorDef
will be inlined, and the hook will never trigger. Adding a MethodImplAttribute
to the function in dnSpy makes the API work as expected again.
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
public static SurvivorDef GetSurvivorDef(SurvivorIndex survivorIndex)
from r2api.
Fixed in #26 by now using a MonoMod component.
from r2api.
Related Issues (20)
- After updating multiplayer doesn't work HOT 3
- RecalculateStatsAPI request: Jump Count and Air control HOT 1
- Language: Allow dynamic binding to a variable directly from a language json file
- DamgeAPI mod compatiblity regression due to lazy init of hooks (split assembly update) HOT 1
- API for facilitating custom item tiers drop tables
- Upper bound mismatch in `DifficultyAPI`
- `DirectorAPI` does not replicate certain family event data HOT 3
- Issue w/ `R2API.Core` dependencies on latest package release HOT 1
- NetworkCompatibility doesn't work as expected since the module split happened HOT 1
- Small cyclic dependency edge case with the R2API core
- Bug: R2API Content Management: AddEntityState<T> overload makes a content pack for r2api assembly instead of the calling mod assembly
- After updating from RiskofThunder-R2API_Core 5.0.6 to Vers 5.0.10 (latest), Upon exiting one own created Multiplayer room, I or one as player was not within Lobby room by default. HOT 2
- SystemInitializerInjector does not work
- Director api doesn't handle arena scene properly HOT 1
- meteor update broke mod HOT 2
- Prefab API adding every cloned networked prefab to an R2API serializable content pack for no reason
- Level-Scaling regen with RecalcStatsAPI HOT 2
- R2API.ContentManagement is the biggest codesmell I've contribued and needs rectification. HOT 8
- ColorsAPI hooks are broken HOT 1
- Problems adding shield with RecalculateStatsAPI when the character has Transcendence/Shared Design
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from r2api.