using HK; using UnityEngine; using ZGame; namespace Runtime { public class AddCommodityToShoppingCartEventArgs : GameEventArgs { public static readonly int EventId = typeof(AddCommodityToShoppingCartEventArgs).GetHashCode(); public override int Id => EventId; public Texture2D texture2D { get; } public string productName { get; } public int price { get; } public AddCommodityToShoppingCartEventArgs(Texture2D texture2D, string productName, int price) { this.texture2D = texture2D; this.productName = productName; this.price = price; } } public class ClearShoppingCartEventArgs : GameEventArgs { public static readonly int EventId = typeof(ClearShoppingCartEventArgs).GetHashCode(); public override int Id => EventId; } }