コード例 #1
0
 static Class120()
 {
     Class120.object_0     = new object();
     Class120.list_0       = new List <string>();
     Class120.dictionary_0 = new Dictionary <Struct62, Class120>();
     Class120.bool_3       = true;
     Class120.smethod_0();
 }
コード例 #2
0
 public void method_3(bool bool_4)
 {
     if (bool_4)
     {
         Class120.smethod_1(this);
         return;
     }
     Class120.smethod_1(null);
 }
コード例 #3
0
ファイル: Class117.cs プロジェクト: ExileLord/Open-GHTCP
 public Class117(GenericAudioStream stream1_1)
 {
     this.stream1_0 = stream1_1;
     this.class120_0 = (Class120.smethod_2() ?? new Class120());
     this.enum12_0 = Class119.smethod_10(stream1_1.vmethod_0());
     this.int_0 = stream1_1.vmethod_0().int_0;
     this.double_0 = (double)stream1_1.vmethod_0().int_0 * (double)stream1_1.vmethod_0().short_1 / 1000.0;
     this.int_1 = stream1_1.vmethod_0().method_0(80);
     this.int_2 = 5;
     this.intptr_0 = Marshal.AllocHGlobal(this.int_1);
     this.intptr_1 = Class119.smethod_2();
     this.intptr_2 = Class119.smethod_8(this.int_2);
     this.enum1_0 = Enum1.const_0;
 }
コード例 #4
0
ファイル: Class117.cs プロジェクト: no1mann/Open-GHTCP
 public Class117(GenericAudioStream stream1_1)
 {
     this.stream1_0  = stream1_1;
     this.class120_0 = (Class120.smethod_2() ?? new Class120());
     this.enum12_0   = Class119.smethod_10(stream1_1.vmethod_0());
     this.int_0      = stream1_1.vmethod_0().int_0;
     this.double_0   = (double)stream1_1.vmethod_0().int_0 *(double)stream1_1.vmethod_0().short_1 / 1000.0;
     this.int_1      = stream1_1.vmethod_0().method_0(80);
     this.int_2      = 5;
     this.intptr_0   = Marshal.AllocHGlobal(this.int_1);
     this.intptr_1   = Class119.smethod_2();
     this.intptr_2   = Class119.smethod_8(this.int_2);
     this.enum1_0    = AudioStatus.ShouldStopAudio;
 }
コード例 #5
0
        public bool method_2()
        {
            bool result;

            lock (Class120.object_0)
            {
                if (Class120.dictionary_0.Count == 0)
                {
                    result = false;
                }
                else
                {
                    result = (Class120.smethod_2() == this);
                }
            }
            return(result);
        }
コード例 #6
0
 private static void smethod_1(Class120 class120_0)
 {
     lock (Class120.object_0)
     {
         if (!OpenAL.alcMakeContextCurrent((class120_0 != null) ? class120_0.struct62_0 : Struct62.struct62_0))
         {
             //Delegate129.delegate129_0;
             //"ALC {0} error detected at {1}.";
             OpenAL.alcGetError((class120_0 != null) ? Struct62.smethod_0(class120_0.struct62_0) : IntPtr.Zero).ToString();
             if (class120_0 == null)
             {
                 //"null";
             }
             else
             {
                 class120_0.ToString();
             }
             throw null;
         }
     }
 }
コード例 #7
0
 public void method_4()
 {
     Class120.smethod_1(this);
 }
コード例 #8
0
ファイル: Class120.cs プロジェクト: ExileLord/Open-GHTCP
 private static void smethod_1(Class120 class120_0)
 {
     lock (Class120.object_0)
     {
         if (!OpenAL.alcMakeContextCurrent((class120_0 != null) ? class120_0.struct62_0 : Struct62.struct62_0))
         {
             //Delegate129.delegate129_0;
             //"ALC {0} error detected at {1}.";
             OpenAL.alcGetError((class120_0 != null) ? Struct62.smethod_0(class120_0.struct62_0) : IntPtr.Zero).ToString();
             if (class120_0 == null)
             {
                 //"null";
             }
             else
             {
                 class120_0.ToString();
             }
             throw null;
         }
     }
 }