C# Class FinalServerSolution.Cars

显示文件 Open project: Vitaleks/NFS-World-Server

Public Methods

Method Description
buyCar ( string packet, int personaId, int userId, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void
getOtherPersonasCars ( int personaId, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void
getPersonaDefaultCar ( int personaId, int userId, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void
getPersonasCars ( int personaId, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void
repair ( int userId, int personaId, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void
sellCar ( int carId, int personaId, int userId, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void
updatePersonaCar ( int personaId, int userId, string packet, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void
updatePersonaCar_car ( int personaId, int userId, string packet, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void
updatePersonaDefaultCar ( int carId, int personaId, int userId, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void

Method Details

buyCar() public static method

public static buyCar ( string packet, int personaId, int userId, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void
packet string
personaId int
userId int
connection MySql.Data.MySqlClient.MySqlConnection
outPacket string
isGoodResponse bool
return void

getOtherPersonasCars() public static method

public static getOtherPersonasCars ( int personaId, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void
personaId int
connection MySql.Data.MySqlClient.MySqlConnection
outPacket string
isGoodResponse bool
return void

getPersonaDefaultCar() public static method

public static getPersonaDefaultCar ( int personaId, int userId, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void
personaId int
userId int
connection MySql.Data.MySqlClient.MySqlConnection
outPacket string
isGoodResponse bool
return void

getPersonasCars() public static method

public static getPersonasCars ( int personaId, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void
personaId int
connection MySqlConnection
outPacket string
isGoodResponse bool
return void

repair() public static method

public static repair ( int userId, int personaId, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void
userId int
personaId int
connection MySqlConnection
outPacket string
isGoodResponse bool
return void

sellCar() public static method

public static sellCar ( int carId, int personaId, int userId, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void
carId int
personaId int
userId int
connection MySqlConnection
outPacket string
isGoodResponse bool
return void

updatePersonaCar() public static method

public static updatePersonaCar ( int personaId, int userId, string packet, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void
personaId int
userId int
packet string
connection MySqlConnection
outPacket string
isGoodResponse bool
return void

updatePersonaCar_car() public static method

public static updatePersonaCar_car ( int personaId, int userId, string packet, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void
personaId int
userId int
packet string
connection MySqlConnection
outPacket string
isGoodResponse bool
return void

updatePersonaDefaultCar() public static method

public static updatePersonaDefaultCar ( int carId, int personaId, int userId, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void
carId int
personaId int
userId int
connection MySqlConnection
outPacket string
isGoodResponse bool
return void