Property | Type | Description | |
---|---|---|---|
Char | |||
Party | Party.Party | ||
Pc | PC | ||
RewardChoice | List |
||
RewardFunc | Delegate | ||
TradeItems | byte>.Dictionary | ||
TradeMoney | int | ||
initialized | bool | ||
lastHeartbeat | long | ||
map | Map | ||
state | SESSION_STATE |
Method | Description | |
---|---|---|
CheckWeaponEXP ( ) : void | ||
Disconnect ( ) : void | ||
MapClient ( Socket mSock, Packet>.Dictionary |
||
MapClient ( uint session ) : System | ||
OnCorpseCleared ( Packets p ) : void | ||
OnDeleteItem ( SagaMap p ) : void | ||
OnDisconnect ( ) : void | ||
OnDiveDown ( ) : void |
The character is going underwater, activate the oxygen task.
|
|
OnDiveUp ( ) : void | ||
OnDropSelect ( SagaMap p ) : void | ||
OnGetAttribute ( SagaMap p ) : void | ||
OnGetCancel ( SagaMap p ) : void | ||
OnGetHateInfo ( SagaMap p ) : void | ||
OnHeartbeat ( Packets p ) : void | ||
OnItemToggle ( SagaMap p ) : void | ||
OnJobChange ( Packets p ) : void |
Call the job change method from the PC class. Pc.OnJobChange
|
|
OnJobChangeCosts ( SagaMap p ) : void | ||
OnLeaveNPC ( Packets p ) : void | ||
OnLogout ( SagaMap p ) : void | ||
OnMarketBuyItem ( Packets p ) : void | ||
OnMarketDeleteItem ( Packets p ) : void | ||
OnMarketGetComment ( Packets p ) : void | ||
OnMarketGetMessage ( Packets p ) : void | ||
OnMarketOwnItem ( Packets p ) : void | ||
OnMarketRegister ( Packets p ) : void | ||
OnMarketSearch ( Packets p ) : void | ||
OnMarketUpdateComment ( Packets p ) : void | ||
OnMoveItem ( SagaMap p ) : void | ||
OnMoveWeapon ( SagaMap p ) : void | ||
OnNPCChat ( Npc npc ) : void | ||
OnNPCChat ( Packets p ) : void | ||
OnNPCDropList ( SagaMap p ) : void | ||
OnNPCMenu ( Packets p ) : void | ||
OnNPCShopBuy ( SagaMap p ) : void | ||
OnNPCShopSell ( SagaMap p ) : void | ||
OnPartyAccept ( SagaMap p ) : void | ||
OnPartyInvite ( SagaMap p ) : void |
Will be called if a player sends a party invite packet
|
|
OnPartyInviteCancel ( SagaMap p ) : void | ||
OnPartyKick ( SagaMap p ) : void | ||
OnPartyMode ( SagaMap p ) : void | ||
OnPartyQuit ( SagaMap p ) : void | ||
OnPersonalRequest ( Packets p ) : void | ||
OnQuestCompleted ( Packets p ) : void | ||
OnQuestConfirm ( Packets p ) : void | ||
OnQuestConfirmCancel ( Packets p ) : void | ||
OnQuestRewardChoice ( Packets p ) : void | ||
OnRemoveSpecialSkill ( Packets p ) : void | ||
OnRepaireEquip ( Packets p ) : void | ||
OnSelectButton ( SagaMap p ) : void | ||
OnSendChangeState ( SagaMap p ) : void |
Update the state of the client and send to all other actors
|
|
OnSendChat ( SagaMap p ) : void |
Receive the chat from the client, check if its an AtCommand (GM command). Send the output to all the clients in the area.
|
|
OnSendDemandMapID ( SagaMap p ) : void |
Receive the packet from the client that demands for the mapid.
|
|
OnSendFall ( Packets p ) : void |
Receive the fall from the client. Damage the client for an 8th of the units fallen? Send the client the result of the fall.
|
|
OnSendGUID ( SagaMap p ) : void | ||
OnSendHomePoint ( SagaMap p ) : void |
If the client is dead, send back to the home point. If the type is 1, send back to a save point at the Cattleya's co=ords. Remove some durability from the items as a dying penalty.
|
|
OnSendIdentity ( SagaMap p ) : void |
Receive the identity of the client.
|
|
OnSendJump ( SagaMap p ) : void |
Receive the client jumping. If the client was sitting, remove the Regeneration bonus. Broardcast the jump to all actors.
|
|
OnSendKey ( SagaMap p ) : void | ||
OnSendMapLoaded ( SagaMap p ) : void |
Get a packet from the client indicated it's done loading.
|
|
OnSendMoveStart ( SagaMap p ) : void |
Receive the movement vector from the client. Standard running speed is 500, or 250 for running backwards.
|
|
OnSendMoveStop ( SagaMap p ) : void |
Receive the signal that a character stopped moving.
|
|
OnSendUsePortal ( SagaMap p ) : void |
Receive a portal usage from the client, check the portal in the PortalManager Raise a warning if the portal isn't found. PortalManager.GetPortal
|
|
OnSendWhisper ( SagaMap p ) : void |
Receive the whisper from the client. Check if the recipient is online from the MapClientManager Send a whisper to the other player.
|
|
OnSendYaw ( SagaMap p ) : void |
Receive the yaw from the client when the user rotates the screen. Should be used to calculate the direction to the monster for attacking
|
|
OnSetSpecialSkill ( Packets p ) : void | ||
OnSkillAddSpecial ( SagaMap p ) : void | ||
OnSkillCast ( Packets p ) : void | ||
OnSkillCastCancel ( Packets p ) : void | ||
OnSkillToggle ( Packets p ) : void | ||
OnSortInvList ( SagaMap p ) : void | ||
OnStatUpdate ( SagaMap p ) : void |
Receive the stat update from the client. The input is checked in the PC class to make sure the client doesn't try and add points they don't have. Send all the updates to the client. Pc.OnStatUpdate
|
|
OnSupplyExchange ( Packets p ) : void | ||
OnSupplySelect ( Packets p ) : void | ||
OnTrade ( SagaMap p ) : void | ||
OnTradeCancel ( SagaMap p ) : void | ||
OnTradeConfirm ( SagaMap p ) : void | ||
OnTradeItem ( SagaMap p ) : void | ||
OnTradeListConfirm ( SagaMap p ) : void | ||
OnTradeMoney ( SagaMap p ) : void | ||
OnTradeOther ( SagaMap p ) : void | ||
OnUseDye ( SagaMap p ) : void | ||
OnUseMap ( Packets p ) : void | ||
OnUseOffensiveSkill ( Packets p ) : void | ||
OnUsePromiseStone ( byte map, float x, float y, float z ) : void | ||
OnWantQuestGroupList ( SagaMap p ) : void |
07 01 Receive the quest group list from the client.
|
|
OnWantSetSpeciality ( Packets p ) : void | ||
OnWarp ( Packets p ) : void | ||
OnWeaponAuge ( SagaMap p ) : void | ||
OnWeaponSwitch ( SagaMap p ) : void | ||
OnWeaponUpgrade ( Packets p ) : void | ||
OxygenTakeDamage ( ) : void |
When oxygen runs out, damage the char for 10% of health per second.
|
|
RequestHeartbeat ( ) : void | ||
ResetTradeItems ( byte type ) : void | ||
ResetTradeStatus ( byte type ) : void | ||
SendBattleStatus ( ) : void |
Update the Battle Status in client's equipment window
|
|
SendCharStatus ( ushort visiblefield ) : void |
Send all the status to the client. Send: Job, EXP, HP/SP, LC/LP and basic info on all other party members
|
|
SendEquipList ( ) : void |
Get a list of the equipment (which is equiped, not just the items).
|
|
SendExtStats ( ) : void |
Send the stats to the client TODO: Add stat bonuses for jobs.
|
|
SendInventoryList ( ) : void |
Get a list of the inventory items and send it to the client.
|
|
SendMaxInvSlots ( ) : void |
Send invetory slot count. Default value 254
|
|
SendMessage ( string from, string text ) : void |
Send a message to the client
|
|
SendMessage ( string from, string text, Packets type ) : void |
Send a message to the client
|
|
SendPartyInviteResult ( Packets result ) : void | ||
SendQuestInfo ( ) : void |
Send the Quest information of a client
|
|
SendShortcutsList ( ) : void |
Send a shortcut list to the client aka 'Quick Page'.
|
|
SendSkillEffect ( uint addition, SkillEffects effect, uint amount ) : void | ||
SendSkillList ( ) : void |
Send the skill list to the client. Skills sorted by Battle, Living and Special.
|
|
SendTradeResult ( TradeResults result ) : void | ||
SendTradeStatus ( uint targetid, TradeResults status ) : void | ||
SendTradeStatusOther ( uint targetid, TradeResults status ) : void | ||
SendWeaponList ( ) : void |
Send a list of weapons currently in use
|
|
SendZeny ( ) : void |
Update the Zeny of the client. One value for Zeny and Rufi. '12000' = 1 Zeni 2000 Rufi.
|
|
ToString ( ) : string | ||
UpdateSkillEXP ( uint id, uint exp ) : void |
Add EXP to a skill and update the client.
|
|
UpdateWeaponInfo ( Packets type, uint value ) : void |
Make an update to the weapon
|
Method | Description | |
---|---|---|
CheckMarketItemValid ( List |
check if a marketplace item is still valid
|
public MapClient ( Socket mSock, Packet>.Dictionary |
||
mSock | Socket | |
mCommandTable | Packet>.Dictionary | |
session | uint | |
return | System |
public OnMarketDeleteItem ( Packets p ) : void | ||
p | Packets | |
return | void |
public OnMarketGetComment ( Packets p ) : void | ||
p | Packets | |
return | void |
public OnMarketGetMessage ( Packets p ) : void | ||
p | Packets | |
return | void |
public OnMarketUpdateComment ( Packets p ) : void | ||
p | Packets | |
return | void |
public OnPartyInvite ( SagaMap p ) : void | ||
p | SagaMap | packet instance containing the to be invited player's name |
return | void |
public OnPartyInviteCancel ( SagaMap p ) : void | ||
p | SagaMap | |
return | void |
public OnPersonalRequest ( Packets p ) : void | ||
p | Packets | |
return | void |
public OnQuestConfirmCancel ( Packets p ) : void | ||
p | Packets | |
return | void |
public OnQuestRewardChoice ( Packets p ) : void | ||
p | Packets | |
return | void |
public OnRemoveSpecialSkill ( Packets p ) : void | ||
p | Packets | |
return | void |
public OnSendChangeState ( SagaMap p ) : void | ||
p | SagaMap | |
return | void |
public OnSendDemandMapID ( SagaMap p ) : void | ||
p | SagaMap | |
return | void |
public OnSetSpecialSkill ( Packets p ) : void | ||
p | Packets | |
return | void |
public OnSkillAddSpecial ( SagaMap p ) : void | ||
p | SagaMap | |
return | void |
public OnSkillCastCancel ( Packets p ) : void | ||
p | Packets | |
return | void |
public OnTradeListConfirm ( SagaMap p ) : void | ||
p | SagaMap | |
return | void |
public OnUseOffensiveSkill ( Packets p ) : void | ||
p | Packets | |
return | void |
public OnUsePromiseStone ( byte map, float x, float y, float z ) : void | ||
map | byte | |
x | float | |
y | float | |
z | float | |
return | void |
public OnWantQuestGroupList ( SagaMap p ) : void | ||
p | SagaMap | |
return | void |
public OnWantSetSpeciality ( Packets p ) : void | ||
p | Packets | |
return | void |
public SendCharStatus ( ushort visiblefield ) : void | ||
visiblefield | ushort | 0 for none, 4 for jexp, 32 for cexp, 36 for both |
return | void |
public SendMessage ( string from, string text ) : void | ||
from | string | Who to display the message from |
text | string | The text to send to the client |
return | void |
public SendMessage ( string from, string text, Packets type ) : void | ||
from | string | Who to display the message from |
text | string | The text to send to the client |
type | Packets | Type: NORMAL, PARTY, YELL, SYSTEM_MESSAGE, CHANEL, SYSTEM_MESSAGE_RED |
return | void |
public SendPartyInviteResult ( Packets result ) : void | ||
result | Packets | |
return | void |
public SendSkillEffect ( uint addition, SkillEffects effect, uint amount ) : void | ||
addition | uint | |
effect | SkillEffects | |
amount | uint | |
return | void |
public SendTradeResult ( TradeResults result ) : void | ||
result | TradeResults | |
return | void |
public SendTradeStatus ( uint targetid, TradeResults status ) : void | ||
targetid | uint | |
status | TradeResults | |
return | void |
public SendTradeStatusOther ( uint targetid, TradeResults status ) : void | ||
targetid | uint | |
status | TradeResults | |
return | void |
public UpdateSkillEXP ( uint id, uint exp ) : void | ||
id | uint | Skill Id to update |
exp | uint | Ammount of EXP |
return | void |
public UpdateWeaponInfo ( Packets type, uint value ) : void | ||
type | Packets | Level, EXP, Durability |
value | uint | value to add |
return | void |