KSP API
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
Public Member Functions | Public Attributes | List of all members
GameEvents.HostedFromToAction< A, B > Struct Template Reference

Two potentially different object types; the From/To object (B) returns two values, generally the old and new. More...

Public Member Functions

 HostedFromToAction (A host, B from, B to)
 

Public Attributes

B from
 
A host
 
B to
 

Detailed Description

Two potentially different object types; the From/To object (B) returns two values, generally the old and new.

See onVesselSOIChanged for an example

Template Parameters
AHost object
BFrom/To Object

Constructor & Destructor Documentation

GameEvents.HostedFromToAction< A, B >.HostedFromToAction ( A  host,
B  from,
B  to 
)

Member Data Documentation

B GameEvents.HostedFromToAction< A, B >.from
A GameEvents.HostedFromToAction< A, B >.host
B GameEvents.HostedFromToAction< A, B >.to

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