Class RoleType
Namespace: DiceRolling.Roles
Assembly: dice-rolling.dll
[Tool]
[GlobalClass]
[ScriptPath("res://features/Role/RoleType.cs")]
public class RoleType : IdentifiableResource, IDisposable, IIdentifiable, IRole, IRoleInformation, IRoleAttributes, IRoleActions
Inheritance
object ← GodotObject ← RefCounted ← Resource ← IdentifiableResource ← RoleType
Implements
IDisposable,
IIdentifiable,
IRole,
IRoleInformation,
IRoleAttributes,
IRoleActions
Inherited Members
Show/Hide Inherited Members
IdentifiableResource.Id,
IdentifiableResource.GenerateNewIdButton,
IdentifiableResource.GenerateNewId(),
IdentifiableResource._ValidateProperty(Dictionary),
Resource._GetRid(),
Resource._ResetState(),
Resource._SetPathCache(string),
Resource._SetupLocalToScene(),
Resource.TakeOverPath(string),
Resource.SetPathCache(string),
Resource.GetRid(),
Resource.GetLocalScene(),
Resource.SetupLocalToScene(),
Resource.ResetState(),
Resource.SetIdForPath(string, string),
Resource.GetIdForPath(string),
Resource.IsBuiltIn(),
Resource.GenerateSceneUniqueId(),
Resource.EmitChanged(),
Resource.Duplicate(bool),
Resource.EmitSignalChanged(),
Resource.EmitSignalSetupLocalToSceneRequested(),
Resource.InvokeGodotClassMethod(in godot_string_name, NativeVariantPtrArgs, out godot_variant),
Resource.HasGodotClassMethod(in godot_string_name),
Resource.HasGodotClassSignal(in godot_string_name),
Resource.ResourceLocalToScene,
Resource.ResourcePath,
Resource.ResourceName,
Resource.ResourceSceneUniqueId,
Resource.Changed,
Resource.SetupLocalToSceneRequested,
RefCounted.InitRef(),
RefCounted.Reference(),
RefCounted.Unreference(),
RefCounted.GetReferenceCount(),
RefCounted.InvokeGodotClassMethod(in godot_string_name, NativeVariantPtrArgs, out godot_variant),
RefCounted.HasGodotClassMethod(in godot_string_name),
RefCounted.HasGodotClassSignal(in godot_string_name),
GodotObject.NotificationPostinitialize,
GodotObject.NotificationPredelete,
GodotObject.NotificationExtensionReloaded,
GodotObject.InstanceFromId(ulong),
GodotObject.IsInstanceIdValid(ulong),
GodotObject.IsInstanceValid(GodotObject?),
GodotObject.WeakRef(GodotObject?),
GodotObject.Dispose(),
GodotObject.Dispose(bool),
GodotObject.ToString(),
GodotObject.ToSignal(GodotObject, StringName),
GodotObject._Get(StringName),
GodotObject._GetPropertyList(),
GodotObject._IterGet(Variant),
GodotObject._IterInit(Array),
GodotObject._IterNext(Array),
GodotObject._Notification(int),
GodotObject._PropertyCanRevert(StringName),
GodotObject._PropertyGetRevert(StringName),
GodotObject._Set(StringName, Variant),
GodotObject._ValidateProperty(Dictionary),
GodotObject.Free(),
GodotObject.GetClass(),
GodotObject.IsClass(string),
GodotObject.Set(StringName, Variant),
GodotObject.Get(StringName),
GodotObject.SetIndexed(NodePath, Variant),
GodotObject.GetIndexed(NodePath),
GodotObject.GetPropertyList(),
GodotObject.GetMethodList(),
GodotObject.PropertyCanRevert(StringName),
GodotObject.PropertyGetRevert(StringName),
GodotObject.Notification(int, bool),
GodotObject.GetInstanceId(),
GodotObject.SetScript(Variant),
GodotObject.GetScript(),
GodotObject.SetMeta(StringName, Variant),
GodotObject.RemoveMeta(StringName),
GodotObject.GetMeta(StringName, Variant),
GodotObject.HasMeta(StringName),
GodotObject.GetMetaList(),
GodotObject.AddUserSignal(string, Array),
GodotObject.HasUserSignal(StringName),
GodotObject.RemoveUserSignal(StringName),
GodotObject.EmitSignal(StringName, params Variant[]),
GodotObject.EmitSignal(StringName, ReadOnlySpan<Variant>),
GodotObject.Call(StringName, params Variant[]),
GodotObject.Call(StringName, ReadOnlySpan<Variant>),
GodotObject.CallDeferred(StringName, params Variant[]),
GodotObject.CallDeferred(StringName, ReadOnlySpan<Variant>),
GodotObject.SetDeferred(StringName, Variant),
GodotObject.Callv(StringName, Array),
GodotObject.HasMethod(StringName),
GodotObject.GetMethodArgumentCount(StringName),
GodotObject.HasSignal(StringName),
GodotObject.GetSignalList(),
GodotObject.GetSignalConnectionList(StringName),
GodotObject.GetIncomingConnections(),
GodotObject.Connect(StringName, Callable, uint),
GodotObject.Disconnect(StringName, Callable),
GodotObject.IsConnected(StringName, Callable),
GodotObject.HasConnections(StringName),
GodotObject.SetBlockSignals(bool),
GodotObject.IsBlockingSignals(),
GodotObject.NotifyPropertyListChanged(),
GodotObject.SetMessageTranslation(bool),
GodotObject.CanTranslateMessages(),
GodotObject.Tr(StringName, StringName),
GodotObject.TrN(StringName, StringName, int, StringName),
GodotObject.GetTranslationDomain(),
GodotObject.SetTranslationDomain(StringName),
GodotObject.IsQueuedForDeletion(),
GodotObject.CancelFree(),
GodotObject.EmitSignalScriptChanged(),
GodotObject.EmitSignalPropertyListChanged(),
GodotObject.InvokeGodotClassMethod(in godot_string_name, NativeVariantPtrArgs, out godot_variant),
GodotObject.HasGodotClassMethod(in godot_string_name),
GodotObject.HasGodotClassSignal(in godot_string_name),
GodotObject.NativeInstance,
GodotObject.ScriptChanged,
GodotObject.PropertyListChanged,
object.Equals(object?),
object.Equals(object?, object?),
object.GetHashCode(),
object.GetType(),
object.MemberwiseClone(),
object.ReferenceEquals(object?, object?),
object.ToString()
Constructors
RoleType()
public RoleType()
RoleType(string, string?, Array<RoleAttribute>, Array<RoleAction>)
public RoleType(string name, string? description, Array<RoleAttribute> roleAttributes, Array<RoleAction> roleActions)
Parameters
name
string
description
string?
roleAttributes
Array<RoleAttribute>
roleActions
Array<RoleAction>
Properties
Description
Descrição do arquétipo de personagem.
[Export(PropertyHint.MultilineText, "")]
public string? Description { get; set; }
Property Value
Name
Nome do arquétipo de personagem.
[Export(PropertyHint.None, "")]
public string Name { get; set; }
Property Value
RoleActions
Lista de ações do arquétipo de personagem.
[Export(PropertyHint.None, "")]
public Array<RoleAction> RoleActions { get; set; }
Property Value
Array<RoleAction>
RoleAttributes
Lista de atributos do arquétipo de personagem.
[Export(PropertyHint.None, "")]
public Array<RoleAttribute> RoleAttributes { get; set; }
Property Value
Array<RoleAttribute>
Methods
ValidateConstructor()
public void ValidateConstructor()