public static UnsignedShortPointer frompointer(SWIGTYPE_p_unsigned_short t)
        {
            global::System.IntPtr cPtr = RakNetPINVOKE.UnsignedShortPointer_frompointer(SWIGTYPE_p_unsigned_short.getCPtr(t));
            UnsignedShortPointer  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UnsignedShortPointer(cPtr, false);

            return(ret);
        }
Exemplo n.º 2
0
        public ushort Pop()
        {
            SWIGTYPE_p_unsigned_short ret = PopHelper();

            return(UnsignedShortPointer.frompointer(ret).value());
        }
Exemplo n.º 3
0
        public ushort Get(uint position)
        {
            SWIGTYPE_p_unsigned_short ret = GetHelper(position);

            return(UnsignedShortPointer.frompointer(ret).value());
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UnsignedShortPointer obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }