Core API Changelog 1.5.1
Removed
These were removed because they were either unused or their usage is deprecated. Removing any references to these is most likely all you need to do.
- EntityStates.Acolyte.AcolytePodPreRelease
_childLocator,OnExit
- EntityStates.Acolyte.AcolytePodRelease
exitForceAmount,_childLocator
- EntityStates.Acolyte.AcolytePodStart
_childLocator
- EntityStates.Chef.Glaze
projectileRay
- EntityStates.Engi.EngiWeapon.FireGrenades
projectileRay
- EntityStates.FalseSon.LaserFatherCharged
aimRay
- EntityStates.LynxAmbusher.SpearStrike and SpearStrikeStationary
FireSpearStrike
- EntityStates.Missions.BrotherEncounter.BrotherEncounterPhaseBaseState
requiredKarmaForSubtitleChange,subtitleReplacement
- EntityStates.Scorchling.ScorchlingLavaBomb
projectileVelocity
- RoR2.Achievements.Huntress.HuntressMaintainFullHealthOnFrozenWallAchievement
requiredScenes
- RoR2.Achievements.BasePerSurvivorClearChampRushAchievement
teleportersCompleted,OnTeleporterChargedGlobal
- RoR2.Projectile.AcolyteJavelinProjectile
piercedTargets,ApplyPushForce
- RoR2.Projectile.BolaProjectileController
- A bunch of fields
- RoR2.Quests.CompulsionQuests.CompulsionQuestKillSuperTarget
_newlySpawnedMonsterBodies
- RoR2.AffixBeadBehavior
beadHolderVFX,beadHolderVFXReference
- RoR2.HealthComponent
brotherThroneShieldPrefab
- RoR2.HorizontalLift
Start
- RoR2.InputBankTest
lastRaycastTime,lastFixedRaycastTime,didLastRaycastHit,lastHitInfo,lastMaxDistance
- RoR2.RoR2Content
Buffs.BrotherThroneShield
Signature changes
These affect direct references, On Hooks, and IL Hooks with ldarg instructions. In some cases a simple recompilation suffices.
- EntityStates.BigMush.SporeCoat
SpawnSporeCoat()->SpawnSporeCoat(DamageSource)
- EntityStates.BrotherMonster.Weapon.LunarWisp
- Some fields changed from instance to static
- EntityStates.Chef.Dice
TrySpawnCleavers(Ray)->TrySpawnCleavers(ref InputBankTest.AimRayInfo)
- EntityStates.DroneTech.Weapon.NanoBomb
Ray ModifyProjectileAimRay(Ray)->void ModifyProjectileAimRayInfo(ref InputBankTest.AimRayInfo)
- EntityStates.Enforcer.ProtectAndServeDeactivate
TryFireProjectileServer(DamageInfo, GameObject, float)->TryFireProjectileServer(in TimedHit)
- EntityStates.Engi.EngiWeapon.EngiLaserCutter
UpdateLaser(Ray)->UpdateLaser(ref InputBankTest.AimRayInfo)
- EntityStates.FalseSon.LaserFatherBurst
modifiedAimRay->modifiedAimRayInfo
- EntityStates.GolemMonster.ClapState
durationchanged from static to instance
- EntityStates.ParentMonster.GroundSlam
durationchanged from static to instance
- EntityStates.Railgunner.Weapon.FirePistol
FireBullet(Ray)->FireBullet(in InputBankTest.AimRayInfo)
- EntityStates.Scorchling.ScorchlingBreach
enemyCBody->targetBody
- EntityStates.Seeker.BaseChargePalmBlast
chargeVfxInstanceTransform->chargeVfxInstance
- EntityStates.Toolbot.FireGrenadeLauncher
Ray ModifyProjectileAimRay(Ray)->void ModifyProjectileAimRayInfo(ref InputBankTest.AimRayInfo)
- EntityStates.GenericProjectileBaseState
aimRayOverridechanged typeRay?->InputBankTest.AimRayInfo?
- RoR2.Projectile.ProjectileManager
damageTypeOverridechanged to nullable, removeduseDamageTypeOverride
- RoR2.UI.AsyncImage and AsyncSprite
SetValue->SetRendererValueInternal
- RoR2.AffixAurelioniteBehavior
procChanceOfPlayerAttackSpawningGold->procChanceOfSpawningGold
- RoR2.BrotherSuperArmorController
damageDealt->timesTriggered
- RoR2.CharacterBody
isNotFlying->isFlyer
- RoR2.ConvertPlayerMoneyToExperience
burstSizes->masterMoneyToExperienceHelpers
- RoR2.CursedBookSacrificeZone
sceneCollectionchanged type fromSceneCollectiontoBaseSceneCollection
- RoR2.FontCleaner
ClearAllFonts->ClearAllFonts(bool)
- RoR2.HauntedInteractable
hasSpawnedhas changed from field to property
- RoR2.MapZone
TryZoneStartandTryZoneEndhave changed the return type fromvoidtobool
- RoR2.PrimarySkillShurikenBehavior
GetAimRay->GetCameraAimRay
- RoR2.ProcType
AACannonreplaced byBypassHealingMultipliers
- RoR2.SeekerController
- A bunch of changes
- RoR2.SpawnAltarPlacementHandler
GetAimRay->GetCameraAimRay
- RoR2.SporeCloudSpawnComponent
SpawnSporeCoat()->SpawnSporeCoat(DamageSource)
- RoR2.Util
SignedDistanceAlongRay->ClosestSignedDistanceAlongRayToPoint
- RoR2.WarpGateVehicleController
CheckTeleportRayValidhas changed to instance
New overloads
Direct references are still fine, but hooks break and you need to update the signature appropriately, e.g.,
Since the new methods are the more fundamental ones, hooks should target them instead.
- EntityStates.AimThrowableBaseAimOnly
CalculateArcPointsJob.SetParameters(Vector3, Vector3, float, Vector3, float, int, float)
- EntityStates.GenericBulletBaseState
FireBullet(in InputBankTest.AimRayInfo)
- RoR2.Console
RunCmd(ConsoleInternalCommandArgs),RunClientCmd(ConsoleInternalCommandArgs)
- RoR2.NetworkUser
CmdSendConsoleCommandArgs(SerializedConsoleCommandArgs)
- RoR2.Util
IsPositionWithinMapBounds(CharacterBody, Vector3)