FastScriptReload icon indicating copy to clipboard operation
FastScriptReload copied to clipboard

[Workaround] Nested types used for generic are not patched

Open builder-main opened this issue 9 months ago • 1 comments

Preserve]
  public unsafe class CharacterSkillCreationSystem__Patched_: SystemMainThreadFilter<CharacterSkillCreationSystem.Filter>
  {
    public struct Filter
    {
      ...
    }
   
    public override void Update(Frame frame, ref Filter filter)
    {

We can see that this Photon Quantum Pattern does not get rewritten correctly. Nested filter type should be patched so it does not conflict with the original one. (Or vice-versa)

builder-main avatar Feb 25 '25 13:02 builder-main

Workaround while rewrite rull is done : Full qualify parameter of the Update method.

ref CharacterSkillCreationSystem.Filter filter

builder-main avatar Feb 25 '25 16:02 builder-main