コード例 #1
0
ファイル: LaserDrawClass.cs プロジェクト: Xkein/PatcherYRpp
        public static unsafe void Constructor(Pointer <LaserDrawClass> pThis, CoordStruct source, CoordStruct target, int zAdjust, byte unknown,
                                              ColorStruct innerColor, ColorStruct outerColor, ColorStruct outerSpread,
                                              int duration, bool blinks = false, bool fades        = true,
                                              float startIntensity      = 1.0f, float endIntensity = 0.0f)
        {
            var func = (delegate * unmanaged[Thiscall] < ref LaserDrawClass, CoordStruct, CoordStruct, int, byte,
                        ColorStruct, ColorStruct, ColorStruct, int, Bool, Bool, float, float, void >) 0x54FE60;

            func(ref pThis.Ref, source, target, zAdjust, unknown, innerColor, outerColor, outerSpread, duration, blinks, fades, startIntensity, endIntensity);
        }
コード例 #2
0
ファイル: LaserDrawClass.cs プロジェクト: Xkein/PatcherYRpp
 public static void Constructor(Pointer <LaserDrawClass> pThis, CoordStruct source, CoordStruct target, ColorStruct innerColor,
                                ColorStruct outerColor, ColorStruct outerSpread, int duration)
 {
     Constructor(pThis, source, target, 0, 1, innerColor, outerColor, outerSpread, duration);
 }