public override string SetLabel()
        {
            string labelAdd = invAction.ToString();

            if (gameObject != null)
            {
                labelAdd += " " + gameObject.name;
            }
            return(labelAdd);
        }
        public override string SetLabel()
        {
            string labelAdd = " (" + invAction.ToString();

            if (gameObject)
            {
                labelAdd += " " + gameObject.name;
            }
            labelAdd += ")";
            return(labelAdd);
        }
 public void Add(long EntityId, long?BlockId, uint ItemId, InvType type, InvAction action, MyFixedPoint Amount, string TypeId, string SubtypeId)
 {
     hasData = true;
     query.Append($@"('{EntityId}', '{((BlockId.HasValue) ? BlockId.Value.ToString() : "NULL")}', {ItemId}, '{type.ToString()}', '{action.ToString()}', {Amount}, '{TypeId}', '{SubtypeId}', '{Tools.DateTimeFormated}'),");
 }