Struct NtBool
NT Bool for interop
Inherited Members
Namespace: NetworkTables.Natives
Assembly: FRC.NetworkTables.dll
Syntax
public struct NtBool
Constructors
| Improve this Doc View SourceNtBool(Boolean)
Creates an NT Bool from a bool
Declaration
public NtBool(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| Boolean | value |
NtBool(Int32)
Creates an NT Bool from an int
Declaration
public NtBool(int value)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | value | value |
Methods
| Improve this Doc View SourceGet()
Gets the value
Declaration
public bool Get()
Returns
| Type | Description |
|---|---|
| Boolean | value |
Operators
| Improve this Doc View SourceImplicit(Boolean to NtBool)
Converts a bool to an NT Bool
Declaration
public static implicit operator NtBool(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| Boolean | value | bool balue |
Returns
| Type | Description |
|---|---|
| NtBool |