Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
2021.11.9.5e (#231)
Browse files Browse the repository at this point in the history
* added console & events back in

* both GetEventPlayer and GetEventPlayerControl return std::optional. this may cause a crash if std::nullopt is returned from either function because return values aren't checked.

* trimmed il2cpp-types.h

* also added role next to name in the players tab
  • Loading branch information
kotae4 authored Nov 21, 2021
1 parent 2ce8416 commit f461e3d
Show file tree
Hide file tree
Showing 29 changed files with 9,097 additions and 966,507 deletions.
10 changes: 10 additions & 0 deletions AmongUsMenu.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClCompile Include="events\CastVoteEvent.cpp" />
<ClCompile Include="events\CheatDetectedEvent.cpp" />
<ClCompile Include="events\KillEvent.cpp" />
<ClCompile Include="events\ReportDeadBodyEvent.cpp" />
<ClCompile Include="events\TaskCompletedEvent.cpp" />
<ClCompile Include="events\VentEvent.cpp" />
<ClCompile Include="events\WalkEvent.cpp" />
<ClCompile Include="gui\console.cpp" />
<ClCompile Include="gui\esp.cpp" />
<ClCompile Include="gui\gui-helpers.cpp" />
<ClCompile Include="gui\RenderCmd.cpp">
Expand Down Expand Up @@ -307,6 +315,8 @@
<ClInclude Include="appdata\il2cpp-classes.h" />
<ClInclude Include="appdata\il2cpp-functions.h" />
<ClInclude Include="appdata\il2cpp-translations.h" />
<ClInclude Include="events\_events.h" />
<ClInclude Include="gui\console.hpp" />
<ClInclude Include="gui\esp.hpp" />
<ClInclude Include="gui\gui-helpers.hpp" />
<ClInclude Include="gui\RenderCmd.hpp" />
Expand Down
33 changes: 33 additions & 0 deletions AmongUsMenu.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,30 @@
<ClCompile Include="RpcSetRole.cpp">
<Filter>rpc</Filter>
</ClCompile>
<ClCompile Include="gui\console.cpp">
<Filter>gui</Filter>
</ClCompile>
<ClCompile Include="events\CastVoteEvent.cpp">
<Filter>events</Filter>
</ClCompile>
<ClCompile Include="events\CheatDetectedEvent.cpp">
<Filter>events</Filter>
</ClCompile>
<ClCompile Include="events\KillEvent.cpp">
<Filter>events</Filter>
</ClCompile>
<ClCompile Include="events\ReportDeadBodyEvent.cpp">
<Filter>events</Filter>
</ClCompile>
<ClCompile Include="events\TaskCompletedEvent.cpp">
<Filter>events</Filter>
</ClCompile>
<ClCompile Include="events\VentEvent.cpp">
<Filter>events</Filter>
</ClCompile>
<ClCompile Include="events\WalkEvent.cpp">
<Filter>events</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="appdata\il2cpp-api-functions.h">
Expand Down Expand Up @@ -405,6 +429,12 @@
<ClInclude Include="user\gitparams.h">
<Filter>user</Filter>
</ClInclude>
<ClInclude Include="gui\console.hpp">
<Filter>gui</Filter>
</ClInclude>
<ClInclude Include="events\_events.h">
<Filter>events</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Image Include="resources\mira_hq.png">
Expand Down Expand Up @@ -459,6 +489,9 @@
<Filter Include="user">
<UniqueIdentifier>{c598f5c4-711e-4883-91b4-c7a35d7110bd}</UniqueIdentifier>
</Filter>
<Filter Include="events">
<UniqueIdentifier>{13db4fa6-8f92-4d9a-ad87-758b95781032}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="resources\resource_data.rc">
Expand Down
6 changes: 3 additions & 3 deletions appdata/il2cpp-functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ DO_APP_FUNC(String*, Marshal_PtrToStringAnsi, (void* ptr, MethodInfo* method), "
DO_APP_FUNC(String*, Marshal_PtrToStringUni, (void* ptr, MethodInfo* method), "mscorlib, System.String System.Runtime.InteropServices.Marshal::PtrToStringUni(System.IntPtr)");
DO_APP_FUNC(Type*, Type_GetType, (String* typeName, MethodInfo* method), "mscorlib, System.Type System.Type::GetType(System.String)");

DO_APP_FUNC(GameObject*, Component_get_gameObject, (Component* __this, MethodInfo* method), "UnityEngine.CoreModule, UnityEngine.GameObject UnityEngine.Component::get_gameObject()");
DO_APP_FUNC(Transform*, Component_get_transform, (Component* __this, MethodInfo* method), "UnityEngine.CoreModule, UnityEngine.Transform UnityEngine.Component::get_transform()");
DO_APP_FUNC(String*, Component_get_tag, (Component* __this, MethodInfo* method), "UnityEngine.CoreModule, System.String UnityEngine.Component::get_tag()");
DO_APP_FUNC(GameObject*, Component_get_gameObject, (Component_1* __this, MethodInfo* method), "UnityEngine.CoreModule, UnityEngine.GameObject UnityEngine.Component::get_gameObject()");
DO_APP_FUNC(Transform*, Component_get_transform, (Component_1* __this, MethodInfo* method), "UnityEngine.CoreModule, UnityEngine.Transform UnityEngine.Component::get_transform()");
DO_APP_FUNC(String*, Component_get_tag, (Component_1* __this, MethodInfo* method), "UnityEngine.CoreModule, System.String UnityEngine.Component::get_tag()");
DO_APP_FUNC(void, GameObject_set_layer, (GameObject* __this, int32_t value, MethodInfo* method), "UnityEngine.CoreModule, System.Void UnityEngine.GameObject::set_layer(System.Int32)");
DO_APP_FUNC(int32_t, GameObject_get_layer, (GameObject* __this, MethodInfo* method), "UnityEngine.CoreModule, System.Int32 UnityEngine.GameObject::get_layer()");
DO_APP_FUNC(int32_t, LayerMask_NameToLayer, (String* layerName, MethodInfo* method), "UnityEngine.CoreModule, System.Int32 UnityEngine.LayerMask::NameToLayer(System.String)");
Expand Down
Loading

0 comments on commit f461e3d

Please sign in to comment.