C# Class Zepheus.Zone.Game.ZoneCharacter

Inheritance: Zepheus.Zone.Game.MapObject
Show file Open project: Zepheus/Zepheus_Fiesta Class Usage Examples

Private Properties

Property Type Description
LoadItems void
OnDropResponse void
UseOneItemStack void

Public Methods

Method Description
Attack ( Zepheus.Zone.Game.MapObject victim ) : void
AttackSkill ( ushort skillid, Zepheus.Zone.Game.MapObject victim ) : void
AttackSkillAoE ( ushort skillid, uint x, uint y ) : void
AttackStop ( ) : void
Ban ( ) : void
Broadcast ( Packet packet, List sectors, bool toself = false ) : void
Broadcast ( Packet packet, bool toself = false ) : void
ChangeMap ( ushort ID, int x = -1, int y = -1, short instance = -1 ) : void
ChatCheck ( ) : int
CheckSpamBlock ( ) : int
Damage ( MapObject bully, uint amount, bool isSP = false ) : void
Damage ( uint value ) : void
DropItem ( Item item ) : void
DropItemRequest ( sbyte slot ) : void
DropMessage ( string text ) : void
EquipItem ( Equip equip ) : void
GetAim ( bool buffed = false ) : int
GetEquippedBySlot ( ItemSlot slot ) : ushort
GetEvasion ( bool buffed = false ) : int
GetExtraDex ( ) : int
GetExtraEnd ( ) : int
GetExtraInt ( ) : int
GetExtraSpr ( ) : int
GetExtraStr ( ) : int
GetFreeInventorySlot ( sbyte &value ) : bool
GetMagicDamage ( bool buffed = false ) : int
GetMagicDefense ( bool buffed = false ) : int
GetMaxHPBuff ( ) : int
GetMaxSPBuff ( ) : int
GetUpgradesBySlot ( ItemSlot slot ) : byte
GetWeaponDamage ( bool buffed = false ) : int
GetWeaponDefense ( bool buffed = false ) : int
GiveEXP ( uint amount, ushort mobid = 0xFFFF ) : void
GiveItem ( ushort id, byte amount = 1 ) : InventoryStatus
Heal ( ) : void
HealHP ( uint value ) : void
HealSP ( uint value ) : void
LevelUP ( ushort mobid = 0xFFFF, byte levels = 1 ) : void
LootItem ( ushort id ) : void
Move ( int oldx, int oldy, int newx, int newy, bool walk, bool stop ) : void
MoveItem ( sbyte fromslot, sbyte toslot ) : void
RemoveFromMap ( ) : bool
Rest ( bool pStart ) : void
Save ( ) : bool
SendGetIngameChunk ( ) : void
SetHP ( uint value ) : void
SetMap ( ushort MapID, short instance = -1 ) : void
SetSP ( uint value ) : void
ShoutCheck ( ) : int
Spawn ( ) : Packet
Store ( bool pStart, bool pSells = true, ushort pItemID, string pName = "" ) : void
Teleport ( int newx, int newy ) : void
ToString ( ) : string
UnequipItem ( ItemSlot source, sbyte destination ) : void
Update ( DateTime date ) : void
UpgradeItem ( sbyte eqpslot, sbyte stoneslot ) : void
UseItem ( sbyte slot ) : void
WriteCharacterDisplay ( Packet packet ) : void
WriteDetailedInfo ( Packet pPacket ) : void
WriteDetailedInfoExtra ( Packet packet, bool levelUP = false ) : void
WriteEquipment ( Packet packet ) : void
WriteLook ( Packet packet ) : void
WriteRefinement ( Packet packet ) : void
WriteUpdateStats ( Packet packet ) : void
ZoneCharacter ( string name, bool loadequips = true ) : System

Private Methods

Method Description
LoadItems ( ) : void
OnDropResponse ( ZoneCharacter character, byte answer ) : void
UseOneItemStack ( Item item ) : void

Method Details

Attack() public method

public Attack ( Zepheus.Zone.Game.MapObject victim ) : void
victim Zepheus.Zone.Game.MapObject
return void

AttackSkill() public method

public AttackSkill ( ushort skillid, Zepheus.Zone.Game.MapObject victim ) : void
skillid ushort
victim Zepheus.Zone.Game.MapObject
return void

AttackSkillAoE() public method

public AttackSkillAoE ( ushort skillid, uint x, uint y ) : void
skillid ushort
x uint
y uint
return void

AttackStop() public method

public AttackStop ( ) : void
return void

Ban() public method

public Ban ( ) : void
return void

Broadcast() public method

public Broadcast ( Packet packet, List sectors, bool toself = false ) : void
packet Zepheus.FiestaLib.Networking.Packet
sectors List
toself bool
return void

Broadcast() public method

public Broadcast ( Packet packet, bool toself = false ) : void
packet Zepheus.FiestaLib.Networking.Packet
toself bool
return void

ChangeMap() public method

public ChangeMap ( ushort ID, int x = -1, int y = -1, short instance = -1 ) : void
ID ushort
x int
y int
instance short
return void

ChatCheck() public method

public ChatCheck ( ) : int
return int

CheckSpamBlock() public method

public CheckSpamBlock ( ) : int
return int

Damage() public method

public Damage ( MapObject bully, uint amount, bool isSP = false ) : void
bully MapObject
amount uint
isSP bool
return void

Damage() public method

public Damage ( uint value ) : void
value uint
return void

DropItem() public method

