C# Class KLF.KLFManager

Inheritance: UnityEngine.MonoBehaviour
ファイルを表示 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_oe static_oe property

public static GameObject,UnityEngine GameObjectInstance
return UnityEngine.GameObject

encoder public_oe property

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

inactiveVesselsPerUpdate public_oe property

public byte inactiveVesselsPerUpdate
return byte

interopOutQueue public_oe property

public Queue interopOutQueue
return Queue

planetariumCam public_oe property

public PlanetariumCamera planetariumCam
return PlanetariumCamera

playerName public_oe property

public String playerName
return String

playerStatus public_oe property

public SortedDictionary playerStatus
return VesselStatusInfo>.SortedDictionary

renderManager public_oe property

public RenderingManager renderManager
return RenderingManager

updateInterval public_oe property

public float updateInterval
return float

vessels public_oe property

public Dictionary vessels
return VesselEntry>.Dictionary