예제 #1
0
    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());
    }
예제 #5
0
 public virtual string GetDescription(EventInstanceBase ev)
 {
     return(string.Empty);
 }
예제 #6
0
    public override string GetDescription(EventInstanceBase ev)
    {
        CellEventInstance cellEventInstance = ev as CellEventInstance;

        return(GetMessagePrefix() + "Callback=" + cellEventInstance.data.ToString());
    }