Skip to content

Commit

Permalink
Updated some field names
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmoonen committed Sep 11, 2024
1 parent dd317ba commit 2bb5c2a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/packets/ClientProtocol/ClientProtocol_1080/group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ const joinDataSchema: Array<PacketField> = [
{ name: "unknownQword1", type: "uint64string", defaultValue: "" },
{ name: "zoneId", type: "uint32", defaultValue: 0 },
{
name: "unknownFloatVector3",
name: "position",
type: "floatvector3",
defaultValue: [0, 0, 0]
},
{
name: "unknownFloatVector4",
name: "rotation",
type: "floatvector4",
defaultValue: [1, 1, 1, 1]
},
Expand Down
8 changes: 4 additions & 4 deletions src/servers/ZoneServer2016/managers/groupmanager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ export class GroupManager {
unknownQword1: member
}
},
unknownFloatVector3: character?.state.position,
unknownFloatVector4: character?.state.rotation,
position: character?.state.position,
rotation: character?.state.rotation,
memberId: index,
unknownQword2: member
};
Expand Down Expand Up @@ -344,8 +344,8 @@ export class GroupManager {
unknownQword1: member
}
},
unknownFloatVector3: character?.state.position,
unknownFloatVector4: character?.state.rotation,
position: character?.state.position,
rotation: character?.state.rotation,
memberId: index,
unknownQword2: member
};
Expand Down
8 changes: 4 additions & 4 deletions src/types/zone2016packets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1422,8 +1422,8 @@ export interface GroupPlayerJoined {
unknownDword4?: number;
unknownQword1?: string;
zoneId?: number;
unknownFloatVector3?: Float32Array;
unknownFloatVector4?: Float32Array;
position?: Float32Array;
rotation?: Float32Array;
unknownQword2?: string;
unknownDword6?: number;
memberId?: number;
Expand Down Expand Up @@ -1464,8 +1464,8 @@ export interface GroupUnknown14 {
unknownDword4?: number;
unknownQword1?: string;
zoneId?: number;
unknownFloatVector3?: Float32Array;
unknownFloatVector4?: Float32Array;
position?: Float32Array;
rotation?: Float32Array;
unknownQword2?: string;
unknownDword6?: number;
memberId?: number;
Expand Down

0 comments on commit 2bb5c2a

Please sign in to comment.