Skip to content

2025.1.1

Latest
Compare
Choose a tag to compare
@ForNeVeR ForNeVeR released this 29 Jan 16:35

Changed

  • rd-net: allowed comparison and basic operations (operators == and !=, Equals, GetHashCode) for default(Lifetime).
  • rd-net: support two different modes for default(Lifetime).
    1. If Lifetime.LogErrorIfLifetimeIsNotInitialized == true (enabled by default), usages of default(Lifetime).Definition will log errors. default(Lifetime) is not equal to Lifetime.Eternal.
    2. If Lifetime.LogErrorIfLifetimeIsNotInitialized == false (must be switched explicitly), legacy mode is active. In this mode, default(Lifetime) is essentially the same (and considered as equal to) Lifetime.Eternal.