void Start() { if (CollectCoin == null) { CollectCoin = new CollectEvent(); } }
static internal int WriteCollectEvent(CollectEvent o) { DataOperation operation = DataOperation.Parse("writeFSMCollectEvent", o.Id, o.EventTypeId, o.FinancialAccountId, o.EventTime, o.OnEventBalance, o.PromisedAmount, o.PromisedDate, o.EventNotes, o.CollectorId, o.ResolutionTypeId, o.ResolutionDate, o.ResolutionNotes, o.AccountOldStatus, o.AccountNewStatus, o.ClosedById, o.PostingTime, o.PostedById, o.Status); return DataWriter.Execute(operation); }
public void RegisterCollectEvent(CollectEvent e) { m_CollectEvents += e; }
void onCollect(CollectEvent e) { _value++; _money.text = _value.ToString(); _moneyBack.text = _value.ToString(); }