C# Class CrewChiefV3.Events.AbstractEvent

显示文件 Open project: mrbelowski/r3e_crewchief_v3 Class Usage Examples

Protected Properties

Property Type Description
audioPlayer AudioPlayer
pearlsOfWisdom PearlsOfWisdom

Public Methods

Method Description
MessageContents ( Object o1 ) : List
MessageContents ( Object o1, Object o2 ) : List
MessageContents ( Object o1, Object o2, Object o3 ) : List
MessageContents ( Object o1, Object o2, Object o3, Object o4 ) : List
MessageContents ( Object o1, Object o2, Object o3, Object o4, Object o5 ) : List
MessageContents ( Object o1, Object o2, Object o3, Object o4, Object o5, Object o6 ) : List
clearState ( ) : void
isApplicableForCurrentSessionAndPhase ( SessionType sessionType, SessionPhase sessionPhase ) : System.Boolean
isMessageStillValid ( String eventSubType, GameStateData currentGameState, Object>.Dictionary validationData ) : System.Boolean
messagesHaveSameContent ( List messages1, List messages2 ) : System.Boolean
respond ( String voiceMessage ) : void
setPearlsOfWisdom ( PearlsOfWisdom pearlsOfWisdom ) : void
trigger ( GameStateData previousGameState, GameStateData currentGameState ) : void

Protected Methods

Method Description
triggerInternal ( GameStateData previousGameState, GameStateData currentGameState ) : void

Private Methods

Method Description
addObjectToMessages ( List messageFragments, Object o ) : void

Method Details

MessageContents() public static method

public static MessageContents ( Object o1 ) : List
o1 Object
return List

MessageContents() public static method

public static MessageContents ( Object o1, Object o2 ) : List
o1 Object
o2 Object
return List

MessageContents() public static method

public static MessageContents ( Object o1, Object o2, Object o3 ) : List
o1 Object
o2 Object
o3 Object
return List

MessageContents() public static method

public static MessageContents ( Object o1, Object o2, Object o3, Object o4 ) : List
o1 Object
o2 Object
o3 Object
o4 Object
return List

MessageContents() public static method

public static MessageContents ( Object o1, Object o2, Object o3, Object o4, Object o5 ) : List
o1 Object
o2 Object
o3 Object
o4 Object
o5 Object
return List

MessageContents() public static method

public static MessageContents ( Object o1, Object o2, Object o3, Object o4, Object o5, Object o6 ) : List
o1 Object
o2 Object
o3 Object
o4 Object
o5 Object
o6 Object
return List

clearState() public abstract method

public abstract clearState ( ) : void
return void

isApplicableForCurrentSessionAndPhase() public method

public isApplicableForCurrentSessionAndPhase ( SessionType sessionType, SessionPhase sessionPhase ) : System.Boolean
sessionType SessionType
sessionPhase SessionPhase
return System.Boolean

isMessageStillValid() public method

public isMessageStillValid ( String eventSubType, GameStateData currentGameState, Object>.Dictionary validationData ) : System.Boolean
eventSubType String
currentGameState CrewChiefV3.GameState.GameStateData
validationData Object>.Dictionary
return System.Boolean

messagesHaveSameContent() public method

public messagesHaveSameContent ( List messages1, List messages2 ) : System.Boolean
messages1 List
messages2 List
return System.Boolean

respond() public method

public respond ( String voiceMessage ) : void
voiceMessage String
return void

setPearlsOfWisdom() public method

public setPearlsOfWisdom ( PearlsOfWisdom pearlsOfWisdom ) : void
pearlsOfWisdom PearlsOfWisdom
return void

trigger() public method

public trigger ( GameStateData previousGameState, GameStateData currentGameState ) : void
previousGameState CrewChiefV3.GameState.GameStateData
currentGameState CrewChiefV3.GameState.GameStateData
return void

triggerInternal() protected abstract method

protected abstract triggerInternal ( GameStateData previousGameState, GameStateData currentGameState ) : void
previousGameState CrewChiefV3.GameState.GameStateData
currentGameState CrewChiefV3.GameState.GameStateData
return void

Property Details

audioPlayer protected_oe property

protected AudioPlayer audioPlayer
return AudioPlayer

pearlsOfWisdom protected_oe property

protected PearlsOfWisdom pearlsOfWisdom
return PearlsOfWisdom