Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Types | Public Member Functions | Properties | List of all members
BaseEventDetails Class Reference

A wrapped list of key/value pairs which may be passed to an action More...

Public Types

enum  Sender { Sender.AUTO, Sender.STAGING, Sender.GUI, Sender.USER }
 

Public Member Functions

 BaseEventDetails (Sender sender)
 
object Get (string name)
 
Get< T > (string name)
 
bool GetBool (string name)
 
float GetFloat (string name)
 
GameObject GetGameObject (string name)
 
int GetInt (string name)
 
string GetString (string name)
 
void Set (string name, object value)
 
void Set (string name, int value)
 
void Set (string name, float value)
 
void Set (string name, string value)
 
void Set (string name, bool value)
 
void Set (string name, GameObject value)
 
void Set< T > (string name, T value)
 

Properties

ICollection Keys [get]
 
ICollection Values [get]
 

Detailed Description

A wrapped list of key/value pairs which may be passed to an action

Member Enumeration Documentation

Enumerator
AUTO 
STAGING 
GUI 
USER 

Constructor & Destructor Documentation

BaseEventDetails.BaseEventDetails ( Sender  sender)
inline

< this.sender = sender;

Member Function Documentation

object BaseEventDetails.Get ( string  name)
inline
T BaseEventDetails.Get< T > ( string  name)
inline
bool BaseEventDetails.GetBool ( string  name)
inline
float BaseEventDetails.GetFloat ( string  name)
inline
GameObject BaseEventDetails.GetGameObject ( string  name)
inline
int BaseEventDetails.GetInt ( string  name)
inline
string BaseEventDetails.GetString ( string  name)
inline
void BaseEventDetails.Set ( string  name,
object  value 
)
inline
void BaseEventDetails.Set ( string  name,
int  value 
)
inline
void BaseEventDetails.Set ( string  name,
float  value 
)
inline
void BaseEventDetails.Set ( string  name,
string  value 
)
inline
void BaseEventDetails.Set ( string  name,
bool  value 
)
inline
void BaseEventDetails.Set ( string  name,
GameObject  value 
)
inline
void BaseEventDetails.Set< T > ( string  name,
value 
)
inline

Property Documentation

ICollection BaseEventDetails.Keys
get
ICollection BaseEventDetails.Values
get

The documentation for this class was generated from the following file: