Example #1
0
 public FT_UnitData(FT_Session session) : this(RakNetPINVOKE.new_FT_UnitData__SWIG_1(FT_Session.getCPtr(session)), true)
 {
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public void Send(FT_Session session, FT_DataBase data, AddressOrGUID systemIdentifier)
 {
     RakNetPINVOKE.FT_Node_Process_Send(swigCPtr, FT_Session.getCPtr(session), FT_DataBase.getCPtr(data), AddressOrGUID.getCPtr(systemIdentifier));
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
        public bool Equals(FT_Session c)
        {
            bool ret = RakNetPINVOKE.FT_Session_Equals(swigCPtr, FT_Session.getCPtr(c));

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public uint Send(FT_Session session, FT_DataBase data, AddressOrGUID systemIdentifier)
        {
            uint ret = RakNetPINVOKE.FT_Node_Plugin_Send__SWIG_0(swigCPtr, FT_Session.getCPtr(session), FT_DataBase.getCPtr(data), AddressOrGUID.getCPtr(systemIdentifier));

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public uint Send(FT_Session session, FT_DataBase data, PacketPriority priority, PacketReliability reliability, char orderingChannel, AddressOrGUID systemIdentifier)
        {
            uint ret = RakNetPINVOKE.FT_Node_Plugin_Send__SWIG_1(swigCPtr, FT_Session.getCPtr(session), FT_DataBase.getCPtr(data), (int)priority, (int)reliability, orderingChannel, AddressOrGUID.getCPtr(systemIdentifier));

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #6
0
 public virtual void OnProcess(FT_Session session, BitStream bsIn, AddressOrGUID systemIdentifier)
 {
     if (SwigDerivedClassHasMethod("OnProcess", swigMethodTypes1))
     {
         RakNetPINVOKE.FT_Node_Process_OnProcessSwigExplicitFT_Node_Process(swigCPtr, FT_Session.getCPtr(session), BitStream.getCPtr(bsIn), AddressOrGUID.getCPtr(systemIdentifier));
     }
     else
     {
         RakNetPINVOKE.FT_Node_Process_OnProcess(swigCPtr, FT_Session.getCPtr(session), BitStream.getCPtr(bsIn), AddressOrGUID.getCPtr(systemIdentifier));
     }
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #7
0
 public virtual void OnOutTime(FT_Session session)
 {
     if (SwigDerivedClassHasMethod("OnOutTime", swigMethodTypes2))
     {
         RakNetPINVOKE.FT_Node_Process_OnOutTimeSwigExplicitFT_Node_Process(swigCPtr, FT_Session.getCPtr(session));
     }
     else
     {
         RakNetPINVOKE.FT_Node_Process_OnOutTime(swigCPtr, FT_Session.getCPtr(session));
     }
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #8
0
 internal static HandleRef getCPtr(FT_Session obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public uint Send(FT_Session session, FT_DataBase data, PacketPriority priority, PacketReliability reliability, char orderingChannel, AddressOrGUID systemIdentifier) {
   uint ret = RakNetPINVOKE.FT_Node_Plugin_Send__SWIG_1(swigCPtr, FT_Session.getCPtr(session), FT_DataBase.getCPtr(data), (int)priority, (int)reliability, orderingChannel, AddressOrGUID.getCPtr(systemIdentifier));
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public uint Send(FT_Session session, FT_DataBase data, AddressOrGUID systemIdentifier) {
   uint ret = RakNetPINVOKE.FT_Node_Plugin_Send__SWIG_0(swigCPtr, FT_Session.getCPtr(session), FT_DataBase.getCPtr(data), AddressOrGUID.getCPtr(systemIdentifier));
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #11
0
 public override void OnOutTime(FT_Session session)
 {
     
 }
 public virtual void OnOutTime(FT_Session session) {
   if (SwigDerivedClassHasMethod("OnOutTime", swigMethodTypes2)) RakNetPINVOKE.FT_Node_Process_OnOutTimeSwigExplicitFT_Node_Process(swigCPtr, FT_Session.getCPtr(session)); else RakNetPINVOKE.FT_Node_Process_OnOutTime(swigCPtr, FT_Session.getCPtr(session));
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
 }
 public virtual void OnProcess(FT_Session session, BitStream bsIn, AddressOrGUID systemIdentifier) {
   if (SwigDerivedClassHasMethod("OnProcess", swigMethodTypes1)) RakNetPINVOKE.FT_Node_Process_OnProcessSwigExplicitFT_Node_Process(swigCPtr, FT_Session.getCPtr(session), BitStream.getCPtr(bsIn), AddressOrGUID.getCPtr(systemIdentifier)); else RakNetPINVOKE.FT_Node_Process_OnProcess(swigCPtr, FT_Session.getCPtr(session), BitStream.getCPtr(bsIn), AddressOrGUID.getCPtr(systemIdentifier));
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
 }
 public bool Equals(FT_Session c) {
   bool ret = RakNetPINVOKE.FT_Session_Equals(swigCPtr, FT_Session.getCPtr(c));
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static HandleRef getCPtr(FT_Session obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public FT_UnitData(FT_Session session) : this(RakNetPINVOKE.new_FT_UnitData__SWIG_1(FT_Session.getCPtr(session)), true) {
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
 }
Example #17
0
 public override void OnProcess(FT_Session session, BitStream bsIn, AddressOrGUID systemIdentifier)
 {
     Log.Debug("FT_Node_Process_Test1.OnProcess :");
     FT_UnitData unitData = new FT_UnitData();
     unitData.Serialize(false, bsIn);
 }
 public void Send(FT_Session session, FT_DataBase data, AddressOrGUID systemIdentifier) {
   RakNetPINVOKE.FT_Node_Process_Send(swigCPtr, FT_Session.getCPtr(session), FT_DataBase.getCPtr(data), AddressOrGUID.getCPtr(systemIdentifier));
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
 }