DraftsService

Show Deprecated
Not Creatable
Service
Not Replicated

Summary

Properties

Events

Methods

DiscardEdits(scripts: Objects): void  


RestoreScripts(scripts: Objects): void  


ShowDiffsAgainstBase(scripts: Objects): void  


ShowDiffsAgainstServer(scripts: Objects): void  


CommitEdits(scripts: Objects): void  YIELDS


GetDrafts(): Objects  YIELDS


UpdateToLatestVersion(scripts: Objects): void  YIELDS


Properties

Events

CommitStatusChanged

Roblox Script Security

Parameters

script: Instance

DraftAdded

Roblox Script Security

Parameters

script: Instance

DraftRemoved

Roblox Script Security

Parameters

script: Instance

DraftStatusChanged

Roblox Script Security

Parameters

script: Instance

EditorsListChanged

Roblox Script Security

Parameters

script: Instance

UpdateStatusChanged

Roblox Script Security

Parameters

script: Instance

Methods

DiscardEdits

void
Roblox Script Security

Parameters

scripts: Objects

Returns

void

GetDraftStatus

Roblox Script Security

Parameters

script: Instance

GetEditors

Roblox Script Security

Parameters

script: Instance

Returns

RestoreScripts

void
Roblox Script Security

Parameters

scripts: Objects

Returns

void

ShowDiffsAgainstBase

void
Roblox Script Security

Parameters

scripts: Objects

Returns

void

ShowDiffsAgainstServer

void
Roblox Script Security

Parameters

scripts: Objects

Returns

void

CommitEdits

void
Yields
Roblox Script Security

Parameters

scripts: Objects

Returns

void

GetDrafts

Yields
Roblox Script Security

Returns

UpdateToLatestVersion

void
Yields
Roblox Script Security

Parameters

scripts: Objects

Returns

void