// these exist to make the code more obviously correct private static byte CurrentVersion(this ref Raw.EpochHeader _) => LogRecordVersion.LogRecordV1;
public static void SetDepth(this ref BatchedSprite sprite, float depth)
public static void WriteMapHeader(this ref MessagePackWriter writer, int count, ref int idx)
unsafe public static NativeArray <T> ToOptionalDataArray <T>(this ref EntityQuery query, Allocator allocator, T defaultValue = default)
/// <summary> /// Sets the given flag in the specified variable. /// </summary> /// <param name="in_enumVariable">The enum variable under consideration.</param> /// <param name="in_flagToTest">The flag to set.</param> /// <returns>The variable with the flag set.</returns> public static ParquetMask Set(this ref ParquetMask in_enumVariable, ParquetMask in_flagToTest)
public static void WriteString(this ref Span <byte> buffer, ref int offset, StringValues value)
public static T DIVMOD_EX <T>(this ref T value_MODResult, in T den) where T : unmanaged, ICustomInteger
internal static void Append <TResult, TParser>(this ref TParser parser, ReadOnlySequence <byte> input, out SequencePosition consumed)
public static UnityEngine.Vector3 GetRandomInSphere(this ref RandomState randomState,
/// <summary> /// Consumes a tag-delimited field. /// </summary> private static void FormatTagDelimitedField <TInput>(this ref Reader <TInput> reader, StringBuilder res, int indentation)
public static T PartialWrite <T>(this ref T target, T source, int shift, int limit) where T : struct => target = Bit <T> .PartialWrite(target, source, shift, limit);
public static T Not <T>(this ref T target) where T : struct => target = Bit.Not(target);
public static TryInterpretReturnValue TryParseVoiceStructMultiThread(this ref TextFile file, ref VoiceParserTempData tempData, ref ASTTypePageIndexPairListLinkedList astValueTypePairList, Span name, Span parentName, Caret nextToLeftBrace, out Caret nextToRightBrace, Unity.Collections.Allocator allocator)
// Member /// <summary>SkyrimSE.exe + 0x632180 (VID 37817)</summary> static public void Apply <TSpellItem, TActor1, TActor2>(this ref TSpellItem spell, TActor1 *caster, TActor2 *target)
/// <summary> /// 手駒にpcをc枚加える /// </summary> /// <param name=""></param> /// <param name=""></param> /// <param name="pr"></param> /// <param name="c"></param> public static void Add(this ref Hand hand, Piece pr, int c = 1)
internal static ushort GetNearSegment(this ref NetSegment segment, ushort nodeId) =>
/// <summary> /// Applies the <paramref name="args"/>, returning a filtered argument list. /// </summary> /// <param name="level"></param> /// <param name="args">The command-line arguments</param> /// <returns>A filtered list of command-line arguments</returns> public static string[] ApplyFlags(this ref LogLevel level, string[] args)
// Virtual static public System.String GetFullName <TTESFullName>(this ref TTESFullName fullName) where TTESFullName : unmanaged, Eggstensions.ITESFullName { var getFullName = (delegate * unmanaged[Cdecl] < TTESFullName *, System.IntPtr >)fullName.VirtualFunction(0x5); return(Memory.ReadString(GetFullName(fullName.AsPointer())));
/// <summary> /// Makes this <paramref name="vector"/> have a magnitude of 1. /// </summary> /// <param name="vector">The vector to scale.</param> /// <param name="length">The length of the original vector.</param> public static void Normalize(this ref Vector4 vector, out float length)
/// <summary> /// Initializes an input <see cref="IWICStream"/> wrapping a given <see cref="IBufferWriter{T}"/> instance. /// </summary> /// <param name="stream">The target <see cref="IWICStream"/> object to initialize.</param> /// <param name="destination">The input <see cref="IBufferWriter{T}"/> instance to wrap.</param> /// <returns>An <see cref="HRESULT"/> value indicating the operation result.</returns> public static HRESULT InitializeFromBufferWriter(this ref IWICStream stream, IBufferWriter <byte> destination)
public static ref TField GetFieldRef <T, TField>(this ref T instance, string name) where T : struct
// Virtual /// <summary>SkyrimSE.exe + 0x54C5F0 (VID 33626)</summary> /// <param name="noHitEffectArt">SkyrimSE.exe + 0x551980 (VID 33683)</param> /// <param name="effectiveness">SkyrimSE.exe + 0x540360 (VID 33320)</param> /// <param name="hostileEffectivenessOnly">SkyrimSE.exe + 0x53DEB0 (VID 33277)</param> /// <param name="magnitudeOverride">SkyrimSE.exe + 0x54C5F0 (VID 33626)</param> static public void Cast <TMagicCaster, TSpellItem, TActor1, TActor2>(this ref TMagicCaster magicCaster, TSpellItem *spell, System.Boolean noHitEffectArt, TActor1 *target, System.Single effectiveness, System.Boolean hostileEffectivenessOnly, System.Single magnitudeOverride, TActor2 *cause)
public static void SetBit(this ref byte b, int bitNumber) { byte mask = (byte)(1 << (7 - bitNumber)); b = b |= mask; }
public static void Velocity_ApplyImpulse(this ref Vector2 target, Vector2 impulse)
/// <summary> /// Consumes an unknown field. /// </summary> public static void ConsumeUnknownField <TInput>(this ref Reader <TInput> reader, Field field)
public static void WriteVarULong(this ref SpanBufferWriter bufferWriter, ulong value)
public static bool ScanCurrentPixelLineInto(this ref PolygonScanner scanner, int minX, float xOffset, Span <float> scanline)
private static @string Error(this ref errorString e) { return(e.s); }
public static void Scale(this ref Vertex v, float64 f)
static void Foo (ref ref ulong u) { }
/// <summary> /// Writes a <see cref="Guid"/> as UUID (RFC #4122). /// <para /> /// <see cref="Guid"/> uses a mixed-endian format which differs from UUID, /// see https://en.wikipedia.org/wiki/Universally_unique_identifier#Encoding. /// </summary> /// <param name="writer">Writer.</param> /// <param name="guid">Guid.</param> public static void Write(this ref MessagePackWriter writer, Guid guid)