fix: update info proxies

This commit is contained in:
Anna 2022-08-25 14:32:54 -04:00
parent b881142886
commit 26f17fc326
2 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ internal sealed unsafe class Context {
}
// 6.05: 20E4CB
var a1 = this.Plugin.Functions.GetInfoProxyByIndex(0x11);
var a1 = this.Plugin.Functions.GetInfoProxyByIndex(0x14);
fixed (byte* namePtr = name.ToTerminatedBytes()) {
// can specify content id if we have it, but there's no need

View File

@ -35,7 +35,7 @@ internal sealed unsafe class Party {
}
// 6.11: 214A55
var a1 = this.Plugin.Functions.GetInfoProxyByIndex(1);
var a1 = this.Plugin.Functions.GetInfoProxyByIndex(2);
fixed (byte* namePtr = name.ToTerminatedBytes()) {
// this only works if target is on the same world
this._inviteToParty(a1, contentId, namePtr, world);
@ -48,7 +48,7 @@ internal sealed unsafe class Party {
}
// 6.11: 214A55
var a1 = this.Plugin.Functions.GetInfoProxyByIndex(1);
var a1 = this.Plugin.Functions.GetInfoProxyByIndex(2);
if (contentId != 0) {
// third param is world, but it requires a specific world
// if they're not on that world, it will fail
@ -64,7 +64,7 @@ internal sealed unsafe class Party {
}
// 6.11: 214A55
var a1 = this.Plugin.Functions.GetInfoProxyByIndex(1);
var a1 = this.Plugin.Functions.GetInfoProxyByIndex(2);
if (contentId != 0) {
// third param is world, but it requires a specific world
// if they're not on that world, it will fail