C# Class KLF.KLFManager

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: SodiumEyes/KerbalLiveFeed

Public Properties

Property Type Description
GameObjectInstance UnityEngine.GameObject
encoder System.Text.UnicodeEncoding
inactiveVesselsPerUpdate byte
interopOutQueue Queue
planetariumCam PlanetariumCamera
playerName String
playerStatus VesselStatusInfo>.SortedDictionary
renderManager RenderingManager
updateInterval float
vessels VesselEntry>.Dictionary

Public Methods

Method Description
Awake ( ) : void
OnGUI ( ) : void
Update ( ) : void
drawGUI ( ) : void
getAnyKeyDown ( KeyCode &key ) : bool
updateStep ( ) : void
updateVesselPositions ( ) : void

Private Methods

Method Description
CheckEditorLock ( ) : void
applyVesselUpdate ( KLFVesselUpdate vessel_update, KLFVessel vessel ) : void
chatWindow ( int windowID ) : void
enforceWindowBoundaries ( Rect window ) : Rect
enqueueChatOutMessage ( String message ) : void
enqueuePluginInteropMessage ( KLFCommon id, byte data ) : void
getVesselDetail ( Vessel vessel ) : KLFVesselDetail
getVesselUpdate ( Vessel vessel ) : KLFVesselUpdate
handleInteropMessage ( KLFCommon id, byte data ) : void
handleUpdate ( object obj ) : void
handleVesselUpdate ( KLFVesselUpdate vessel_update ) : void
infoDisplayWindow ( int windowID ) : void
loadGlobalSettings ( ) : void
readClientInterop ( ) : void
readIntFromStream ( KSP stream ) : Int32
safeDelete ( String filename ) : void
saveGlobalSettings ( ) : void
screenshotWatchButton ( String name ) : void
screenshotWindow ( int windowID ) : void
shareScreenshot ( ) : void
statusArrayToInfo ( String status_array ) : VesselStatusInfo
vesselStatusLabels ( VesselStatusInfo status, bool big ) : void
writeIntToStream ( KSP stream, Int32 val ) : void
writePluginData ( ) : void
writePluginInterop ( ) : bool
writePluginUpdate ( ) : void
writePrimaryUpdate ( ) : void
writeScreenshotWatchUpdate ( ) : void
writeSecondaryUpdates ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

Update() public method

public Update ( ) : void
return void

drawGUI() public method

public drawGUI ( ) : void
return void

getAnyKeyDown() public method

public getAnyKeyDown ( KeyCode &key ) : bool
key KeyCode
return bool

updateStep() public method

public updateStep ( ) : void
return void

updateVesselPositions() public method

public updateVesselPositions ( ) : void
return void

Property Details

GameObjectInstance public static property

public static GameObject,UnityEngine GameObjectInstance
return UnityEngine.GameObject

encoder public property

public UnicodeEncoding,System.Text encoder
return System.Text.UnicodeEncoding

inactiveVesselsPerUpdate public property

public byte inactiveVesselsPerUpdate
return byte

interopOutQueue public property

public Queue interopOutQueue
return Queue

planetariumCam public property

public PlanetariumCamera planetariumCam
return PlanetariumCamera

playerName public property

public String playerName
return String

playerStatus public property

public SortedDictionary playerStatus
return VesselStatusInfo>.SortedDictionary

renderManager public property

public RenderingManager renderManager
return RenderingManager

updateInterval public property

public float updateInterval
return float

vessels public property

public Dictionary vessels
return VesselEntry>.Dictionary