コード例 #1
0
        public NexposeSession(string host, integer port)
        {
            this.NexposeHost = host;

            this.NexposePort = port;

            this.APIVersion = NexposeAPIVersion.v11; //default
        }
コード例 #2
0
	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;
	}
コード例 #3
0
 public virtual void collision_start(integer iCollisionCount)
 {
 }
コード例 #4
0
 public virtual void collision_end(integer iCollisionCount)
 {
 }
コード例 #5
0
 public virtual void changed(integer iChangedFlags)
 {
 }
コード例 #6
0
 public virtual void at_target(integer iHandle, vector vTargetPosition, vector vCurrrentPosition)
 {
 }
コード例 #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);
 }
コード例 #8
0
 public Room getRoom(integer index)
 {
     return this.roomsList.at(index);
 }
コード例 #9
0
 public void setCodigoasignatura(integer value)
 {
     this.codigoAsignatura = value;
 }
コード例 #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);
 }
コード例 #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);
 }
コード例 #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);
 }
コード例 #13
0
 public static void FlushChildHashtable(hashtable table, integer parentKey)
 {
 }
コード例 #14
0
 public static void RemoveSavedHandle(hashtable table, integer parentKey, integer childKey)
 {
     table.Remove(parentKey.ToString("x8") + childKey.ToString("x8"));
 }
コード例 #15
0
	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 ();
	}
コード例 #16
0
 public virtual void control(key kID, integer iLevels, integer iEdges)
 {
 }
コード例 #17
0
 public virtual void email(String sTime, String sAddress, String sSubject, String sBody, integer iRemaining)
 {
 }
コード例 #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);
 }
コード例 #19
0
 public void setNombreasignatura(integer value)
 {
     this.nombreAsignatura = value;
 }
コード例 #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);
 }