feat: add initial People Playground mod development kit

This commit is contained in:
2026-01-06 06:35:51 +03:00
parent b89c805060
commit 566791ce62
1095 changed files with 40280 additions and 1 deletions

View File

@@ -0,0 +1,30 @@
URL: https://wiki.studiominus.nl/internalReference/FixedIntervalDistributor.html
Title: People Playground Modding - FixedIntervalDistributor
==================================================
public class FixedIntervalDistributor
Class that calculates the amount of times something needs to execute to adhere to a specific rate
Properties
public float RateHz { get; set; }
Preferred cycles rate
public float Rate { get; set; }
[System.Obsolete]
No description provided
public int MaxCycles { get; set; }
Maximum ouput cycles
public int MaxRate { get; set; }
[System.Obsolete]
No description provided
public float IntervalSeconds { get; private set; }
1.0f / RateHz
Methods
public void ResetAccumulator(float t = 0)
No description provided
public int CalculateCycleCount(float realDeltaTimeInSeconds)
Calculate the amount of cycles to execute