Table of Contents

Class EntityChangedToModel

Namespace
RustPlusApi.Extensions
Assembly
RustPlusApi.dll

Mapping extensions from protobuf entity-changed broadcasts to event argument types.

public static class EntityChangedToModel
Inheritance
EntityChangedToModel
Inherited Members

Methods

ToSmartSwitchEvent(AppEntityChanged)

Maps an RustPlusContracts.AppEntityChanged broadcast to a SmartSwitchEventArg.

public static SmartSwitchEventArg ToSmartSwitchEvent(this AppEntityChanged entityChanged)

Parameters

entityChanged AppEntityChanged

The protobuf entity-changed broadcast.

Returns

SmartSwitchEventArg

ToStorageMonitorEvent(AppEntityChanged)

Maps an RustPlusContracts.AppEntityChanged broadcast to a StorageMonitorEventArg.

public static StorageMonitorEventArg ToStorageMonitorEvent(this AppEntityChanged entityChanged)

Parameters

entityChanged AppEntityChanged

The protobuf entity-changed broadcast.

Returns

StorageMonitorEventArg