mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-16 08:25:20 +01:00
22 lines
403 B
C#
22 lines
403 B
C#
using System;
|
|
|
|
namespace MoleMole
|
|
{
|
|
[Serializable]
|
|
public class WeatherInfo
|
|
{
|
|
public float temperature;
|
|
|
|
public WeatherType weatherType;
|
|
|
|
public string extraInfo;
|
|
|
|
public DateTime infoTime;
|
|
|
|
public override string ToString()
|
|
{
|
|
return string.Format("[{0}] {1} ({2}) : {3}", weatherType, temperature.ToString(), infoTime.ToString(), (extraInfo != null) ? extraInfo : "<NULL>");
|
|
}
|
|
}
|
|
}
|