branchFacepunch.Nexus/maincancel
64 Commits over 1,188 Days - 0.00cph!
Fix failing to receive large messages
Fix errors related to messaging not making it into the logs
Add a public method to refresh a clan's data immediately
Update System.Runtime.CompilerServices.Unsafe from 4.5.0 - 6.0.0
Allow negative scores and multipliers (but still no zeroes)
Automatically batch clan score events to be submitted to the nexus backend
Add support for getting the clan leaderboard
Add clan score related things
Fix limit value for get clan log not being passed to API
Add a realm for development
Allow connection details in player info response to be null
Update to include query port
Fix tests
Don't error that the socket is not connected until it was actually started
Add tags field to nexus listing model
Model update to expose assigned zone to player client
Add ZoneCount field to NexusListing model
Refactoring so it's easier to get the list of nexuses without needing the full player client set up
Downgrade pretty much everything to play nicely with Unity
Update dependencies to align with what we have in Rust
Revert System.Memory to 4.5.4 because of some Unity issues
Add in APIs to check and upload zone map images
Replace System.Text.Json with Newtonsoft.Json because it's not working with Il2CPP
Fix wrong endpoint being used for player info
Fix missing result mapping for some role deletion error codes
Add result mapping for clan is full error code
Rename base client classes, rename NexusSteamPlayerClient to NexusPlayerClient
Change NexusPlayerClient to expect player auth tokens (from fpapi) instead of steam tickets
Refactor API calls to return the ApiResult (which has the status code and response if there is one)
API calls no longer automatically throw for non-2xx responses
Connector functions for calling all of the new clan APIs
WIP setting up the NexusZoneClient to provide access to clans
Progress on clans implementation
Hook up all the clan functions
Refactor VariableUpdate so it's not annoying to use
Automatically handle clan events from the nexus
Expose clan events to consumers so they can do extra stuff if needed
Compile fix
Add an event for when a clan is unloaded
Add accessors for role and member variables
Fix roles never getting their name set
Fix incorrect error codes being returned when changing a clan member's role
Add a MaxMemberCount field to clan info (always 0, no limit for now)
Automatically refresh clan info in case we missed some change events
Rename zone Name -> Key
Merge branch 'clans'
Update nexus/zone/player variable set calls to reflect API changes
Allow specifying a custom content type for messages
Provide the message content type when receiving messages
▄▍▉▊ ▅▅█▉▊▄▌▍▍▇▉▉▌▌▅ ▌▅▍▉ ▅▍▆▅▌ ▇▇▊▌▍▅▋▅▉ ▇▅▄▉▆▊▇▊ ▌███▌ ▇▇▊▍▍▅▇▇▋▍▄▉▆▆ ▇▄ ▍▌▉█▍█
▅▍▇▊ █▊█▆ ▇▉█▍▊█▌▇ ▄▍▇▄▆▉▅ ▊▌▉ ▋▆▆▌▄▆█ ▆▇▍▇▅▊▍▆
▄▌▉▋ ▊▅▊▆▌▄█▌ ▌▇▄▌▇▉ ▆█▊ ▉▉▆█▍▇▋▅
▊▉▅ ▌▅ ▍▋▍█▍
▆█▄▉▌▄▍▋ ▄▉█▅▉ ▉▉▉ ▄▆▌▊ ▋▍▍▍▍▇██▍▉▄
▉▉▉▉▇▊▅▍ ▊▋▄▆ █▆▋▆▍▆▋▋ ▄▅█ ▇▌▄▊▆▌▍ ▇▍▍ ▇▌▇█▉▆▍
▄▇▉▄▆▊▍▉ ▆▄▌▅▇ ▆▉▉ ▉▋▅██▋▌▇ ▋▋▅▋▍▌
▆▍▄▌▉ ▉▅▄ ▇█▋█ ▄█▄▆▆█ ▋▊█▅ ▇▅▆▅▆ █▋▋ ▍▆▍ ▋▊ ▄▆ ▋▉▋▅█▇ ▋▇▍▌▍█▋▇▋▆ ▇▅▅▊▍▉▇ ▇▋ ▆▊█▉ (█▆'▋ ▄▍▉▌ ▍█▍▋▊▋▆▇ ▆▄▄▇▆▄▉▊)
▉█▇ ▅▆██ ▅▋ ▆▌█▉▅▇ ▋▌ ▌▆▍▆▇ ▍▅▆▄▄▊▆
▇▆▅▆█ ▉▆▍█▋▇▆ ▉▊ ▄▆█ ▊▊▅▄▇▉▅▇█ ▌▋▋▉▆▋▍▋▋▇▄█▋▄ (█▇█▅▆▋▆▇█ █▋▊▅▆▅▄▊ ▍▍▄▋ ▉▆▌▉▊▇ ▋▍▋▅▍ ▍▉▋ ▋▌▇▍▊▅▉▆▆ ▌▉▉▊▊▊▊▅)
▌▆▇▅ ▆▅ ▌ ▊▆▉▋▊▍▅▄ ▊▍ ▇▄▄▄ ▊█▅ ▉█▉ ▇▌▍▄▍ ▌▌▄▋▆███
▍▊▄ ▄▊▉▇▅▌▉▋▌ ▍▆▋▌▍▊▉▊▉▍ ▆█▊▆▆ ▉▊▊▄
▅▋▌▇ ▍█▋▄▅▉█▌ ▅█▊▌█▋ ▅▄▉█▊▄▅█
▌▋▆▍▋▋ ▋▍▍▅▋▉▆▆▄ ▊▄▋▉ ▉▌▆▌[] ▋▉▅▄▅▆▋ ▆▌ ▌▆▌▇█▉▊▍▅▉▆▄▅▄<█▇▊▉> ▌▉▄▉▋
▊▍▉ █ ▊▋▊▋▆▍▌▋ ▄█ ▋▅█ ▅▉█▆▍▋ ▉▉▊▊█▊▍▋▌ ▆█ ▅█▍▅▄▆ ▉▌▍▅
▆▆█▍ ▍▇▇▇█
▋▅▄▍▉ ▍▉▄██▇ ▆█▋▉ █▄▌▉▇▊▌▍ ▊▊█▇ ▇▋▅▇▅, ▅▌▌▉▅▉▅ █ ▊▊█▊▊▆ ▅▋▌▉▉▉▊█ ▋▍ ▆▇▇▅▉▆ ▆▇▄▆
▄▊▍▄▇▉ ▋▅▊▄▇▆▄▇▆ ▊█ ▅▉▋ ▉▋▅▍▇▋ ▅▍▌█ ▇▅▊ ▇▅█ ▋▌▆▄▌▉▋▊▉
▋▋▅▋▍▇ ▆▌▇▆▄▍▉▍▉ ▆▅ ▄▅▉ ▋▋▋▆▋ ▉▄▉ ▌▊▅█ ▍▉▇▊▉▅▊▇▉
▋▉▄▊▊▌▉ ▄▍▆▉▄▅ ▄▍█▄ ▉▍▉ ▌▄ ▆▋▍▊█ ▆▄▊▍▌▋▇▍
▉▆▊ ▅▌▆▍█▊▇▋▊▄▌█▉▇▌▍▍▆█▇ ▉▉▅ ▇▉▇█▄ ▊▊█▋▍▇▋▅
█▄▇ ▋▇█▇ ▉▅▍█▇▇▅ ▉▍ ▄▍▄▊▊▍▇▄▆▆▅▄▉▄▉▆▉▊▉▍
Add code to support logging to different targets
Retry requests which throw HTTP exceptions (network errors etc)
▌▅█ ▆▄▇▇ ▇█▋▌▋ ▅▍▍▊▍▉▄▊▋ ▍▊▄▋▇ ▉▇ ▉█▇▉▌▇▇▅▍▄▊▅▌▍▌▄▄▍▇▇▇
▆▇▇ ▉▊▊▄▌▅▊ ▊▇▄█ ▌▋▊ ▊▄▉▇ ▅▅▍██'▍ ▉▋▄▆ ▋▊ ▆▆▄▉
! ▍▅█▉▄▅▊█ ▇▇▇▄▌▉█ ▊▉▆▄▅▇▅▆▋▉ ▄▄█▍▊▌▅ ▌▆ ▊▉ ▉▍▆ (▍█▉▅ ▄ ▉█▌)
▌▅▅ ▍▉█▌▍▄ ▆▊▊▌█▉▌▌ ▌▇▅▍█▌
▉▉▇▊ ▅▄█ ▇▉█▌▄
▅▉▌▄▉▉ ▋█▍▍ ▄▉▊▌▆▅ ▄▆▅
▋▋▆ ▇▇▊▉▍▉▉▅ ▍▅▌ ▊▌▉▇▇▋▉▊ ▄▇▉▌█▅█▉▄ ▍▆█▅