Noir
  • πŸšΆβ€β™‚οΈIntro
  • πŸ“Tutorials
    • πŸŽ“Starting Noir
    • πŸ“–Libraries
    • πŸ–₯️Services
    • ❔Libraries VS Services
    • πŸ’¬Callbacks
    • πŸ’₯Classes
    • πŸ”ŽDebugging
  • πŸ“šExamples
  • β˜„οΈAPI Reference
    • Bootstrapper
    • Built-Ins
      • Classes
        • AITarget
        • Body
        • Command
        • Connection
        • Event
        • HTTPRequest
        • HTTPResponse
        • Library
        • Message
        • Object
        • Player
        • Service
        • Task
        • TickIterationProcess
        • Tracker
        • Vehicle
        • Widgets
          • MapLabelWidget
          • MapLineWidget
          • MapObjectWidget
          • PopupWidget
          • ScreenPopupWidget
          • Widget
      • Libraries
        • Base64
        • Dataclasses
        • Deprecation
        • Events
        • HTTP
        • JSON
        • Logging
        • Matrix
        • Number
        • String
        • Table
      • Services
        • CommandService
        • GameSettingsService
        • HTTPService
        • MessageService
        • NotificationService
        • ObjectService
        • PlayerService
        • TaskService
        • TPSService
        • UIService
        • VehicleService
    • Callbacks
    • Class
    • Classes
    • Debugging
    • Definition
    • Libraries
    • Noir
    • Services
    • TypeChecking
Powered by GitBook
On this page
Edit on GitHub
  1. API Reference

Bootstrapper

Noir.Bootstrapper: table

An internal module of Noir that is used to initialize and start services.

Do not use this in your code.


Noir.Bootstrapper:WrapServiceMethodsForService(service)

Wraps user-created methods in a service with code to prevent them from being called if the service hasn't initialized yet.

Do not use this in your code. This is used internally.

Parameters

  • service: NoirService


Noir.Bootstrapper:WrapServiceMethodsForAllServices()

Calls :WrapServiceMethodsForService() for all services.

Do not use this in your code. This is used internally.


Noir.Bootstrapper:InitializeServices()

Initialize all services.

This will order services by their InitPriority and then initialize them.

Do not use this in your code. This is used internally.


Noir.Bootstrapper:StartServices()

Start all services.

This will order services by their StartPriority and then start them.

Do not use this in your code. This is used internally.


Noir.Bootstrapper:SetIsDedicatedServer()

Determines whether or not the server this addon is being ran in is a dedicated server.

This evaluation is then used to set Noir.IsDedicatedServer.

Do not use this in your code. This is used internally.


Noir.Bootstrapper:SetAddonName()

Sets the Noir.AddonName to the name of your addon.

Do not use this in your code. This is used internally.

PreviousAPI ReferenceNextBuilt-Ins

Last updated 2 months ago

β˜„οΈ