Interface IHasID
Assembly: Eco.Core.dll
Syntax
[ForceCreateView]
public interface IHasID : INamed, IController, IViewController, IReInitializable, IHasReferenceableSerializableID, IHasSerializableID, IHasUniversalID
Properties
CanBeDeleted
If true, can be deleted by admins
Declaration
virtual bool CanBeDeleted { get; }
Property Value
Type |
Description |
System.Boolean |
|
Id
Declaration
[ClientInterfaceProperty]
virtual int Id { get; }
Property Value
Type |
Description |
System.Int32 |
|
SafeMarkedUpName
Declaration
virtual LocString SafeMarkedUpName { get; }
Property Value
Methods
Destroyed()
Declaration
GetId(IHasID)
Declaration
static int GetId(IHasID hasID)
Parameters
Type |
Name |
Description |
IHasID |
hasID |
|
Returns
Type |
Description |
System.Int32 |
|
GetLinkableName()
Return a name that can be used for forming a link, e.g. used in ObjectFinders.cs. Some objects require a specific string to be parsed as a link, e.g. Channels.
Declaration
virtual string GetLinkableName()
Returns
Type |
Description |
System.String |
|
Initialize()
Declaration
OnRemovingDueVerifyFailed()
Declaration
virtual void OnRemovingDueVerifyFailed()
Verify()
Entity state verification function. Used by IRegistrar to verify if entity's state isn't corrupted. All corrupted entities will be removed from registry. Called when serialization finished (fixups applied and PostLoad methods invoked).
Declaration
Returns
Explicit Interface Implementations
INamed.SafeMarkedUpName
Declaration
LocString INamed.SafeMarkedUpName { get; }
Returns
Extension Methods