public void Clear() { this.data = (object)0; this.flag = 0U; this.state = 0U; this.type = AppMain.AOE_ACT_TYPE.AOD_ACT_TYPE_ACTION; this.frame = 0.0f; this.last_key.Clear(); this.child = (AppMain.AOS_ACTION)null; this.sibling = (AppMain.AOS_ACTION)null; this.sprite = (AppMain.AOS_SPRITE)null; }
public void Clear() { this.flag = 0U; this.act = (AppMain.AOS_ACTION)null; this.ao_tex.Clear(); this.texlist = (AppMain.NNS_TEXLIST)null; this.ama = (AppMain.A2S_AMA_HEADER)null; this.ama_data_work = (AppMain.OBS_DATA_WORK)null; this.act_id = 0U; this.frame = 0.0f; this.speed = 0.0f; this.type_node = 0; this.color.Clear(); this.fade.Clear(); }
public void Entry(AppMain.A2S_AMA_HEADER ama, uint id, float frame, float x, float y) { if (!AppMain._am_sample_draw_enable) { return; } AppMain.AOS_ACTION act = AppMain.AoActCreate(ama, id, frame); AppMain.AoActAcmPush(); AppMain.AoActAcmInit(); AppMain.AoActAcmApplyTrans(x, y, 0.0f); AppMain.AoActUpdate(act, 0.0f); AppMain.AoActSortRegAction(act); AppMain.AoActAcmPop(); this.m_action_array.push_back(act); }
// Token: 0x060017BF RID: 6079 RVA: 0x000D285C File Offset: 0x000D0A5C private static void dmManualProcWaitInput(AppMain.DMS_MANUAL_MAIN_WORK main_work) { if (main_work.proc_input != null) { main_work.proc_input(main_work); } int[] array = new int[] { 12, 13, 119 }; int i = 0; int num = array.Length; while (i < num) { AppMain.AOS_ACTION aos_ACTION = main_work.act[array[i]]; float frame; if (main_work.trg_return.GetState(0U)[10] && main_work.trg_return.GetState(0U)[1]) { frame = 2f; } else if (main_work.trg_return.GetState(0U)[0]) { frame = 1f; } else if (2f <= aos_ACTION.frame) { frame = aos_ACTION.frame; } else { frame = 0f; } AppMain.AoActSetFrame(aos_ACTION, frame); i++; } if ((main_work.flag & 2U) != 0U) { main_work.proc_update = AppMain.dmManualProcFadeOut; if (AppMain.dm_manual_is_pause_maingame) { AppMain.IzFadeInitEasyColor(0, 32767, 61439, 18U, 0U, 1U, 32f, true); } else { AppMain.IzFadeInitEasy(0U, 1U, 32f); } if (!AppMain.dm_manual_is_pause_maingame) { AppMain.DmSoundPlaySE("Cancel"); } else { GsSound.PlaySe("Cancel", main_work.se_handle); } main_work.flag &= 4294967291U; main_work.flag &= 4294967293U; return; } if ((main_work.flag & 8U) != 0U) { main_work.cur_disp_page++; if (main_work.cur_disp_page > 14) { main_work.cur_disp_page = 14; } else if (!AppMain.dm_manual_is_pause_maingame) { AppMain.DmSoundPlaySE("Cursol"); } else { GsSound.PlaySe("Cursol", main_work.se_handle); } main_work.flag &= 4294967287U; return; } if ((main_work.flag & 16U) != 0U) { main_work.cur_disp_page--; if (main_work.cur_disp_page < 0) { main_work.cur_disp_page = 0; } else if (!AppMain.dm_manual_is_pause_maingame) { AppMain.DmSoundPlaySE("Cursol"); } else { GsSound.PlaySe("Cursol", main_work.se_handle); } main_work.flag &= 4294967279U; } }
private static void dmManualProcWaitInput(AppMain.DMS_MANUAL_MAIN_WORK main_work) { if (main_work.proc_input != null) { main_work.proc_input(main_work); } int[] numArray = new int[3] { 12, 13, 119 }; int index = 0; for (int length = numArray.Length; index < length; ++index) { AppMain.AOS_ACTION act = main_work.act[numArray[index]]; float frame = !main_work.trg_return.GetState(0U)[10] || !main_work.trg_return.GetState(0U)[1] ? (!main_work.trg_return.GetState(0U)[0] ? (2.0 > (double)act.frame ? 0.0f : act.frame) : 1f) : 2f; AppMain.AoActSetFrame(act, frame); } if (((int)main_work.flag & 2) != 0) { main_work.proc_update = new AppMain.DMS_MANUAL_MAIN_WORK._proc_update_(AppMain.dmManualProcFadeOut); if (AppMain.dm_manual_is_pause_maingame) { AppMain.IzFadeInitEasyColor(0, (ushort)short.MaxValue, (ushort)61439, 18U, 0U, 1U, 32f, true); } else { AppMain.IzFadeInitEasy(0U, 1U, 32f); } if (!AppMain.dm_manual_is_pause_maingame) { AppMain.DmSoundPlaySE("Cancel"); } else { AppMain.GsSoundPlaySe("Cancel", main_work.se_handle); } main_work.flag &= 4294967291U; main_work.flag &= 4294967293U; } else if (((int)main_work.flag & 8) != 0) { ++main_work.cur_disp_page; if (main_work.cur_disp_page > 14) { main_work.cur_disp_page = 14; } else if (!AppMain.dm_manual_is_pause_maingame) { AppMain.DmSoundPlaySE("Cursol"); } else { AppMain.GsSoundPlaySe("Cursol", main_work.se_handle); } main_work.flag &= 4294967287U; } else { if (((int)main_work.flag & 16) == 0) { return; } --main_work.cur_disp_page; if (main_work.cur_disp_page < 0) { main_work.cur_disp_page = 0; } else if (!AppMain.dm_manual_is_pause_maingame) { AppMain.DmSoundPlaySE("Cursol"); } else { AppMain.GsSoundPlaySe("Cursol", main_work.se_handle); } main_work.flag &= 4294967279U; } }
public bool Create(AppMain.AOS_ACTION act) { this.Release(); this.m_act = act; return(this.create()); }