C# Класс MUDServer.EntityBase

Наследование: IEntity, IDisposable
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_Description string
_Name string
_State string

Открытые методы

Метод Описание
Dispose ( ) : void
EntityBase ( Location location, string name ) : System
NotifyEvent ( EventType type, object evt ) : void
ToString ( ) : string

Защищенные методы

Метод Описание
AddEventHandler ( EventType type, EventHandler handler ) : void
DispatchEvent ( EventType type, object evt ) : IEnumerator
EventDispatchTask ( ) : IEnumerator
GetDefaultName ( ) : string
GetNewEvent ( ) : IFuture
InvokeEventHandlers ( EventType type, object evt, EventHandler handlers ) : IEnumerator
OnLocationChange ( Location oldLocation, Location newLocation ) : void
ShouldFilterNewEvent ( EventType type, object evt ) : bool
ThinkTask ( ) : IEnumerator

Описание методов

AddEventHandler() защищенный Метод

protected AddEventHandler ( EventType type, EventHandler handler ) : void
type EventType
handler EventHandler
Результат void

DispatchEvent() защищенный Метод

protected DispatchEvent ( EventType type, object evt ) : IEnumerator
type EventType
evt object
Результат IEnumerator

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

EntityBase() публичный Метод

public EntityBase ( Location location, string name ) : System
location Location
name string
Результат System

EventDispatchTask() защищенный Метод

protected EventDispatchTask ( ) : IEnumerator
Результат IEnumerator

GetDefaultName() защищенный статический Метод

protected static GetDefaultName ( ) : string
Результат string

GetNewEvent() защищенный Метод

protected GetNewEvent ( ) : IFuture
Результат IFuture

InvokeEventHandlers() защищенный Метод

protected InvokeEventHandlers ( EventType type, object evt, EventHandler handlers ) : IEnumerator
type EventType
evt object
handlers EventHandler
Результат IEnumerator

NotifyEvent() публичный Метод

public NotifyEvent ( EventType type, object evt ) : void
type EventType
evt object
Результат void

OnLocationChange() защищенный Метод

protected OnLocationChange ( Location oldLocation, Location newLocation ) : void
oldLocation Location
newLocation Location
Результат void

ShouldFilterNewEvent() защищенный Метод

protected ShouldFilterNewEvent ( EventType type, object evt ) : bool
type EventType
evt object
Результат bool

ThinkTask() защищенный Метод

protected ThinkTask ( ) : IEnumerator
Результат IEnumerator

ToString() публичный Метод

public ToString ( ) : string
Результат string

Описание свойств

_Description защищенное свойство

protected string _Description
Результат string

_Name защищенное свойство

protected string _Name
Результат string

_State защищенное свойство

protected string _State
Результат string