oopsk

Addon oopsk 1.0-beta2

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

Sovde

Staff member
Moderator
Feb 18, 2022
34
3
8
Sovde submitted a new resource:

oopsk - basic object oriented programming concepts for Skript

oopsk

oopsk is a Skript addon that aims to add limited object-oriented programming tools to Skript in a non-invasive manner.

Basics

The current feature set revolves around structs, simple objects that group together a set of typed fields. Structs are defined by struct templates, top-level structures that define their name and the fields they contain:
Code:
struct Message:
  contents: string
  sender: offline player
  const...

Read more about this resource...
 
Sovde updated oopsk with a new update entry:

oopsk 1.0 beta 1 release

beta a

Beta 1 should be a rather stable release. I intend to a set of (experimental) reflective syntaxes before release, like getting the type of a field, the field names of a struct, and unsafe accesses to structs with strings instead of literal field names. Excluding those, this beta is feature complete.

Changelog:
- Adds add/remove changers for fields
- Adds dynamic fields, fields that always evaluate their expression when retrieved, rather than evaluating once on...

Read the rest of this update entry...
 
Sovde updated oopsk with a new update entry:

oopsk 1.0 beta 2 release

beta 2

Beta 2 introduces some very interesting features, namely concrete types and custom converters. These crack open the very heart of Skript's internals, so I'm rather tentative about declaring them stable. They should be treated with care. I want to double down on the advice that you should always reload all scripts after editing a struct template. This is even more important with the registration of types and converters, now. If you are encountering weird...

Read the rest of this update entry...