-
Notifications
You must be signed in to change notification settings - Fork 0
StringName
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.StringName |
| Namespace | Electron2D |
| Kind | struct |
| Category | Core |
Represents the string name value type.
public struct Electron2D.StringName : System.IEquatable<Electron2D.StringName>Profile: Electron2D 0.1.0 2D
Status: Partial / Not verified
Out of profile: yes
Godot reference: StringName
Immutable interned-name baseline with ordinal equality, hashing, empty/default semantics and string conversion.
This type is part of the Electron2D 0.1.0 Preview public API.
Instances of this type are not synchronized. Access them from the thread that owns the object unless the member documentation states otherwise.
This API is available since Electron2D 0.1.0 Preview.
| Member | Kind | Summary |
|---|---|---|
Electron2D.StringName(System.String) |
Constructor | Initializes a new instance of the StringName type. |
Equals(Electron2D.StringName) |
Method | Executes the equals operation. |
Equals(System.Object) |
Method | Executes the equals operation. |
GetHashCode() |
Method | Gets the hash code value. |
IsEmpty() |
Method | Checks whether empty is true. |
ToString() |
Method | Executes the to string operation. |
op_Equality(Electron2D.StringName, Electron2D.StringName) |
Method | Applies the == operator. |
op_Equality(Electron2D.StringName, System.String) |
Method | Applies the == operator. |
op_Equality(System.String, Electron2D.StringName) |
Method | Applies the == operator. |
op_Implicit(System.String) |
Method | Converts the supplied value to the target type. |
op_Inequality(Electron2D.StringName, Electron2D.StringName) |
Method | Applies the != operator. |
op_Inequality(Electron2D.StringName, System.String) |
Method | Applies the != operator. |
op_Inequality(System.String, Electron2D.StringName) |
Method | Applies the != operator. |
Kind: Constructor
public Electron2D.StringName(System.String value)Initializes a new instance of the StringName type.
The new instance follows the lifetime and validation rules of its declaring type.
-
value: The value to use.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.StringName
Kind: Method
public System.Boolean Equals(Electron2D.StringName)(Electron2D.StringName other)Executes the equals operation.
This method follows the validation and lifetime rules of its declaring type.
-
other: The other value.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.StringName
Kind: Method
public System.Boolean Equals(System.Object)(System.Object obj)Executes the equals operation.
This method follows the validation and lifetime rules of its declaring type.
-
obj: The obj value.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.StringName
Kind: Method
public System.Int32 GetHashCode()()Gets the hash code value.
This method follows the validation and lifetime rules of its declaring type.
The current hash code value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.StringName
Kind: Method
public System.Boolean IsEmpty()()Checks whether empty is true.
This method follows the validation and lifetime rules of its declaring type.
true when the condition is met; otherwise, false.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.StringName
Kind: Method
public System.String ToString()()Executes the to string operation.
This method follows the validation and lifetime rules of its declaring type.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.StringName
Kind: Method
public static System.Boolean op_Equality(Electron2D.StringName, Electron2D.StringName)(Electron2D.StringName left, Electron2D.StringName right)Applies the == operator.
This operator returns a value derived from the supplied operands.
-
left: The left value. -
right: The right value.
The result of the operator.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.StringName
Kind: Method
public static System.Boolean op_Equality(Electron2D.StringName, System.String)(Electron2D.StringName left, System.String right)Applies the == operator.
This operator returns a value derived from the supplied operands.
-
left: The left value. -
right: The right value.
The result of the operator.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.StringName
Kind: Method
public static System.Boolean op_Equality(System.String, Electron2D.StringName)(System.String left, Electron2D.StringName right)Applies the == operator.
This operator returns a value derived from the supplied operands.
-
left: The left value. -
right: The right value.
The result of the operator.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.StringName
Kind: Method
public static Electron2D.StringName op_Implicit(System.String)(System.String value)Converts the supplied value to the target type.
The conversion follows the validation rules of the source and target types.
-
value: The value to use.
The converted value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.StringName
Kind: Method
public static System.Boolean op_Inequality(Electron2D.StringName, Electron2D.StringName)(Electron2D.StringName left, Electron2D.StringName right)Applies the != operator.
This operator returns a value derived from the supplied operands.
-
left: The left value. -
right: The right value.
The result of the operator.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.StringName
Kind: Method
public static System.Boolean op_Inequality(Electron2D.StringName, System.String)(Electron2D.StringName left, System.String right)Applies the != operator.
This operator returns a value derived from the supplied operands.
-
left: The left value. -
right: The right value.
The result of the operator.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.StringName
Kind: Method
public static System.Boolean op_Inequality(System.String, Electron2D.StringName)(System.String left, Electron2D.StringName right)Applies the != operator.
This operator returns a value derived from the supplied operands.
-
left: The left value. -
right: The right value.
The result of the operator.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.StringName
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.