C# 클래스 Codebreak.Service.World.Game.Entity.AbstractEntity

상속: Codebreak.Service.World.Network.MessageDispatcher, IDisposable
파일 보기 프로젝트 열기: hussein-aitlahcen/codebreak 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
AbstractEntity ( EntityTypeEnum type, long id ) : System

메소드 상세

AbortAction() 공개 메소드

public AbortAction ( GameActionTypeEnum actionType ) : void
actionType GameActionTypeEnum
리턴 void

AbstractEntity() 보호된 메소드

protected AbstractEntity ( EntityTypeEnum type, long id ) : System
type EntityTypeEnum
id long
리턴 System

AddEventListener() 공개 메소드

public AddEventListener ( IEntityListener listener ) : void
listener IEntityListener
리턴 void

CanBeExchanged() 공개 메소드

public CanBeExchanged ( ExchangeTypeEnum exchangeType ) : bool
exchangeType ExchangeTypeEnum
리턴 bool

CanBeMoved() 공개 메소드

public CanBeMoved ( ) : bool
리턴 bool

CanGameAction() 공개 메소드

public CanGameAction ( GameActionTypeEnum actionType ) : bool
actionType GameActionTypeEnum
리턴 bool

ChangeDirection() 공개 메소드

public ChangeDirection ( int direction ) : void
direction int
리턴 void

DispatchChatMessage() 공개 메소드

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

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EmoteUse() 공개 메소드

public EmoteUse ( int emoteId, int timeout = 360000 ) : void
emoteId int
timeout int
리턴 void

FireEvent() 공개 메소드

public FireEvent ( EntityEventType ev, object parameters ) : void
ev EntityEventType
parameters object
리턴 void

HasEntityRestriction() 공개 메소드

public HasEntityRestriction ( EntityRestrictionEnum restriction ) : bool
restriction EntityRestrictionEnum
리턴 bool

HasGameAction() 공개 메소드

public HasGameAction ( GameActionTypeEnum actionType ) : bool
actionType GameActionTypeEnum
리턴 bool

HasPlayerRestriction() 공개 메소드

public HasPlayerRestriction ( PlayerRestrictionEnum restriction ) : bool
restriction PlayerRestrictionEnum
리턴 bool

Move() 공개 메소드

public Move ( MovementPath path ) : void
path MovementPath
리턴 void

RemoveEntityListener() 공개 메소드

public RemoveEntityListener ( IEntityListener listener ) : void
listener IEntityListener
리턴 void

SerializeAs_GameMapInformations() 공개 추상적인 메소드

public abstract SerializeAs_GameMapInformations ( OperatorEnum operation, StringBuilder message ) : void
operation OperatorEnum
message StringBuilder
리턴 void

SetChatChannel() 공개 메소드

public SetChatChannel ( ChatChannelEnum channelType, Func channel ) : void
channelType ChatChannelEnum
channel Func
리턴 void

SetEntityRestriction() 공개 메소드

public SetEntityRestriction ( EntityRestrictionEnum restriction, bool value ) : void
restriction EntityRestrictionEnum
value bool
리턴 void

SetMap() 공개 메소드

public SetMap ( MapInstance map ) : void
map Codebreak.Service.World.Game.Map.MapInstance
리턴 void

SetPlayerRestriction() 공개 메소드

public SetPlayerRestriction ( PlayerRestrictionEnum restriction, bool value ) : void
restriction PlayerRestrictionEnum
value bool
리턴 void

StartAction() 공개 메소드

public StartAction ( GameActionTypeEnum actionType ) : void
actionType GameActionTypeEnum
리턴 void

StopAction() 공개 메소드

public StopAction ( GameActionTypeEnum actionType ) : void
actionType GameActionTypeEnum
리턴 void

Teleport() 공개 메소드

public Teleport ( int nextMap, int nextCell ) : void
nextMap int
nextCell int
리턴 void