Exemplo n.º 1
0
Arquivo: Table.cs Projeto: nulhax/VOID
  	public void SortTable(SortQuery [] sortQueries, uint numSortQueries, out Row[] arg2) 
 	{
		RakNetListSortQuery sortQueriesList =null;
 		if (sortQueries!=null)
 		{
 			sortQueriesList = new RakNetListSortQuery();
 			int listLen = sortQueries.Length;
 			for (int i = 0; i < listLen; i++)
 			{
      	 		    sortQueriesList.Insert(sortQueries[i], "", 1);
 			}
 		}
 
 		int rowCount= (int)GetRowCount();
 		Row[] rowArray= new Row[rowCount];
 		RakNetListTableRow passVal = new RakNetListTableRow();
 		SortTableHelper(sortQueriesList,numSortQueries,passVal);
 		for (int i=0; i<rowCount;i++)
 		{
 		rowArray[i]=passVal[i];
	 	} 
 		arg2=rowArray;
  	}
Exemplo n.º 2
0
 internal static HandleRef getCPtr(SortQuery obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemplo n.º 3
0
 public void Replace(SortQuery input) {
   RakNetPINVOKE.RakNetListSortQuery_Replace__SWIG_1(swigCPtr, SortQuery.getCPtr(input));
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 4
0
 public void Replace(SortQuery input, SortQuery filler, uint position, string file, uint line) {
   RakNetPINVOKE.RakNetListSortQuery_Replace__SWIG_0(swigCPtr, SortQuery.getCPtr(input), SortQuery.getCPtr(filler), position, file, line);
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 5
0
 public void Insert(SortQuery input, string file, uint line) {
   RakNetPINVOKE.RakNetListSortQuery_Insert__SWIG_1(swigCPtr, SortQuery.getCPtr(input), file, line);
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 6
0
 public SortQuery Pop() {
   SortQuery ret = new SortQuery(RakNetPINVOKE.RakNetListSortQuery_Pop(swigCPtr), false);
   return ret;
 }
Exemplo n.º 7
0
 public SortQuery Get(uint position) {
   SortQuery ret = new SortQuery(RakNetPINVOKE.RakNetListSortQuery_Get(swigCPtr, position), false);
   return ret;
 }
Exemplo n.º 8
0
 public void Replace(SortQuery input, SortQuery filler, uint position, string file, uint line)
 {
     RakNetPINVOKE.CSharp_RakNetListSortQuery_Replace__SWIG_0(swigCPtr, SortQuery.getCPtr(input), SortQuery.getCPtr(filler), position, file, line);
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }