| GameObjectGetEventMetadataT Method (Int32) |
Gets the metadata of the event with the given ID.
Namespace: DigitalRune.GameAssembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax public static GameEventMetadata<T> GetEventMetadata<T>(
int id
)
where T : EventArgs
Public Shared Function GetEventMetadata(Of T As EventArgs) (
id As Integer
) As GameEventMetadata(Of T)
public:
generic<typename T>
where T : EventArgs
static GameEventMetadata<T>^ GetEventMetadata(
int id
)
static member GetEventMetadata :
id : int -> GameEventMetadata<'T> when 'T : EventArgs
Parameters
- id
- Type: SystemInt32
The event ID.
Type Parameters
- T
- The type of the event arguments.
Return Value
Type:
GameEventMetadataT
The event metadata, or
if no event with the given
id was defined with
CreateEventT(String, String, String, T).
See Also