GearBlocks
The GearBlocks Lua scripting API
Public Member Functions | Properties | List of all members
SmashHammer.Data.IDataSource Interface Reference

Provides access to a data source. More...

Inherits SmashHammer.Core.INullCheck.

Inherited by SmashHammer.GearBlocks.Construction.DataSourceBehaviour.

Public Member Functions

IDataChannel GetChannel (string label)
 Get a channel.
 

Properties

int NumChannels [get]
 Number of data channels.
 
IEnumerable< IDataChannelChannels [get]
 The data channels.
 

Detailed Description

Provides access to a data source.

Member Function Documentation

◆ GetChannel()

IDataChannel SmashHammer.Data.IDataSource.GetChannel ( string  label)

Get a channel.

Parameters
labelThe label of the data channel.
Returns
The data channel.

Property Documentation

◆ NumChannels

int SmashHammer.Data.IDataSource.NumChannels
get

Number of data channels.

The number of data channels that this part has.

◆ Channels

IEnumerable<IDataChannel> SmashHammer.Data.IDataSource.Channels
get

The data channels.

A list of data channels that this part has.