FSUIPC Client DLL
.NET interface for FSUIPC
FSUIPCStructField< T > Class Template Reference

Represents a field in a struct that will be used to get data to and from an FSUIPC Offset. More...

Inherits IStructField.

Public Member Functions

 FSUIPCStructField ()
 Create a new field for an FSUIPC structure. More...
 
 FSUIPCStructField (int ArrayOrStringLength)
 Create a new field for an FSUIPC structure. More...
 

Properties

Value [get, set]
 The data from the FSUIPC struct field, obtained from the last Process(). More...
 

Detailed Description

Represents a field in a struct that will be used to get data to and from an FSUIPC Offset.

Template Parameters
TThe .NET datatype for this field.

Constructor & Destructor Documentation

◆ FSUIPCStructField() [1/2]

FSUIPCStructField ( )
inline

Create a new field for an FSUIPC structure.

◆ FSUIPCStructField() [2/2]

FSUIPCStructField ( int  ArrayOrStringLength)
inline

Create a new field for an FSUIPC structure.

Parameters
ArrayOrStringLengthThe number of bytes to read. Used to define the length of types: String, BitArray, FsBitArray and array of bytes. Use a negative length for strings without 0 terminators.

Property Documentation

◆ Value

T Value
getset

The data from the FSUIPC struct field, obtained from the last Process().

To write a value to the FSUIPC Offset, assign the new value to this property. It will be written to FSUIPC during the next Process().