コード例 #1
0
        private static bool DrawPrefix4(SpriteBatch __instance, Texture2D texture, Vector2 position, Rectangle?sourceRectangle, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth)
        {
            DrawingInfo info = new DrawingInfo(__instance, texture, sourceRectangle, position, color, origin, rotation, effects, layerDepth);

            info.SetScale(scale);
            return(!DrawingDelegator.DrawReplaced(info));
        }