C# Class FinalServerSolution.Cars

Afficher le fichier Open project: Vitaleks/NFS-World-Server

Méthodes publiques

Méthode 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 méthode

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
Résultat void

getOtherPersonasCars() public static méthode

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

getPersonaDefaultCar() public static méthode

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
Résultat void

getPersonasCars() public static méthode

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

repair() public static méthode

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

sellCar() public static méthode

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
Résultat void

updatePersonaCar() public static méthode

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
Résultat void

updatePersonaCar_car() public static méthode

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
Résultat void

updatePersonaDefaultCar() public static méthode

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
Résultat void