Table of Contents

Class PortalUtil

Namespace
Coherence.Editor
Assembly
Coherence.Editor.dll
public static class PortalUtil
Inheritance
PortalUtil

Fields

uploadAfterBakeKey

public const string uploadAfterBakeKey = "Coherence.uploadAfterBake"

Field Value

string

uploadOnBuildKey

public const string uploadOnBuildKey = "Coherence.UploadOnBuild"

Field Value

string

uploadOnEnterPlayModeKey

public const string uploadOnEnterPlayModeKey = "Coherence.UploadOnEnterPlayMode"

Field Value

string

Properties

CanCommunicateWithPortal

public static bool CanCommunicateWithPortal { get; }

Property Value

bool

InSync

Determines if the schemas found in the project are in sync with the ones found in the coherence Developer Portal.

public static bool InSync { get; }

Property Value

bool

LocalSchemaFoundInPortal

public static bool LocalSchemaFoundInPortal { get; }

Property Value

bool

OrgAndProjectIsSet

public static bool OrgAndProjectIsSet { get; }

Property Value

bool

RemoteSchemaIDs

List of schema IDs the portal knows about.

public static string[] RemoteSchemaIDs { get; }

Property Value

string[]

RemoteSchemaStates

List of schema states the portal knows about.

public static Schemas.SchemaState[] RemoteSchemaStates { get; }

Property Value

SchemaState[]

SyncState

Determines the state of synchronicity against the coherence Developer Portal.

public static Schemas.SyncState SyncState { get; }

Property Value

Schemas.SyncState

UploadAfterBake

public static bool UploadAfterBake { get; set; }

Property Value

bool

UploadOnBuild

public static bool UploadOnBuild { get; set; }

Property Value

bool

UploadOnEnterPlayMode

public static bool UploadOnEnterPlayMode { get; set; }

Property Value

bool

Methods

UploadSchemas()

Uploads schemas to the portal.

public static bool UploadSchemas()

Returns

bool

true if the operation succeeds, false otherwise.