C# Class ProgCom.TapeDrive

Inheritance: PartModule, IPCHardware, PCGUIListener
Exibir arquivo Open project: Binamrad/ProgCom Class Usage Examples

Protected Properties

Property Type Description
windowPos UnityEngine.Rect

Public Methods

Method Description
OnStart ( PartModule state ) : void
connect ( ) : void
disconnect ( ) : void
draw ( ) : void
getSegment ( int id ) : int>.Tuple
getSegmentCount ( ) : int
memRead ( ushort position ) : int
memWrite ( ushort position, int value ) : void
recGUIState ( GUIStates g ) : void
recInterruptHandle ( InterruptHandle seg ) : void
saveTape ( String name, Int32 tape ) : void
tick ( int ticks ) : void

Private Methods

Method Description
EOTException ( ) : void
busyException ( ) : void
getStatus ( int statusIndex ) : bool
handleSendRec ( ) : void
insertMedia ( Int32 tape ) : void
interpretInt ( Int32 i ) : void
loadTape ( String name ) : System.Int32[]
overflowException ( ) : void
performRWS ( int ticks ) : void
saveTapeInternal ( String name ) : void
setStatus ( int statusIndex, bool status ) : void
tapeEjectedException ( ) : void
unrecognisedCommandException ( ) : void
windowGUI ( int windowID ) : void

Method Details

OnStart() public method

public OnStart ( PartModule state ) : void
state PartModule
return void

connect() public method

public connect ( ) : void
return void

disconnect() public method

public disconnect ( ) : void
return void

draw() public method

public draw ( ) : void
return void

getSegment() public method

public getSegment ( int id ) : int>.Tuple
id int
return int>.Tuple

getSegmentCount() public method

public getSegmentCount ( ) : int
return int

memRead() public method

public memRead ( ushort position ) : int
position ushort
return int

memWrite() public method

public memWrite ( ushort position, int value ) : void
position ushort
value int
return void

recGUIState() public method

public recGUIState ( GUIStates g ) : void
g GUIStates
return void

recInterruptHandle() public method

public recInterruptHandle ( InterruptHandle seg ) : void
seg InterruptHandle
return void

saveTape() public static method

public static saveTape ( String name, Int32 tape ) : void
name String
tape System.Int32
return void

tick() public method

public tick ( int ticks ) : void
ticks int
return void

Property Details

windowPos protected_oe property

protected Rect,UnityEngine windowPos
return UnityEngine.Rect