Answers for "format c++ discord"

C++
0

format c++ discord

```c++
// Code here
```
Posted by: Guest on January-04-2021
0

format c++ discord

int GetTribePoints(int Tribe_Id) override
	{
		int TribePoints;
		try
		{
			TribeDatabase << "SELECT TribePoints FROM TribePoints WHERE TribeId = ?;" << Tribe_Id >> TribePoints;
			return TribePoints;
		}
		catch (const sqlite::sqlite_exception& exception)
		{
			Log::GetLog()->error("({} {}) Unexpected DB error 10{}", __FILE__, __FUNCTION__, exception.what());
		}
	}

	bool SetTribePoints(int Tribe_Id,  int TribePoints) override
	{
		try
		{
			TribeDatabase << "UPDATE TribePoints SET TribePoints = ? WHERE TribeId = ?;" << TribePoints << Tribe_Id;
			return true;
		}
		catch (const sqlite::sqlite_exception& exception)
		{
			Log::GetLog()->error("({} {}) Unexpected DB error 11{}", __FILE__, __FUNCTION__, exception.what());
			return false;
		}
	}
Posted by: Guest on July-06-2021

Browse Popular Code Answers by Language