Skip to content

ZoneService

JustGod edited this page Oct 28, 2023 · 1 revision

ZoneService

Constructor

(method) ZoneService:Constructor()

Get

(method) ZoneService:Get(id: string)
  -> InternalZone

GetAll

(method) ZoneService:GetAll()
  -> table<string, InternalZone>

GetAllByResource

(method) ZoneService:GetAllByResource(resource: string)
  -> table<string, InternalZone>|nil

GetByResource

(method) ZoneService:GetByResource(resource: string, id: string)
  -> table<string, InternalZone>
  2. number

Register

(method) ZoneService:Register(zone: Zone)

Remove

(method) ZoneService:Remove(id: string)

RemoveByResource

(method) ZoneService:RemoveByResource(resource: string)

resources

table<string, string[]>

zones

table<string, InternalZone>

Clone this wiki locally