public Houshi(DeliveryMember _delivery) : base(_delivery) { this.animPar.heights = new float[1]; this.animPar.m = new float[1]; this.CatID = 1; }
public ProcBase(DeliveryMember _delivery) { this.ctrlFlag = _delivery.ctrlFlag; this.chaMales = _delivery.chaMales; this.chaFemales = _delivery.chaFemales; this.fade = _delivery.fade; this.ctrlMeta = _delivery.ctrlMeta; this.sprite = _delivery.sprite; this.item = _delivery.item; this.feelHit = _delivery.feelHit; this.auto = _delivery.auto; this.voice = _delivery.voice; this.particle = _delivery.particle; this.se = _delivery.se; this.lstMotionIK = _delivery.lstMotionIK; this.AtariEffect = _delivery.AtariEffect; this.FeelHitEffect3D = _delivery.FeelHitEffect3D; this.Hitem = (HSceneSpriteHitem)this.sprite.objHItem.GetComponent <HSceneSpriteHitem>(); if (Object.op_Equality((Object)ProcBase.hSceneManager, (Object)null)) { ProcBase.hSceneManager = Singleton <HSceneManager> .Instance; } for (int index = 0; index < 2; ++index) { this.randVoicePlays[index] = new ShuffleRand(-1); this.randVoicePlays[index].Init(index != 0 ? 2 : 3); } ObservableExtensions.Subscribe <bool>(Observable.Where <bool>((IObservable <M0>) this.isAtariHit, (Func <M0, bool>)(x => this.isAtariHitOld != x && this.CatID != 1)), (Action <M0>)(x => { if (this.CatID == 7 && Singleton <HSceneFlagCtrl> .Instance.nowAnimationInfo.ActionCtrl.Item2 == 1 || Singleton <HSceneFlagCtrl> .Instance.nowAnimationInfo.ActionCtrl.Item2 == 2) { return; } this.isAtariHitOld = x; if (x) { this.AtariEffect.Play(); if (!Singleton <HSceneManager> .Instance.isParticle) { return; } this.FeelHitEffect3D.Play(); } else { this.AtariEffect.Stop(); this.FeelHitEffect3D.Stop(); } })); }
public Peeping(DeliveryMember _delivery) : base(_delivery) { this.animPar.heights = new float[1]; this.CatID = 5; }
public Masturbation(DeliveryMember _delivery) : base(_delivery) { this.animPar.heights = new float[1]; this.aTimer[0] = new RandomTimer(); this.aTimer[1] = new RandomTimer(); this.Timers = new float[2][] { new float[2], new float[2] }; string assetHautoListFolder = Singleton <HSceneManager> .Instance.strAssetHAutoListFolder; string str1 = "masturbation"; if (!GlobalMethod.AssetFileExist(assetHautoListFolder, str1, string.Empty)) { return; } ExcelData excelData = CommonLib.LoadAsset <ExcelData>(assetHautoListFolder, str1, false, string.Empty); Singleton <HSceneManager> .Instance.hashUseAssetBundle.Add(assetHautoListFolder); if (Object.op_Equality((Object)excelData, (Object)null)) { return; } int num1 = 2; while (num1 < excelData.MaxCell) { this.row.Clear(); foreach (string str2 in excelData.list[num1++].list) { this.row.Add(str2); } int num2 = 0; float[][] timers1 = this.Timers; float[] numArray1 = new float[2]; List <string> row1 = this.row; int index1 = num2; int num3 = index1 + 1; numArray1[0] = float.Parse(row1.GetElement <string>(index1)); List <string> row2 = this.row; int index2 = num3; int num4 = index2 + 1; numArray1[1] = float.Parse(row2.GetElement <string>(index2)); timers1[0] = numArray1; float[][] timers2 = this.Timers; float[] numArray2 = new float[2]; List <string> row3 = this.row; int index3 = num4; int num5 = index3 + 1; numArray2[0] = float.Parse(row3.GetElement <string>(index3)); List <string> row4 = this.row; int index4 = num5; int num6 = index4 + 1; numArray2[1] = float.Parse(row4.GetElement <string>(index4)); timers2[1] = numArray2; this.aTimer[0].Init(this.Timers[0][0], this.Timers[0][0]); this.aTimer[1].Init(this.Timers[1][1], this.Timers[1][1]); } this.CatID = 4; }