public void Clear() { this.content = string.Empty; this.ShowType = IntimacyRelationView.IntimacyTipsMgr.EShowType.None; this.state = COM_INTIMACY_STATE.COM_INTIMACY_STATE_NULL; this.name = string.Empty; }
public Ent(string content, IntimacyRelationView.IntimacyTipsMgr.EShowType showType, string name, COM_INTIMACY_STATE state = COM_INTIMACY_STATE.COM_INTIMACY_STATE_NULL) { this.content = content; this.ShowType = showType; this.name = name; this.state = state; }
private IntimacyRelationView.IntimacyTipsMgr.Ent Find(IntimacyRelationView.IntimacyTipsMgr.EShowType type) { for (int i = 0; i < this.contents.get_Count(); i++) { IntimacyRelationView.IntimacyTipsMgr.Ent ent = this.contents.get_Item(i); if (ent.ShowType == type) { return(ent); } } return(null); }
public Ent(IntimacyRelationView.IntimacyTipsMgr.EShowType showType) { this.ShowType = showType; }