Beispiel #1
0
        public unsafe void ToTypedReference(EmuContext ctx, TypedRefPtr typedRef, Type type)
        {
            bool flag = this._ptr != null;

            if (flag)
            {
                *(TypedReference *)typedRef = *(TypedReference *)this._ptr.Value;
            }
            else
            {
                *(TypedRef.PseudoTypedRef *)typedRef = this._typedRef;
            }
        }
Beispiel #2
0
 public TypedRef(TypedRefPtr ptr)
 {
     this._ptr = new TypedRefPtr?(ptr);
 }
Beispiel #3
0
 public void ToTypedReference(EmuContext ctx, TypedRefPtr typedRef, Type type)
 {
     throw new NotImplementedException();
 }
Beispiel #4
0
 public void ToTypedReference(EmuContext ctx, TypedRefPtr typedRef, Type type)
 {
     Rhydon.Emulator.Helpers.TypedReferenceHelpers.GetFieldAddr(ctx, this.instance, this.field, typedRef);
 }