Skip to content

Instantly share code, notes, and snippets.

View electr0sheep's full-sized avatar

electr0sheep

View GitHub Profile
# The following comments fill some of the gaps in Solargraph's understanding of
# Rails apps. Since they're all in YARD, they get mapped in Solargraph but
# ignored at runtime.
#
# You can put this file anywhere in the project, as long as it gets included in
# the workspace maps. It's recommended that you keep it in a standalone file
# instead of pasting it into an existing one.
#
# @!parse
# class Rails

Keybase proof

I hereby claim:

  • I am electr0sheep on github.
  • I am mkdegraw (https://keybase.io/mkdegraw) on keybase.
  • I have a public key ASCAP5XE7bykWG1jSA7ZgYfjaraQGOjm8XvQkd8mFaPK4Ao

To claim this, I am signing this object:

[StructLayout(LayoutKind.Explicit, Size = 0x2D8)]
internal struct AdventureListResultPage
{
[FieldOffset(0x02)] public readonly ushort StartIndex;
[FieldOffset(0x00)] public readonly ushort EndIndex;
// TODO: 0x04 through 0x07 is unknown data
[FieldOffset(0x08)] private fixed byte Players[10 * 0x48];