C# Класс Server.Items.Corpse

Наследование: Server.Items.Container, ICarvable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
InstancedCorpseTime System.TimeSpan
MonsterLootRightSacrifice System.TimeSpan
m_Forensicist string

Private Properties

Свойство Тип Описание
AssignInstancedLoot void

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

Метод Описание
AddCarvedItem ( Item carved, Server.Mobile carver ) : void
AddNameProperty ( ObjectPropertyList list ) : void
BeginDecay ( System.TimeSpan delay ) : void
CanLoot ( Server.Mobile from ) : bool
Carve ( Server.Mobile from, Item item ) : void
CheckContentDisplay ( Server.Mobile from ) : bool
CheckItemUse ( Server.Mobile from, Item item ) : bool
CheckLift ( Server.Mobile from, Item item, LRReason &reject ) : bool
CheckLoot ( Server.Mobile from ) : bool
Corpse ( Server.Mobile owner, HairInfo hair, FacialHairInfo facialhair, List equipItems ) : System
Corpse ( Server.Mobile owner, List equipItems ) : System
Corpse ( Server.Serial serial ) : System
Deserialize ( Server.GenericReader reader ) : void
DevourCorpse ( ) : bool
GetCorpseName ( Server.Mobile m ) : string
GetRestoreInfo ( Item item, Server.Point3D &loc ) : bool
Initialize ( ) : void
IsChildVisibleTo ( Server.Mobile m, Item child ) : bool
IsCriminalAction ( Server.Mobile from ) : bool
Mobile_CreateCorpseHandler ( Server.Mobile owner, HairInfo hair, FacialHairInfo facialhair, List initialContent, List equipItems ) : Server.Items.Container
OnAfterDelete ( ) : void
OnAosSingleClick ( Server.Mobile from ) : void
OnDoubleClick ( Server.Mobile from ) : void
OnItemLifted ( Server.Mobile from, Item item ) : void
OnItemUsed ( Server.Mobile from, Item item ) : void
OnSingleClick ( Server.Mobile from ) : void
Open ( Server.Mobile from, bool checkSelfLoot ) : void
SendInfoTo ( Server.Network.NetState state, bool sendOplPacket ) : void
Serialize ( Server.GenericWriter writer ) : void
SetRestoreInfo ( Item item, Server.Point3D loc ) : void
TurnToBones ( ) : void

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

Метод Описание
GetFlag ( CorpseFlag flag ) : bool
SetFlag ( CorpseFlag flag, bool on ) : void

Приватные методы

Метод Описание
AssignInstancedLoot ( ) : void

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

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

public AddCarvedItem ( Item carved, Server.Mobile carver ) : void
carved Item
carver Server.Mobile
Результат void

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

public AddNameProperty ( ObjectPropertyList list ) : void
list Server.ObjectPropertyList
Результат void

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

public BeginDecay ( System.TimeSpan delay ) : void
delay System.TimeSpan
Результат void

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

public CanLoot ( Server.Mobile from ) : bool
from Server.Mobile
Результат bool

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

public Carve ( Server.Mobile from, Item item ) : void
from Server.Mobile
item Item
Результат void

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

public CheckContentDisplay ( Server.Mobile from ) : bool
from Server.Mobile
Результат bool

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

public CheckItemUse ( Server.Mobile from, Item item ) : bool
from Server.Mobile
item Item
Результат bool

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

public CheckLift ( Server.Mobile from, Item item, LRReason &reject ) : bool
from Server.Mobile
item Item
reject LRReason
Результат bool

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

public CheckLoot ( Server.Mobile from ) : bool
from Server.Mobile
Результат bool

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

public Corpse ( Server.Mobile owner, HairInfo hair, FacialHairInfo facialhair, List equipItems ) : System
owner Server.Mobile
hair Server.HairInfo
facialhair Server.FacialHairInfo
equipItems List
Результат System

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

public Corpse ( Server.Mobile owner, List equipItems ) : System
owner Server.Mobile
equipItems List
Результат System

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

public Corpse ( Server.Serial serial ) : System
serial Server.Serial
Результат System

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

public Deserialize ( Server.GenericReader reader ) : void
reader Server.GenericReader
Результат void

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

public DevourCorpse ( ) : bool
Результат bool

GetCorpseName() публичный статический Метод

public static GetCorpseName ( Server.Mobile m ) : string
m Server.Mobile
Результат string

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

protected GetFlag ( CorpseFlag flag ) : bool
flag CorpseFlag
Результат bool

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

public GetRestoreInfo ( Item item, Server.Point3D &loc ) : bool
item Item
loc Server.Point3D
Результат bool

Initialize() публичный статический Метод

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

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

public IsChildVisibleTo ( Server.Mobile m, Item child ) : bool
m Server.Mobile
child Item
Результат bool

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

public IsCriminalAction ( Server.Mobile from ) : bool
from Server.Mobile
Результат bool

Mobile_CreateCorpseHandler() публичный статический Метод

public static Mobile_CreateCorpseHandler ( Server.Mobile owner, HairInfo hair, FacialHairInfo facialhair, List initialContent, List equipItems ) : Server.Items.Container
owner Server.Mobile
hair Server.HairInfo
facialhair Server.FacialHairInfo
initialContent List
equipItems List
Результат Server.Items.Container

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

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

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

public OnAosSingleClick ( Server.Mobile from ) : void
from Server.Mobile
Результат void

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

public OnDoubleClick ( Server.Mobile from ) : void
from Server.Mobile
Результат void

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

public OnItemLifted ( Server.Mobile from, Item item ) : void
from Server.Mobile
item Item
Результат void

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

public OnItemUsed ( Server.Mobile from, Item item ) : void
from Server.Mobile
item Item
Результат void

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

public OnSingleClick ( Server.Mobile from ) : void
from Server.Mobile
Результат void

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

public Open ( Server.Mobile from, bool checkSelfLoot ) : void
from Server.Mobile
checkSelfLoot bool
Результат void

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

public SendInfoTo ( Server.Network.NetState state, bool sendOplPacket ) : void
state Server.Network.NetState
sendOplPacket bool
Результат void

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

public Serialize ( Server.GenericWriter writer ) : void
writer Server.GenericWriter
Результат void

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

protected SetFlag ( CorpseFlag flag, bool on ) : void
flag CorpseFlag
on bool
Результат void

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

public SetRestoreInfo ( Item item, Server.Point3D loc ) : void
item Item
loc Server.Point3D
Результат void

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

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

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

InstancedCorpseTime публичное статическое свойство

public static TimeSpan,System InstancedCorpseTime
Результат System.TimeSpan

MonsterLootRightSacrifice публичное статическое свойство

public static TimeSpan,System MonsterLootRightSacrifice
Результат System.TimeSpan

m_Forensicist публичное свойство

public string m_Forensicist
Результат string