C# Class _20.Events.SubstitutionEvent

The event the will handle substitutions.
Inheritance: Event
Datei anzeigen Open project: jdharms/20-20 Class Usage Examples

Public Methods

Method Description
SubstitutionEvent ( Alpaca pac, string idGoingIn, string idGoingOut, string teamId ) : System
ToString ( ) : string
resolve ( ) : void

Subs in the player going in for the player going out

serialize ( ) : string

Converts this class to a Json serialized object, with the correct fields.

unresolve ( ) : void

Undoes a substitution.

Method Details

SubstitutionEvent() public method

public SubstitutionEvent ( Alpaca pac, string idGoingIn, string idGoingOut, string teamId ) : System
pac Alpaca
idGoingIn string
idGoingOut string
teamId string
return System

ToString() public method

public ToString ( ) : string
return string

resolve() public method

Subs in the player going in for the player going out
public resolve ( ) : void
return void

serialize() public method

Converts this class to a Json serialized object, with the correct fields.
public serialize ( ) : string
return string

unresolve() public method

Undoes a substitution.
public unresolve ( ) : void
return void