public NexposeSession(string host, integer port)
        {
            this.NexposeHost = host;

            this.NexposePort = port;

            this.APIVersion = NexposeAPIVersion.v11; //default
        }
	static int Main ()
	{
		integer i = new integer (3);
		double d = 4.0;

		object result = Add (i, d);
		if (!(result is double))
			return 1;

		if ((double) result != 7.0)
			return 2;

		return 0;
	}
Example #3
0
 public virtual void collision_start(integer iCollisionCount)
 {
 }
Example #4
0
 public virtual void collision_end(integer iCollisionCount)
 {
 }
Example #5
0
 public virtual void changed(integer iChangedFlags)
 {
 }
Example #6
0
 public virtual void at_target(integer iHandle, vector vTargetPosition, vector vCurrrentPosition)
 {
 }
Example #7
0
 public static boolean SaveTriggerConditionHandle(hashtable table, integer parentKey, integer childKey, triggercondition whichTriggercondition)
 {
     table.Add(parentKey.ToString("x8") + childKey.ToString("x8"), whichTriggercondition);
     return(true);
 }
 public Room getRoom(integer index)
 {
     return this.roomsList.at(index);
 }
Example #9
0
 public void setCodigoasignatura(integer value)
 {
     this.codigoAsignatura = value;
 }
Example #10
0
 public static boolean SaveUnitHandle(hashtable table, integer parentKey, integer childKey, unit whichUnit)
 {
     table.Add(parentKey.ToString("x8") + childKey.ToString("x8"), whichUnit);
     return(true);
 }
Example #11
0
 public static boolean SaveItemHandle(hashtable table, integer parentKey, integer childKey, item whichItem)
 {
     table.Add(parentKey.ToString("x8") + childKey.ToString("x8"), whichItem);
     return(true);
 }
Example #12
0
 public static boolean SaveDestructableHandle(hashtable table, integer parentKey, integer childKey, destructable whichDestructable)
 {
     table.Add(parentKey.ToString("x8") + childKey.ToString("x8"), whichDestructable);
     return(true);
 }
Example #13
0
 public static void FlushChildHashtable(hashtable table, integer parentKey)
 {
 }
Example #14
0
 public static void RemoveSavedHandle(hashtable table, integer parentKey, integer childKey)
 {
     table.Remove(parentKey.ToString("x8") + childKey.ToString("x8"));
 }
	public static object Add (integer x, object other)
	{
		if (other is int) return x + ((int) other);
		if (other is double) return x + ((double) other);
		throw new InvalidOperationException ();
	}
Example #16
0
 public virtual void control(key kID, integer iLevels, integer iEdges)
 {
 }
Example #17
0
 public virtual void email(String sTime, String sAddress, String sSubject, String sBody, integer iRemaining)
 {
 }
Example #18
0
 public static boolean SaveAbilityHandle(hashtable table, integer parentKey, integer childKey, ability whichAbility)
 {
     table.Add(parentKey.ToString("x8") + childKey.ToString("x8"), whichAbility);
     return(true);
 }
Example #19
0
 public void setNombreasignatura(integer value)
 {
     this.nombreAsignatura = value;
 }
Example #20
0
 public static boolean SaveTimerHandle(hashtable table, integer parentKey, integer childKey, timer whichTimer)
 {
     table.Add(parentKey.ToString("x8") + childKey.ToString("x8"), whichTimer);
     return(true);
 }