C# Class RedisRipper.Workbench.WorkbenchFile

Datei anzeigen Open project: SilversphereInc/RedisRipper Class Usage Examples

Public Properties

Property Type Description
Files List>.Dictionary

Public Methods

Method Description
AllStaffResetPendants ( ) : List

Return all staff reset transmitters

AllTransmitters ( ) : List

Return all active transmitters.

AllTransmitters ( ushort zoneid ) : List

Return all transmitters in a given zone.

CreateCharFile ( ) : string
CreateWB2File ( ) : string
GetWorkbenchData ( ) : WorkbenchData
SerializeToJson ( WorkbenchFile file ) : string
SetTransmitterEventName ( List transmitters ) : void
WorkbenchFile ( string fileContents ) : System

Private Methods

Method Description
IsSectionStart ( string line ) : bool
LoadSectionFromReader ( StreamReader reader, int expectedSize, CompanionFileType fileType ) : byte[]
ParseLine ( string line ) : List
StringStreamReader ( string fileContents ) : StreamReader
loadWorkbenchFile ( StreamReader reader ) : void

Method Details

AllStaffResetPendants() public method

Return all staff reset transmitters
public AllStaffResetPendants ( ) : List
return List

AllTransmitters() public method

Return all active transmitters.
public AllTransmitters ( ) : List
return List

AllTransmitters() public method

Return all transmitters in a given zone.
public AllTransmitters ( ushort zoneid ) : List
zoneid ushort
return List

CreateCharFile() public method

public CreateCharFile ( ) : string
return string

CreateWB2File() public method

public CreateWB2File ( ) : string
return string

GetWorkbenchData() public method

public GetWorkbenchData ( ) : WorkbenchData
return WorkbenchData

SerializeToJson() public static method

public static SerializeToJson ( WorkbenchFile file ) : string
file WorkbenchFile
return string

SetTransmitterEventName() public method

public SetTransmitterEventName ( List transmitters ) : void
transmitters List
return void

WorkbenchFile() public method

public WorkbenchFile ( string fileContents ) : System
fileContents string
return System

Property Details

Files public_oe property

public Dictionary> Files
return List>.Dictionary