private InsertAdmiralRecord ( long rpTimestamp, int rpExperience ) : void | ||
rpTimestamp | long | |
rpExperience | int | |
return | void |
void InsertAdmiralRecord(long rpTimestamp, int rpExperience)
{
using (var rCommand = Connection.CreateCommand())
{
rCommand.CommandText = "INSERT INTO admiral_experience(time, experience) VALUES(@time, @experience);";
rCommand.Parameters.AddWithValue("@time", rpTimestamp);
rCommand.Parameters.AddWithValue("@experience", rpExperience);
rCommand.ExecuteNonQuery();
}
}
void InsertShipExperience(long rpTimestamp, List<Ship> rpShips)