C# Class MapServer.PtichManager

Mostra file Open project: dream-young-soul/soul Class Usage Examples

Public Methods

Method Description
AddPlayPtich ( int nPtichId, PlayerObject play ) : bool
BuyItem ( PlayerObject play, uint ptich_obj_id, uint item_id ) : void
BuyRemotePtichItem ( PlayerObject play, uint item_id ) : void
DeletePlayPtich ( PlayerObject play ) : void
GetBackItem ( PlayerObject play, uint item_id ) : void
GetPtichObjectTypeID ( int nPtichId ) : uint
GetRemotePtich ( PlayerObject play, int id = -1 ) : void
Instance ( ) : PtichManager
LookPtich ( PlayerObject play, uint ptich_obj_id ) : void
PtichHasPlay ( int nPtichId ) : bool
PtichManager ( ) : System
SellItem ( PlayerObject play, uint item_id, byte type, int price ) : void
ShutPtich ( PlayerObject play, bool bSendData = true ) : void

Private Methods

Method Description
GetRemotePtichId ( int ptich_id ) : int

Method Details

AddPlayPtich() public method

public AddPlayPtich ( int nPtichId, PlayerObject play ) : bool
nPtichId int
play PlayerObject
return bool

BuyItem() public method

public BuyItem ( PlayerObject play, uint ptich_obj_id, uint item_id ) : void
play PlayerObject
ptich_obj_id uint
item_id uint
return void

BuyRemotePtichItem() public method

public BuyRemotePtichItem ( PlayerObject play, uint item_id ) : void
play PlayerObject
item_id uint
return void

DeletePlayPtich() public method

public DeletePlayPtich ( PlayerObject play ) : void
play PlayerObject
return void

GetBackItem() public method

public GetBackItem ( PlayerObject play, uint item_id ) : void
play PlayerObject
item_id uint
return void

GetPtichObjectTypeID() public method

public GetPtichObjectTypeID ( int nPtichId ) : uint
nPtichId int
return uint

GetRemotePtich() public method

public GetRemotePtich ( PlayerObject play, int id = -1 ) : void
play PlayerObject
id int
return void

Instance() public static method

public static Instance ( ) : PtichManager
return PtichManager

LookPtich() public method

public LookPtich ( PlayerObject play, uint ptich_obj_id ) : void
play PlayerObject
ptich_obj_id uint
return void

PtichHasPlay() public method

public PtichHasPlay ( int nPtichId ) : bool
nPtichId int
return bool

PtichManager() public method

public PtichManager ( ) : System
return System

SellItem() public method

public SellItem ( PlayerObject play, uint item_id, byte type, int price ) : void
play PlayerObject
item_id uint
type byte
price int
return void

ShutPtich() public method

public ShutPtich ( PlayerObject play, bool bSendData = true ) : void
play PlayerObject
bSendData bool
return void