コード例 #1
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();
     }
 }
コード例 #2
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);
 }
コード例 #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);
    }
コード例 #4
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();
 }