C# Class FinalServerSolution.Friends

Show file Open project: Vitaleks/NFS-World-Server Class Usage Examples

Public Methods

Method Description
addFriend ( int personaId, int userId, string friendName, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void
getFriendList ( int userId, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void
removeFriend ( int personaId, int userId, int friendPersonaId, MySqlConnection connection, string &outPacket, bool &isGoodResponse ) : void

Method Details

addFriend() public static method

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

getFriendList() public static method

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

removeFriend() public static method

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