public DropItem ( Item item ) : void
item Item
return void

DropItemRequest() public method

public DropItemRequest ( sbyte slot ) : void
slot sbyte
return void

DropMessage() public method

public DropMessage ( string text ) : void
text string
return void

EquipItem() public method

public EquipItem ( Equip equip ) : void
equip Equip
return void

GetAim() public method

public GetAim ( bool buffed = false ) : int
buffed bool
return int

GetEquippedBySlot() public method

public GetEquippedBySlot ( ItemSlot slot ) : ushort
slot ItemSlot
return ushort

GetEvasion() public method

public GetEvasion ( bool buffed = false ) : int
buffed bool
return int

GetExtraDex() public method

public GetExtraDex ( ) : int
return int

GetExtraEnd() public method

public GetExtraEnd ( ) : int
return int

GetExtraInt() public method

public GetExtraInt ( ) : int
return int

GetExtraSpr() public method

public GetExtraSpr ( ) : int
return int

GetExtraStr() public method

public GetExtraStr ( ) : int
return int

GetFreeInventorySlot() public method

public GetFreeInventorySlot ( sbyte &value ) : bool
value sbyte
return bool

GetMagicDamage() public method

public GetMagicDamage ( bool buffed = false ) : int
buffed bool
return int

GetMagicDefense() public method

public GetMagicDefense ( bool buffed = false ) : int
buffed bool
return int

GetMaxHPBuff() public method

public GetMaxHPBuff ( ) : int
return int

GetMaxSPBuff() public method

public GetMaxSPBuff ( ) : int
return int

GetUpgradesBySlot() public method

public GetUpgradesBySlot ( ItemSlot slot ) : byte
slot ItemSlot
return byte

GetWeaponDamage() public method

public GetWeaponDamage ( bool buffed = false ) : int
buffed bool
return int

GetWeaponDefense() public method

public GetWeaponDefense ( bool buffed = false ) : int
buffed bool
return int

GiveEXP() public method

public GiveEXP ( uint amount, ushort mobid = 0xFFFF ) : void
amount uint
mobid ushort
return void

GiveItem() public method

public GiveItem ( ushort id, byte amount = 1 ) : InventoryStatus
id ushort
amount byte
return InventoryStatus

Heal() public method

public Heal ( ) : void
return void

HealHP() public method

public HealHP ( uint value ) : void
value uint
return void

HealSP() public method

public HealSP ( uint value ) : void
value uint
return void

LevelUP() public method

public LevelUP ( ushort mobid = 0xFFFF, byte levels = 1 ) : void
mobid ushort
levels byte
return void

LootItem() public method

public LootItem ( ushort id ) : void
id ushort
return void

Move() public method

public Move ( int oldx, int oldy, int newx, int newy, bool walk, bool stop ) : void
oldx int
oldy int
newx int
newy int
walk bool
stop bool
return void

MoveItem() public method

public MoveItem ( sbyte fromslot, sbyte toslot ) : void
fromslot sbyte
toslot sbyte
return void

RemoveFromMap() public method

public RemoveFromMap ( ) : bool
return bool

Rest() public method

public Rest ( bool pStart ) : void
pStart bool
return void

Save() public method

public Save ( ) : bool
return bool

SendGetIngameChunk() public method

public SendGetIngameChunk ( ) : void
return void

SetHP() public method

public SetHP ( uint value ) : void
value uint
return void

SetMap() public method

public SetMap ( ushort MapID, short instance = -1 ) : void
MapID ushort
instance short
return void

SetSP() public method

public SetSP ( uint value ) : void
value uint
return void

ShoutCheck() public method

public ShoutCheck ( ) : int
return int

Spawn() public method

public Spawn ( ) : Packet
return Packet

Store() public method

public Store ( bool pStart, bool pSells = true, ushort pItemID, string pName = "" ) : void
pStart bool
pSells bool
pItemID ushort
pName string
return void

Teleport() public method

public Teleport ( int newx, int newy ) : void
newx int
newy int
return void

ToString() public method

public ToString ( ) : string
return string

UnequipItem() public method

public UnequipItem ( ItemSlot source, sbyte destination ) : void
source ItemSlot
destination sbyte
return void

Update() public method

public Update ( DateTime date ) : void
date DateTime
return void

UpgradeItem() public method

public UpgradeItem ( sbyte eqpslot, sbyte stoneslot ) : void
eqpslot sbyte
stoneslot sbyte
return void

UseItem() public method

public UseItem ( sbyte slot ) : void
slot sbyte
return void

WriteCharacterDisplay() public method

public WriteCharacterDisplay ( Packet packet ) : void
packet Packet
return void

WriteDetailedInfo() public method

public WriteDetailedInfo ( Packet pPacket ) : void
pPacket Packet
return void

WriteDetailedInfoExtra() public method

public WriteDetailedInfoExtra ( Packet packet, bool levelUP = false ) : void
packet Packet
levelUP bool
return void

WriteEquipment() public method

public WriteEquipment ( Packet packet ) : void
packet Packet
return void

WriteLook() public method

public WriteLook ( Packet packet ) : void
packet Packet
return void

WriteRefinement() public method

public WriteRefinement ( Packet packet ) : void
packet Packet
return void

WriteUpdateStats() public method

public WriteUpdateStats ( Packet packet ) : void
packet Packet
return void

ZoneCharacter() public method

public ZoneCharacter ( string name, bool loadequips = true ) : System
name string
loadequips bool
return System