C# Class OpenNos.Handler.NpcPacketHandler

Inheritance: IPacketHandler
Exibir arquivo Open project: OpenNos/OpenNos

Public Methods

Method Description
BuyShop ( BuyPacket buyPacket ) : void
NpcPacketHandler ( ClientSession session ) : System

Private Methods

Method Description
BuyValidate ( ClientSession clientSession, MapShop>.KeyValuePair shop, short slot, byte amount ) : bool
CreateShop ( string packet ) : void
LoadShopItem ( long owner, MapShop>.KeyValuePair shop ) : void
NpcRunFunction ( string packet ) : void
Pdtse ( string packet ) : void
SellShop ( string packet ) : void
Shopping ( string packet ) : void
ShowShop ( string packet ) : void

Method Details

BuyShop() public method

public BuyShop ( BuyPacket buyPacket ) : void
buyPacket OpenNos.GameObject.BuyPacket
return void

NpcPacketHandler() public method

public NpcPacketHandler ( ClientSession session ) : System
session OpenNos.GameObject.ClientSession
return System