C# Class Codebreak.Service.World.Game.Entity.AbstractEntity

Inheritance: Codebreak.Service.World.Network.MessageDispatcher, IDisposable
Afficher le fichier Open project: hussein-aitlahcen/codebreak Class Usage Examples

Méthodes publiques

Méthode Description
AbortAction ( GameActionTypeEnum actionType ) : void

AddEventListener ( IEntityListener listener ) : void

CanBeExchanged ( ExchangeTypeEnum exchangeType ) : bool

CanBeMoved ( ) : bool

CanGameAction ( GameActionTypeEnum actionType ) : bool

ChangeDirection ( int direction ) : void

DispatchChatMessage ( ChatChannelEnum channel, string message, CharacterEntity whispedCharacter = null ) : bool

Dispose ( ) : void

EmoteUse ( int emoteId, int timeout = 360000 ) : void

FireEvent ( EntityEventType ev, object parameters ) : void

HasEntityRestriction ( EntityRestrictionEnum restriction ) : bool

HasGameAction ( GameActionTypeEnum actionType ) : bool

HasPlayerRestriction ( PlayerRestrictionEnum restriction ) : bool

Move ( MovementPath path ) : void

RemoveEntityListener ( IEntityListener listener ) : void

SerializeAs_GameMapInformations ( OperatorEnum operation, StringBuilder message ) : void

SetChatChannel ( ChatChannelEnum channelType, Func channel ) : void

SetEntityRestriction ( EntityRestrictionEnum restriction, bool value ) : void

SetMap ( MapInstance map ) : void

SetPlayerRestriction ( PlayerRestrictionEnum restriction, bool value ) : void

StartAction ( GameActionTypeEnum actionType ) : void

StopAction ( GameActionTypeEnum actionType ) : void

Teleport ( int nextMap, int nextCell ) : void

Méthodes protégées

Méthode Description
AbstractEntity ( EntityTypeEnum type, long id ) : System

Method Details

AbortAction() public méthode

public AbortAction ( GameActionTypeEnum actionType ) : void
actionType GameActionTypeEnum
Résultat void

AbstractEntity() protected méthode

protected AbstractEntity ( EntityTypeEnum type, long id ) : System
type EntityTypeEnum
id long
Résultat System

AddEventListener() public méthode

public AddEventListener ( IEntityListener listener ) : void
listener IEntityListener
Résultat void

CanBeExchanged() public méthode

public CanBeExchanged ( ExchangeTypeEnum exchangeType ) : bool
exchangeType ExchangeTypeEnum
Résultat bool

CanBeMoved() public méthode

public CanBeMoved ( ) : bool
Résultat bool

CanGameAction() public méthode

public CanGameAction ( GameActionTypeEnum actionType ) : bool
actionType GameActionTypeEnum
Résultat bool

ChangeDirection() public méthode

public ChangeDirection ( int direction ) : void
direction int
Résultat void

DispatchChatMessage() public méthode

public DispatchChatMessage ( ChatChannelEnum channel, string message, CharacterEntity whispedCharacter = null ) : bool
channel ChatChannelEnum
message string
whispedCharacter CharacterEntity
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EmoteUse() public méthode

public EmoteUse ( int emoteId, int timeout = 360000 ) : void
emoteId int
timeout int
Résultat void

FireEvent() public méthode

public FireEvent ( EntityEventType ev, object parameters ) : void
ev EntityEventType
parameters object
Résultat void

HasEntityRestriction() public méthode

public HasEntityRestriction ( EntityRestrictionEnum restriction ) : bool
restriction EntityRestrictionEnum
Résultat bool

HasGameAction() public méthode

public HasGameAction ( GameActionTypeEnum actionType ) : bool
actionType GameActionTypeEnum
Résultat bool

HasPlayerRestriction() public méthode

public HasPlayerRestriction ( PlayerRestrictionEnum restriction ) : bool
restriction PlayerRestrictionEnum
Résultat bool

Move() public méthode

public Move ( MovementPath path ) : void
path MovementPath
Résultat void

RemoveEntityListener() public méthode

public RemoveEntityListener ( IEntityListener listener ) : void
listener IEntityListener
Résultat void

SerializeAs_GameMapInformations() public abstract méthode

public abstract SerializeAs_GameMapInformations ( OperatorEnum operation, StringBuilder message ) : void
operation OperatorEnum
message StringBuilder
Résultat void

SetChatChannel() public méthode

public SetChatChannel ( ChatChannelEnum channelType, Func channel ) : void
channelType ChatChannelEnum
channel Func
Résultat void

SetEntityRestriction() public méthode

public SetEntityRestriction ( EntityRestrictionEnum restriction, bool value ) : void
restriction EntityRestrictionEnum
value bool
Résultat void

SetMap() public méthode

public SetMap ( MapInstance map ) : void
map Codebreak.Service.World.Game.Map.MapInstance
Résultat void

SetPlayerRestriction() public méthode

public SetPlayerRestriction ( PlayerRestrictionEnum restriction, bool value ) : void
restriction PlayerRestrictionEnum
value bool
Résultat void

StartAction() public méthode

public StartAction ( GameActionTypeEnum actionType ) : void
actionType GameActionTypeEnum
Résultat void

StopAction() public méthode

public StopAction ( GameActionTypeEnum actionType ) : void
actionType GameActionTypeEnum
Résultat void

Teleport() public méthode

public Teleport ( int nextMap, int nextCell ) : void
nextMap int
nextCell int
Résultat void