C# Class invertika_game.Game.Character

Inheritance: Being
Afficher le fichier Open project: Invertika/server Class Usage Examples

Méthodes publiques

Свойство Type Description
mAccountLevel byte
mAttributes Attribute>.Dictionary
mExperience int>.Dictionary
mKillCount int>.Dictionary
mSpecials Special>.Dictionary
mStatusEffects int>.Dictionary

Méthodes publiques

Méthode Description
Character ( ISL.Server.Network.MessageIn msg ) : System
cancelTransaction ( ) : void
clearSpecials ( ) : void
deserializeCharacterData ( ISL.Server.Network.MessageIn msg ) : void
died ( ) : void
disconnected ( ) : void
flagAttribute ( int attr ) : void
getClient ( ) : GameClient
getDatabaseID ( ) : int
getWalkMask ( ) : byte
giveSpecial ( int id ) : void
incrementKillCount ( int monsterType ) : void
levelup ( ) : void
modifiedAllAttribute ( ) : void
perform ( ) : void
recalculateLevel ( ) : void
receiveExperience ( int skill, int experience, int optimalLevel ) : void
respawn ( ) : void
sendSpecialUpdate ( ) : void
sendStatus ( ) : void
serializeCharacterData ( MessageOut msg ) : void
setAccountLevel ( int l ) : void
setBuySell ( BuySell t ) : void
setCharacterPoints ( int points ) : void
setClient ( GameClient c ) : void
setCorrectionPoints ( int points ) : void
setExperience ( int skill, int value ) : void
setHairColor ( int color ) : void
setHairStyle ( int style ) : void
setKillCount ( int monsterId, int kills ) : void
setLevel ( int level ) : void
setMapId ( int id ) : void
setSize ( int s ) : void
setTrading ( Trade t ) : void
takeSpecial ( int id ) : void
update ( ) : void
updateDerivedAttributes ( uint attr ) : void
useSpecial ( int id ) : void

Private Methods

Méthode Description
expForLevel ( int level ) : int
getAccountLevel ( ) : int
getBuySell ( ) : invertika_game.Game.BuySell
getCharacterPoints ( ) : int
getCorrectionPoints ( ) : int
getExpGot ( System.Int64 skill ) : int
getExpNeeded ( System.Int64 skill ) : int
getHairColor ( ) : int
getHairStyle ( ) : int
getKillCount ( int monsterType ) : int
getKillCountSize ( ) : int
getLevel ( ) : int
getMapId ( ) : int
getPossessions ( ) : Possessions
getSkillSize ( ) : int
getStatusEffectSize ( ) : int
getTrading ( ) : Trade
levelForExp ( int exp ) : int
recalculateBaseAttribute ( uint attr ) : bool
useCharacterPoint ( Int64 attribute ) : AttribmodResponseCode
useCorrectionPoint ( Int64 attribute ) : AttribmodResponseCode

Method Details

Character() public méthode

public Character ( ISL.Server.Network.MessageIn msg ) : System
msg ISL.Server.Network.MessageIn
Résultat System

cancelTransaction() public méthode

public cancelTransaction ( ) : void
Résultat void

clearSpecials() public méthode

public clearSpecials ( ) : void
Résultat void

deserializeCharacterData() public méthode

public deserializeCharacterData ( ISL.Server.Network.MessageIn msg ) : void
msg ISL.Server.Network.MessageIn
Résultat void

died() public méthode

public died ( ) : void
Résultat void

disconnected() public méthode

public disconnected ( ) : void
Résultat void

flagAttribute() public méthode

public flagAttribute ( int attr ) : void
attr int
Résultat void

getClient() public méthode

public getClient ( ) : GameClient
Résultat GameClient

getDatabaseID() public méthode

public getDatabaseID ( ) : int
Résultat int

getWalkMask() public méthode

public getWalkMask ( ) : byte
Résultat byte

giveSpecial() public méthode

public giveSpecial ( int id ) : void
id int
Résultat void

incrementKillCount() public méthode

public incrementKillCount ( int monsterType ) : void
monsterType int
Résultat void

levelup() public méthode

public levelup ( ) : void
Résultat void

modifiedAllAttribute() public méthode

public modifiedAllAttribute ( ) : void
Résultat void

perform() public méthode

public perform ( ) : void
Résultat void

recalculateLevel() public méthode

public recalculateLevel ( ) : void
Résultat void

receiveExperience() public méthode

public receiveExperience ( int skill, int experience, int optimalLevel ) : void
skill int
experience int
optimalLevel int
Résultat void

respawn() public méthode

public respawn ( ) : void
Résultat void

sendSpecialUpdate() public méthode

public sendSpecialUpdate ( ) : void
Résultat void

sendStatus() public méthode

public sendStatus ( ) : void
Résultat void

serializeCharacterData() public méthode

public serializeCharacterData ( MessageOut msg ) : void
msg MessageOut
Résultat void

setAccountLevel() public méthode

public setAccountLevel ( int l ) : void
l int
Résultat void

setBuySell() public méthode

public setBuySell ( BuySell t ) : void
t BuySell
Résultat void

setCharacterPoints() public méthode

public setCharacterPoints ( int points ) : void
points int
Résultat void

setClient() public méthode

public setClient ( GameClient c ) : void
c GameClient
Résultat void

setCorrectionPoints() public méthode

public setCorrectionPoints ( int points ) : void
points int
Résultat void

setExperience() public méthode

public setExperience ( int skill, int value ) : void
skill int
value int
Résultat void

setHairColor() public méthode

public setHairColor ( int color ) : void
color int
Résultat void

setHairStyle() public méthode

public setHairStyle ( int style ) : void
style int
Résultat void

setKillCount() public méthode

public setKillCount ( int monsterId, int kills ) : void
monsterId int
kills int
Résultat void

setLevel() public méthode

public setLevel ( int level ) : void
level int
Résultat void

setMapId() public méthode

public setMapId ( int id ) : void
id int
Résultat void

setSize() public méthode

public setSize ( int s ) : void
s int
Résultat void

setTrading() public méthode

public setTrading ( Trade t ) : void
t Trade
Résultat void

takeSpecial() public méthode

public takeSpecial ( int id ) : void
id int
Résultat void

update() public méthode

public update ( ) : void
Résultat void

updateDerivedAttributes() public méthode

public updateDerivedAttributes ( uint attr ) : void
attr uint
Résultat void

useSpecial() public méthode

public useSpecial ( int id ) : void
id int
Résultat void

Property Details

mAccountLevel public_oe property

public byte mAccountLevel
Résultat byte

mAttributes public_oe property

public Dictionary mAttributes
Résultat Attribute>.Dictionary

mExperience public_oe property

public Dictionary mExperience
Résultat int>.Dictionary

mKillCount public_oe property

public Dictionary mKillCount
Résultat int>.Dictionary

mSpecials public_oe property

public Dictionary mSpecials
Résultat Special>.Dictionary

mStatusEffects public_oe property

public Dictionary mStatusEffects
Résultat int>.Dictionary