Exemplo n.º 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();
     }
 }
Exemplo n.º 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();
     }
 }
Exemplo n.º 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);
        }
Exemplo n.º 4
0
        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);
        }
Exemplo n.º 5
0
        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);
        }
Exemplo n.º 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();
     }
 }
Exemplo n.º 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();
     }
 }
Exemplo n.º 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;
 }
Exemplo n.º 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();
 }
Exemplo n.º 14
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;
 }
Exemplo n.º 15
0
 internal static HandleRef getCPtr(FT_Session obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemplo n.º 16
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();
 }
Exemplo n.º 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();
 }