Example #1
0
 private static void gmGmkCannon_CreateParts(AppMain.GMS_GMK_CANNON_WORK pwork)
 {
     AppMain.OBS_OBJECT_WORK          obsObjectWork      = (AppMain.OBS_OBJECT_WORK)pwork;
     AppMain.OBS_OBJECT_WORK          work               = AppMain.GMM_EFFECT_CREATE_WORK((AppMain.TaskWorkFactoryDelegate)(() => (object)new AppMain.GMS_GMK_CANNONPARTS_WORK()), (AppMain.OBS_OBJECT_WORK)null, (ushort)0, "Gmk_CannonBase");
     AppMain.GMS_GMK_CANNONPARTS_WORK gmkCannonpartsWork = (AppMain.GMS_GMK_CANNONPARTS_WORK)work;
     AppMain.ObjObjectCopyAction3dNNModel(work, AppMain.gm_gmk_cannon_obj_3d_list[1], gmkCannonpartsWork.eff_work.obj_3d);
     work.parent_obj = obsObjectWork;
     work.flag      &= 4294966271U;
     work.pos.x      = obsObjectWork.pos.x;
     work.pos.y      = obsObjectWork.pos.y + 122880;
     work.pos.z      = obsObjectWork.pos.z + 122880;
     work.dir.y      = obsObjectWork.dir.y;
     work.move_flag |= 256U;
     work.disp_flag &= 4294967039U;
     work.flag      |= 2U;
     work.ppFunc     = (AppMain.MPP_VOID_OBS_OBJECT_WORK)null;
 }
 // Token: 0x06001253 RID: 4691 RVA: 0x000A051C File Offset: 0x0009E71C
 private static void gmGmkCannon_CreateParts(AppMain.GMS_GMK_CANNON_WORK pwork)
 {
     AppMain.OBS_OBJECT_WORK          obs_OBJECT_WORK          = (AppMain.OBS_OBJECT_WORK)pwork;
     AppMain.OBS_OBJECT_WORK          obs_OBJECT_WORK2         = AppMain.GMM_EFFECT_CREATE_WORK(() => new AppMain.GMS_GMK_CANNONPARTS_WORK(), null, 0, "Gmk_CannonBase");
     AppMain.GMS_GMK_CANNONPARTS_WORK gms_GMK_CANNONPARTS_WORK = (AppMain.GMS_GMK_CANNONPARTS_WORK)obs_OBJECT_WORK2;
     AppMain.ObjObjectCopyAction3dNNModel(obs_OBJECT_WORK2, AppMain.gm_gmk_cannon_obj_3d_list[1], gms_GMK_CANNONPARTS_WORK.eff_work.obj_3d);
     obs_OBJECT_WORK2.parent_obj = obs_OBJECT_WORK;
     obs_OBJECT_WORK2.flag      &= 4294966271U;
     obs_OBJECT_WORK2.pos.x      = obs_OBJECT_WORK.pos.x;
     obs_OBJECT_WORK2.pos.y      = obs_OBJECT_WORK.pos.y + 122880;
     obs_OBJECT_WORK2.pos.z      = obs_OBJECT_WORK.pos.z + 122880;
     obs_OBJECT_WORK2.dir.y      = obs_OBJECT_WORK.dir.y;
     obs_OBJECT_WORK2.move_flag |= 256U;
     obs_OBJECT_WORK2.disp_flag &= 4294967039U;
     obs_OBJECT_WORK2.flag      |= 2U;
     obs_OBJECT_WORK2.ppFunc     = null;
 }