边缘世界 RimWorld

边缘世界 RimWorld

ilyvion's Laboratory
正在显示第 11 - 20 项,共 25 项条目
< 1  2  3 >
更新于:6 月 28 日 上午 5:26
作者:ilyvion

Added

  • Rimworld 1.6 support.

更新于:2024 年 9 月 11 日 下午 10:47
作者:ilyvion

Added

更新于:2024 年 9 月 6 日 下午 11:09
作者:ilyvion

Added

  • Multi-tick version of the CacheValue class for caching values that take multiple ticks to calculate.

更新于:2024 年 9 月 3 日 下午 9:14
作者:ilyvion

Changed

  • Multi-tick coroutines now immediately start coroutines that are added while coroutines are already being executed. This prevents an issue where a lot of calls to nested coroutines would postpone the execution of each coroutine by a tick, which unnecessarily paused coroutine execution when it wasn't necessary. If you need to pause execution immediately when a coroutine starts for some reason, you can immediately yield with e.g. ResumeImmediately.Singleton and it won't run proper until the next tick.

更新于:2024 年 8 月 22 日 下午 11:33
作者:ilyvion

Added

  • Provide DrawIfUIHelpers to automate functionality. Now consumers only have to provide a closure that will get called at the right time, but also won't be called when the mod isn't compiled without the DEBUG symbol, so it becomes effectively free to pepper your code with it where you need it.

更新于:2024 年 8 月 22 日 上午 3:31
作者:ilyvion

Added

  • Improved tab/tabrecords.
  • Util type DoOnDispose.

更新于:2024 年 8 月 20 日 下午 10:34
作者:ilyvion

Added

  • It is now possible to cancel multi-tick coroutines in the middle of execution.

Fixed

  • Only register required version request when mismatch

更新于:2024 年 8 月 19 日 下午 11:58
作者:ilyvion

Changed

  • Change the version check mechanism from using a method call to using a VersionCheckDef declared in a Defs XML file. The failing assembly won't even get to load to call VersionCheck.ShowRequiresAtLeastVersionMessageFor if we need it, making it useless, and this also makes it so that mods that only need XML features can still specify a version requirement without having to add a whole assembly jus for that.

更新于:2024 年 8 月 19 日 下午 7:52
作者:ilyvion

Added

  • PatchOperationFindModById. Does what it says. Alternative to vanilla's PatchOperationFindMod but relies on mod id rather than on mod name, which, at least in theory, is more stable/less likely to change.

更新于:2024 年 8 月 18 日 下午 9:04
作者:ilyvion

Added

  • MultiTickCoroutineManager: a GameComponent that orchestrates the registration and execution of, as the name suggests, multi-tick coroutines, i.e. tasks that span multiple ticks. Heavily modeled (as a concept, all code original) after the Unity Coroutine type. Makes use of the fact that C# allows you to write IEnumerables using yield (return|break) keywords, allowing natural 'break points' in a task. Created mainly to alleviate per-tick strain in the Colony Manager Redux, but I can see myself making use of this in many other situations going forward where you have too much work to perform for a single tick to handle well.