WIP code documentation and various fixes

This commit is contained in:
XtraCube committed 2024-08-30 23:52:43 -04:00
1 parent a52f46972e
commit 409113e37a
26 files changed
+737 -467

No files matched your search

@@ -31,14 +31,13 @@ public class FreezeButton : CustomActionButton<PlayerControl>
Target?.cosmetics.SetOutline(active, new Il2CppSystem.Nullable<Color>(Palette.Blue));
}
public override bool IsTargetValid(PlayerControl target)
public override bool IsTargetValid(PlayerControl? target)
{
return true;
}
public override bool Enabled(RoleBehaviour role)
public override bool Enabled(RoleBehaviour? role)
{
return role is FreezerRole;
}
}
}