public override string GetDescription(EventInstanceBase ev) { CellEventInstance cellEventInstance = ev as CellEventInstance; SimHashes data = (SimHashes)cellEventInstance.data; return(GetMessagePrefix() + "Element=" + data.ToString() + ", Mass=" + (float)cellEventInstance.data2 / 1000f + " (" + reason + ")"); }
public override string GetDescription(EventInstanceBase ev) { CellEventInstance cellEventInstance = ev as CellEventInstance; if (cellEventInstance.data == 1) { return(GetMessagePrefix() + "Solid=true (" + reason + ")"); } return(GetMessagePrefix() + "Solid=false (" + reason + ")"); }
public override string GetDescription(EventInstanceBase ev) { return(GetMessagePrefix() + "Dig=true"); }
public override string GetDescription(EventInstanceBase ev) { CellEventInstance cellEventInstance = ev as CellEventInstance; return(GetMessagePrefix() + "Filtered Solid Event solid=" + cellEventInstance.data.ToString()); }
public virtual string GetDescription(EventInstanceBase ev) { return(string.Empty); }
public override string GetDescription(EventInstanceBase ev) { CellEventInstance cellEventInstance = ev as CellEventInstance; return(GetMessagePrefix() + "Callback=" + cellEventInstance.data.ToString()); }