Ejemplo n.º 1
0
		// Range: -1 Access: 0 Flags: ( 0, 4, 255 )
		public static void remove_radio_all( Ent_Item_Device_Radio radio = null ) {
			dynamic freq = null;
			freq = null;
			foreach (dynamic _a in GlobalVars.all_radios ) {
				freq = _a;
				GlobalVars.all_radios["" + freq] -= radio;
			};
			return;
		}
Ejemplo n.º 2
0
		// Range: -1 Access: 0 Flags: ( 0, 4, 255 )
		public static dynamic add_radio( Ent_Item_Device_Radio radio = null, dynamic freq = null ) {
			if ( !Lang13.Bool( freq ) || !( radio != null ) ) {
				return null;
			}
			if ( !Lang13.Bool( GlobalVars.all_radios["" + freq] ) ) {
				GlobalVars.all_radios["" + freq] = new ByTable(new object [] { radio });
				return freq;
			}
			GlobalVars.all_radios["" + freq] |= radio;
			return freq;
		}
Ejemplo n.º 3
0
		// Range: -1 Access: 0 Flags: ( 0, 4, 255 )
		public static void remove_radio( Ent_Item_Device_Radio radio = null, dynamic freq = null ) {
			if ( !Lang13.Bool( freq ) || !( radio != null ) ) {
				return;
			}
			if ( !Lang13.Bool( GlobalVars.all_radios["" + freq] ) ) {
				return;
			}
			GlobalVars.all_radios["" + freq] -= radio;
			return;
		}