C# Class ProgCom.TapeDrive

Inheritance: PartModule, IPCHardware, PCGUIListener
Afficher le fichier Open project: Binamrad/ProgCom Class Usage Examples

Protected Properties

Свойство Type Description
windowPos UnityEngine.Rect

Méthodes publiques

Méthode 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

Méthode 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 méthode

public OnStart ( PartModule state ) : void
state PartModule
Résultat void

connect() public méthode

public connect ( ) : void
Résultat void

disconnect() public méthode

public disconnect ( ) : void
Résultat void

draw() public méthode

public draw ( ) : void
Résultat void

getSegment() public méthode

public getSegment ( int id ) : int>.Tuple
id int
Résultat int>.Tuple

getSegmentCount() public méthode

public getSegmentCount ( ) : int
Résultat int

memRead() public méthode

public memRead ( ushort position ) : int
position ushort
Résultat int

memWrite() public méthode

public memWrite ( ushort position, int value ) : void
position ushort
value int
Résultat void

recGUIState() public méthode

public recGUIState ( GUIStates g ) : void
g GUIStates
Résultat void

recInterruptHandle() public méthode

public recInterruptHandle ( InterruptHandle seg ) : void
seg InterruptHandle
Résultat void

saveTape() public static méthode

public static saveTape ( String name, Int32 tape ) : void
name String
tape System.Int32
Résultat void

tick() public méthode

public tick ( int ticks ) : void
ticks int
Résultat void

Property Details

windowPos protected_oe property

protected Rect,UnityEngine windowPos
Résultat UnityEngine.Rect