Skip to content

Add Pitch Information in the "location" or anywhere more suitable #296

Description

@coredmp95

Hello, could we have the "pitch" information in the getPlayer endpoint ?

[
{
"ID": "Char_Player_C_2147452680",
"Name": "derpierre65",
"ClassName": "Char_Player_C",
"location": {
"x": -57604.6796875,
"y": 260436.1875,
"z": -3018.36083984375,
"rotation": 115.5536737696151,
"pitch": 20
},
"Online": true,
"PlayerHP": 100,
"Dead": false,
"Inventory": [
{
"Name": "Beryl Nut",
"ClassName": "Desc_Nut_C",
"Amount": 10,
"MaxAmount": 100
},
{
"Name": "Paleberry",
"ClassName": "Desc_Berry_C",
"Amount": 50,
"MaxAmount": 50
},
{
"Name": "FICSIT Coupon",
"ClassName": "Desc_ResourceSinkCoupon_C",
"Amount": 11,
"MaxAmount": 500
},
{
"Name": "Hard Drive",
"ClassName": "Desc_HardDrive_C",
"Amount": 48,
"MaxAmount": 100
},
{
"Name": "Mercer Sphere",
"ClassName": "Desc_WAT2_C",
"Amount": 1,
"MaxAmount": 50
},
{
"Name": "Wood",
"ClassName": "Desc_Wood_C",
"Amount": 51,
"MaxAmount": 200
},
{
"Name": "Hoverpack",
"ClassName": "BP_EquipmentDescriptorHoverPack_C",
"Amount": 1,
"MaxAmount": 1
}
],
"features": {
"properties": {
"name": "derpierre65",
"type": "Player"
},
"geometry": {
"coordinates": {
"x": -57604.6796875,
"y": 260436.1875,
"z": -3018.36083984375
},
"type": "Point"
}
}
}
]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions