C# Class ctac.HistoryMediator

Inheritance: strange.extensions.mediation.impl.Mediator
Afficher le fichier Open project: dshook/centauri-tac

Private Properties

Свойство Type Description
CopyCard CardModel
CopyPiece PieceModel
GetCurrent HistoryItem
addGenericHistory void
onPieceAttacked void
onPieceBuff void
onPieceHealthChanged void
onQpc void
onSpawnPiece void
onSpellPlayed void
onTurnEnd void
pushHistory IEnumerator

Méthodes publiques

Méthode Description
OnRegister ( ) : void
onArmor ( PieceArmorChangeModel m ) : void
onAttrChange ( PieceAttributeChangeModel m ) : void
onCharmed ( CharmPieceModel m ) : void
onCode ( AttachCodeModel m, SocketKey k ) : void
onDestroyed ( PieceDestroyedModel m, SocketKey k ) : void
onRemove ( ) : void
onStatusChange ( PieceStatusChangeModel m ) : void
onTransformed ( TransformPieceModel m ) : void
onUnsummon ( UnsummonPieceModel m ) : void

Private Methods

Méthode Description
CopyCard ( CardModel src ) : CardModel
CopyPiece ( PieceModel src ) : PieceModel
GetCurrent ( int activatingPieceId, HistoryItemType type, int player ) : HistoryItem

Get or create the current history item for the activating piece Id which the history items are grouped by If one doesn't exist, create it with the player and type passed

addGenericHistory ( int pieceId, int activatingPieceId ) : void
onPieceAttacked ( AttackPieceModel atk ) : void
onPieceBuff ( PieceBuffModel pieceBuff ) : void
onPieceHealthChanged ( PieceHealthChangeModel phcm ) : void
onQpc ( int t ) : void
onSpawnPiece ( PieceSpawnedModel pieceSpawned ) : void
onSpellPlayed ( SpellPlayedModel spellPlayed ) : void
onTurnEnd ( GameTurnModel turn ) : void
pushHistory ( List items ) : IEnumerator

Method Details

OnRegister() public méthode

public OnRegister ( ) : void
Résultat void

onArmor() public méthode

public onArmor ( PieceArmorChangeModel m ) : void
m PieceArmorChangeModel
Résultat void

onAttrChange() public méthode

public onAttrChange ( PieceAttributeChangeModel m ) : void
m PieceAttributeChangeModel
Résultat void

onCharmed() public méthode

public onCharmed ( CharmPieceModel m ) : void
m CharmPieceModel
Résultat void

onCode() public méthode

public onCode ( AttachCodeModel m, SocketKey k ) : void
m AttachCodeModel
k SocketKey
Résultat void

onDestroyed() public méthode

public onDestroyed ( PieceDestroyedModel m, SocketKey k ) : void
m PieceDestroyedModel
k SocketKey
Résultat void

onRemove() public méthode

public onRemove ( ) : void
Résultat void

onStatusChange() public méthode

public onStatusChange ( PieceStatusChangeModel m ) : void
m PieceStatusChangeModel
Résultat void

onTransformed() public méthode

public onTransformed ( TransformPieceModel m ) : void
m TransformPieceModel
Résultat void

onUnsummon() public méthode

public onUnsummon ( UnsummonPieceModel m ) : void
m UnsummonPieceModel
Résultat void