using UnityEngine; namespace Funique { /// /// Streaming video detail information
/// ------------------------------------------------
/// 串流影片詳細資料結構 ///
[System.Serializable] public struct StreamingVideoInfo { public string video_name; public string video_type; public string video_intro; public float video_duration; public string video_scale; public string video_bitrate; public string video_platform; public string video_link; public string video_tag; public string thumbnail_link; public string is_public; public GameObject BtnObj { set; get; } public override bool Equals(object obj) { return base.Equals(obj); } public static bool operator ==(StreamingVideoInfo a, StreamingVideoInfo b) { return a.video_name == b.video_name && a.video_type == b.video_type && a.video_intro == b.video_intro; } public static bool operator !=(StreamingVideoInfo a, StreamingVideoInfo b) { return a.video_name != b.video_name || a.video_type != b.video_type || a.video_intro != b.video_intro; } } }