Add a whole bunch of missing @since annotations

This commit is contained in:
Jonathan Coates 2022-10-31 20:09:47 +00:00
parent 93f747fb54
commit f528046535
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06
5 changed files with 6 additions and 2 deletions

View File

@ -25,6 +25,7 @@
* :::
*
* @cc.module energy_storage
* @cc.since 1.94.0
*/
public class EnergyMethods implements GenericPeripheral
{

View File

@ -35,6 +35,7 @@
* Methods for interacting with tanks and other fluid storage blocks.
*
* @cc.module fluid_storage
* @cc.since 1.94.0
*/
public class FluidMethods implements GenericPeripheral
{

View File

@ -36,6 +36,7 @@
* Methods for interacting with inventories.
*
* @cc.module inventory
* @cc.since 1.94.0
*/
public class InventoryMethods implements GenericPeripheral
{
@ -168,6 +169,7 @@ public static int size( IItemHandler inventory )
* end
* print(total)
* }</pre>
* @cc.since 1.96.0
*/
@LuaFunction( mainThread = true )
public static int getItemLimit( IItemHandler inventory, int slot ) throws LuaException

View File

@ -222,7 +222,7 @@ # New features in CC: Tweaked 1.97.0
# New features in CC: Tweaked 1.96.0
* Use lightGrey for folders within the "list" program.
* Add getLimit to inventory peripherals.
* Add `getItemLimit` to inventory peripherals.
* Expose the generic peripheral system to the public API.
* Add cc.expect.range (Lupus590).
* Allow calling cc.expect directly (MCJack123).

View File

@ -27,9 +27,9 @@ application or development builds of [FFmpeg].
@see guide!speaker_audio Gives a more general introduction to audio processing and the speaker.
@see speaker.playAudio To play the decoded audio data.
@since 1.100.0
@usage Reads "data/example.dfpwm" in chunks, decodes them and then doubles the speed of the audio. The resulting audio
is then re-encoded and saved to "speedy.dfpwm". This processed audio can then be played with the `speaker` program.
@since 1.100.0
```lua
local dfpwm = require("cc.audio.dfpwm")