Beispiel #1
0
        public FName ReadName()
        {
            FName result;

            Native_FFrameRef.ReadName(ref this, out result);
            return(result);
        }
Beispiel #2
0
 /// <summary>
 /// This will return the StackTrace of the all script frames currently active
 /// </summary>
 public static string GetScriptCallstack()
 {
     using (FStringUnsafe resultUnsafe = new FStringUnsafe())
     {
         Native_FFrameRef.GetScriptCallstack(ref resultUnsafe.Array);
         return(resultUnsafe.Value);
     }
 }
Beispiel #3
0
 /// <summary>
 /// This will return the StackTrace of the current callstack from the last native entry point
 /// </summary>
 public string GetStackTrace()
 {
     using (FStringUnsafe resultUnsafe = new FStringUnsafe())
     {
         Native_FFrameRef.GetStackTrace(ref this, ref resultUnsafe.Array);
         return(resultUnsafe.Value);
     }
 }
Beispiel #4
0
 /// <summary>
 /// Reads a value from the bytestream which represents the number of bytes that should be zero'd out if a NULL context
 /// is encountered
 /// </summary>
 /// <param name="expressionField">Receives a pointer to the field representing the expression; used by various execs to drive VM logic</param>
 /// <returns></returns>
 public int ReadVariableSize(IntPtr expressionField)
 {
     return(Native_FFrameRef.ReadVariableSize(ref this, expressionField));
 }
Beispiel #5
0
 /// <summary>
 /// Reads a value from the bytestream, which represents the number of bytes to advance
 /// the code pointer for certain expressions.
 /// </summary>
 public int ReadCodeSkipCount()
 {
     return(Native_FFrameRef.ReadCodeSkipCount(ref this));
 }
Beispiel #6
0
 public IntPtr ReadObject()
 {
     return(Native_FFrameRef.ReadObject(ref this));
 }
Beispiel #7
0
 public float ReadFloat()
 {
     return(Native_FFrameRef.ReadFloat(ref this));
 }
Beispiel #8
0
 public uint ReadUInt32()
 {
     return(Native_FFrameRef.ReadUInt32(ref this));
 }
Beispiel #9
0
 public ulong ReadUInt64()
 {
     return(Native_FFrameRef.ReadUInt64(ref this));
 }
Beispiel #10
0
 public ushort ReadUInt16()
 {
     return(Native_FFrameRef.ReadUInt16(ref this));
 }
Beispiel #11
0
 public sbyte ReadSByte()
 {
     return(Native_FFrameRef.ReadInt8(ref this));
 }
Beispiel #12
0
 public byte ReadByte()
 {
     return(Native_FFrameRef.ReadUInt8(ref this));
 }
Beispiel #13
0
 /// <summary>
 /// Replacement for Step that uses an explicitly specified property to unpack arguments
 /// </summary>
 public void StepExplicitProperty(IntPtr result, IntPtr property)
 {
     Native_FFrameRef.StepExplicitProperty(ref this, result, property);
 }
Beispiel #14
0
 /// <summary>
 /// Functions.
 /// </summary>
 public void Step(IntPtr context, IntPtr result)
 {
     Native_FFrameRef.Step(ref this, context, result);
 }