C# Class Beyond_Beyaan.Data_Managers.ContactManager

Afficher le fichier Open project: Beyonders/Beyond-Beyaan Class Usage Examples

Méthodes publiques

Méthode Description
ContactManager ( Empire currentEmpire, List allEmpires ) : System
EstablishContact ( Empire empireContacted, SitRepManager sitRepManager ) : void
IsContacted ( Empire empire ) : bool
UpdateContacts ( SitRepManager sitRepManager ) : void

Private Methods

Méthode Description
GetMessage ( Empire forWhichEmpire, Empire &whichEmpireInRequest ) : MessageType
HandleMessage ( Contact contact, MessageType message, Empire whichEmpire ) : void
UpdateRelationship ( Empire currentEmpire, Contact whichContact, int amount ) : void

Method Details

ContactManager() public méthode

public ContactManager ( Empire currentEmpire, List allEmpires ) : System
currentEmpire Empire
allEmpires List
Résultat System

EstablishContact() public méthode

public EstablishContact ( Empire empireContacted, SitRepManager sitRepManager ) : void
empireContacted Empire
sitRepManager SitRepManager
Résultat void

IsContacted() public méthode

public IsContacted ( Empire empire ) : bool
empire Empire
Résultat bool

UpdateContacts() public méthode

public UpdateContacts ( SitRepManager sitRepManager ) : void
sitRepManager SitRepManager
Résultat void