Beamable SDK
All Classes Namespaces Functions Variables Properties Events
Public Member Functions | Static Public Member Functions | Public Attributes | Properties | Events | List of all members
Beamable.Editor.EditorAPI Class Reference
Collaboration diagram for Beamable.Editor.EditorAPI:
Collaboration graph
[legend]

Public Member Functions

Promise< EditorAPIReset ()
 
Promise< UnitSetGame (RealmView game)
 
Promise< UnitLogin (string email, string password)
 
Promise< UnitLoginCustomer (string cid, string email, string password)
 
Promise< UnitCreateCustomer (string alias, string gameName, string email, string password)
 
Promise< UnitCreateUser (string cid, string customerEmail, string customerPassword)
 
Promise< UnitSendPasswordReset (string cid, string email)
 
Promise< UnitSendPasswordResetCode (string code, string newPassword)
 
void Logout ()
 
bool HasDependencies ()
 
Promise< UnitCreateDependencies ()
 
Promise< UnitDoSilentContentPublish (bool force=false)
 Force a publish operation, with no validation, with no UX popups. Log output will occur. More...
 
Promise< UnitSwitchRealm (RealmView realm)
 
void SaveConfig (string alias, string pid, string host=null, string cid=null)
 
Promise< EditorAPILogin (TokenResponse tokenResponse)
 
Promise< EditorAPILogin (AccessToken token)
 
Promise< string > GetRealmSecret ()
 

Static Public Member Functions

static void CheckoutPath (string path)
 

Public Attributes

PlatformRequester Requester => _requester
 
EditorAuthService AuthService
 
ContentIO ContentIO
 
ContentPublisher ContentPublisher
 
RealmsService RealmService
 
string Cid => _requester.Cid
 
string Host => _requester.Host
 
EditorUser User
 
AccessToken Token => _requester.Token
 
bool HasToken => Token != null
 
bool HasCustomer => !string.IsNullOrEmpty(CidOrAlias)
 
bool HasRealm => !string.IsNullOrEmpty(Pid)
 

Properties

static Promise< EditorAPIInstance [get]
 
string CidOrAlias [get]
 
CustomerView CustomerView [get]
 
string Pid [get, set]
 
RealmView Realm [get]
 
RealmView ProductionRealm [get]
 
bool HasConfiguration [get]
 

Events

Action< EditorUserOnUserChange
 
Action< RealmViewOnRealmChange
 
Action< CustomerViewOnCustomerChange
 

Member Function Documentation

◆ DoSilentContentPublish()

Promise<Unit> Beamable.Editor.EditorAPI.DoSilentContentPublish ( bool  force = false)
inline

Force a publish operation, with no validation, with no UX popups. Log output will occur.

Parameters
forcePass true to force all content to publish. Leave as false to only publish changed content.
Returns
A Promise of Unit representing the completion of the publish.

The documentation for this class was generated from the following file: