public RenewableResource(RawNode initNode, RenewableResourceCategories categories, RenewableResourceDescription description, IContext context) : base(initNode, categories, description, context) { innerAmount = initNode.GetInt("amount"); lastUpdateTime = TimeUtil.GetUnixTime(initNode.GetLong("ts")); }