//------------------------------------------------------------------------------ // // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ using Bright.Serialization; using System.Collections.Generic; using System.Linq; using SimpleJSON; namespace cfg { public partial class TbEventSlapSpinach { public bool TryGetByItemID(int itemID,out EventSlapSpinach result) { result=DataList.FirstOrDefault(s => s.FishItemID == itemID); return result != null; } public bool IsSpinachItem(int itemID) { return DataList.Any(s => s.FishItemID == itemID); } } }