Example #1
0
 public RakNetListDatabaseCellUpdate(RakNetListDatabaseCellUpdate original_copy) : this(RakNetPINVOKE.new_RakNetListDatabaseCellUpdate__SWIG_1(RakNetListDatabaseCellUpdate.getCPtr(original_copy)), true)
 {
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
    public RakNetListDatabaseCellUpdate CopyData(RakNetListDatabaseCellUpdate original_copy)
    {
        RakNetListDatabaseCellUpdate ret = new RakNetListDatabaseCellUpdate(RakNetPINVOKE.RakNetListDatabaseCellUpdate_CopyData(swigCPtr, RakNetListDatabaseCellUpdate.getCPtr(original_copy)), false);

        if (RakNetPINVOKE.SWIGPendingException.Pending)
        {
            throw RakNetPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #3
0
    public void UpdateRow(string tableName, string updatePassword, RowUpdateMode updateMode, bool hasRowId, uint rowId, DatabaseCellUpdate [] cellUpdates, byte numCellUpdates, SystemAddress systemAddress, bool broadcast)
    {
        RakNetListDatabaseCellUpdate cellUpdateList = null;

        if (cellUpdates != null)
        {
            cellUpdateList = new RakNetListDatabaseCellUpdate();
            int listLen = cellUpdates.Length;
            for (int i = 0; i < listLen; i++)
            {
                cellUpdateList.Insert(cellUpdates[i], "", 1);
            }
        }
        UpdateRowHelper(tableName, updatePassword, updateMode, hasRowId, rowId, cellUpdateList, numCellUpdates, systemAddress, broadcast);
    }
 public void UpdateRow(string tableName, string updatePassword, RowUpdateMode updateMode, bool hasRowId, uint rowId, DatabaseCellUpdate [] cellUpdates, byte numCellUpdates, SystemAddress systemAddress, bool broadcast)
 {
     RakNetListDatabaseCellUpdate cellUpdateList =null;
     if (cellUpdates!=null)
     {
         cellUpdateList = new RakNetListDatabaseCellUpdate();
         int listLen = cellUpdates.Length;
         for (int i = 0; i < listLen; i++)
         {
      	 		    cellUpdateList.Insert(cellUpdates[i], "", 1);
         }
     }
     UpdateRowHelper(tableName, updatePassword, updateMode, hasRowId, rowId, cellUpdateList, numCellUpdates, systemAddress, broadcast);
 }
 private void UpdateRowHelper(string tableName, string updatePassword, RowUpdateMode updateMode, bool hasRowId, uint rowId, RakNetListDatabaseCellUpdate cellUpdates, byte numCellUpdates, SystemAddress systemAddress, bool broadcast)
 {
     RakNetPINVOKE.LightweightDatabaseClient_UpdateRowHelper(swigCPtr, tableName, updatePassword, (int)updateMode, hasRowId, rowId, RakNetListDatabaseCellUpdate.getCPtr(cellUpdates), numCellUpdates, SystemAddress.getCPtr(systemAddress), broadcast);
     if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
 }
 public RakNetListDatabaseCellUpdate CopyData(RakNetListDatabaseCellUpdate original_copy)
 {
     RakNetListDatabaseCellUpdate ret = new RakNetListDatabaseCellUpdate(RakNetPINVOKE.RakNetListDatabaseCellUpdate_CopyData(swigCPtr, RakNetListDatabaseCellUpdate.getCPtr(original_copy)), false);
     if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
 public RakNetListDatabaseCellUpdate(RakNetListDatabaseCellUpdate original_copy)
     : this(RakNetPINVOKE.new_RakNetListDatabaseCellUpdate__SWIG_1(RakNetListDatabaseCellUpdate.getCPtr(original_copy)), true)
 {
     if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(RakNetListDatabaseCellUpdate obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #9
0
 private void UpdateRowHelper(string tableName, string updatePassword, RowUpdateMode updateMode, bool hasRowId, uint rowId, RakNetListDatabaseCellUpdate cellUpdates, byte numCellUpdates, SystemAddress systemAddress, bool broadcast)
 {
     RakNetPINVOKE.LightweightDatabaseClient_UpdateRowHelper(swigCPtr, tableName, updatePassword, (int)updateMode, hasRowId, rowId, RakNetListDatabaseCellUpdate.getCPtr(cellUpdates), numCellUpdates, SystemAddress.getCPtr(systemAddress), broadcast);
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #10
0
 internal static HandleRef getCPtr(RakNetListDatabaseCellUpdate obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }