C# Class invertika_game.Game.Character

Inheritance: Being
Show file Open project: Invertika/server Class Usage Examples

Public Properties

Property Type Description
mAccountLevel byte
mAttributes Attribute>.Dictionary
mExperience int>.Dictionary
mKillCount int>.Dictionary
mSpecials Special>.Dictionary
mStatusEffects int>.Dictionary

Public Methods

Method 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

Method 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 method

public Character ( ISL.Server.Network.MessageIn msg ) : System
msg ISL.Server.Network.MessageIn
return System

cancelTransaction() public method

public cancelTransaction ( ) : void
return void

clearSpecials() public method

public clearSpecials ( ) : void
return void

deserializeCharacterData() public method

public deserializeCharacterData ( ISL.Server.Network.MessageIn msg ) : void
msg ISL.Server.Network.MessageIn
return void

died() public method

public died ( ) : void
return void

disconnected() public method

public disconnected ( ) : void
return void

flagAttribute() public method

public flagAttribute ( int attr ) : void
attr int
return void

getClient() public method

public getClient ( ) : GameClient
return GameClient

getDatabaseID() public method

public getDatabaseID ( ) : int
return int

getWalkMask() public method

public getWalkMask ( ) : byte
return byte

giveSpecial() public method

public giveSpecial ( int id ) : void
id int
return void

incrementKillCount() public method

public incrementKillCount ( int monsterType ) : void
monsterType int
return void

levelup() public method

public levelup ( ) : void
return void

modifiedAllAttribute() public method

public modifiedAllAttribute ( ) : void
return void

perform() public method

public perform ( ) : void
return void

recalculateLevel() public method

public recalculateLevel ( ) : void
return void

receiveExperience() public method

public receiveExperience ( int skill, int experience, int optimalLevel ) : void
skill int
experience int
optimalLevel int
return void

respawn() public method

public respawn ( ) : void
return void

sendSpecialUpdate() public method

public sendSpecialUpdate ( ) : void
return void

sendStatus() public method

public sendStatus ( ) : void
return void

serializeCharacterData() public method

public serializeCharacterData ( MessageOut msg ) : void
msg MessageOut
return void

setAccountLevel() public method

public setAccountLevel ( int l ) : void
l int
return void

setBuySell() public method

public setBuySell ( BuySell t ) : void
t BuySell
return void

setCharacterPoints() public method

public setCharacterPoints ( int points ) : void
points int
return void

setClient() public method

public setClient ( GameClient c ) : void
c GameClient
return void

setCorrectionPoints() public method

public setCorrectionPoints ( int points ) : void
points int
return void

setExperience() public method

public setExperience ( int skill, int value ) : void
skill int
value int
return void

setHairColor() public method

public setHairColor ( int color ) : void
color int
return void

setHairStyle() public method

public setHairStyle ( int style ) : void
style int
return void

setKillCount() public method

public setKillCount ( int monsterId, int kills ) : void
monsterId int
kills int
return void

setLevel() public method

public setLevel ( int level ) : void
level int
return void

setMapId() public method

public setMapId ( int id ) : void
id int
return void

setSize() public method

public setSize ( int s ) : void
s int
return void

setTrading() public method

public setTrading ( Trade t ) : void
t Trade
return void

takeSpecial() public method

public takeSpecial ( int id ) : void
id int
return void

update() public method

public update ( ) : void
return void

updateDerivedAttributes() public method

public updateDerivedAttributes ( uint attr ) : void
attr uint
return void

useSpecial() public method

public useSpecial ( int id ) : void
id int
return void

Property Details

mAccountLevel public property

public byte mAccountLevel
return byte

mAttributes public property

public Dictionary mAttributes
return Attribute>.Dictionary

mExperience public property

public Dictionary mExperience
return int>.Dictionary

mKillCount public property

public Dictionary mKillCount
return int>.Dictionary

mSpecials public property

public Dictionary mSpecials
return Special>.Dictionary

mStatusEffects public property

public Dictionary mStatusEffects
return int>.Dictionary