Table of Contents

Class OptionSyncer

Namespace
ConfigurableWarning.API.Internal
Assembly
RedstoneWizard08.ContentLibrary.dll

Handles syncing all the options in OptionsState using the MyceliumNetworking.MyceliumNetwork API.

public class OptionSyncer
Inheritance
OptionSyncer
Inherited Members

Methods

ResetCache()

Resets cached values to force a re-sync.

public void ResetCache()

SyncSettings()

Send the data to all connected clients and sync current values in the OptionsState.

public void SyncSettings()

SyncSettingsRecv(string)

The receiving end of the sync RPC. Applies new values when called.

[CustomRPC]
public void SyncSettingsRecv(string data)

Parameters

data string

The JSON-encoded data string.