public VMRuntimeHeadline(VMRuntimeHeadlineMarshal input, VMContext context)
 {
     Operand    = input.Operand;
     Target     = context.VM.GetObjectById(input.Target);
     IconTarget = context.VM.GetObjectById(input.IconTarget);
     Index      = input.Index;
     Duration   = input.Duration;
     Anim       = input.Anim;
 }
        public VMRuntimeHeadlineMarshal Save()
        {
            var result = new VMRuntimeHeadlineMarshal();

            result.Operand    = Operand;
            result.Target     = (Target == null) ? (short)0 : Target.ObjectID;
            result.IconTarget = (IconTarget == null) ? (short)0 : IconTarget.ObjectID;
            result.Index      = Index;
            result.Duration   = Duration;
            result.Anim       = Anim;
            return(result);
        }