Redscript
Ctrlk
HomeGitHubDiscord
  • Home
  • Getting Started
    • Downloads
    • Setup for VSCode
    • Setup for JetBrains IDEs
    • How to start REDscripting
  • Language
    • Intro
    • Language Features
    • Built-in Types
    • Built-in Functions
  • References and examples
    • Common Patterns
      • Safe downcasting
      • Class constructors
      • Hash maps
      • Heterogeneous array literals
      • Scriptable systems (singletons)
      • DelaySystem and DelayCallback
      • Generic callbacks
      • Persistence
    • Logging
    • UI Scripting
    • Vehicle system
    • Weapons
    • Codeware callbacks
    • Libraries
    • Gameplay
  • Help
    • Community
    • Troubleshooting
Powered by GitBook
On this page
  1. References and examples

Common Patterns

Safe downcastingClass constructorsHash mapsHeterogeneous array literalsScriptable systems (singletons)DelaySystem and DelayCallbackGeneric callbacksPersistence
PreviousUtilitiesNextSafe downcasting

Last updated 1 year ago

Was this helpful?

Was this helpful?