Пример #1
0
        /// <inheritdoc/>
        public void HandlePacket(Player player, Span <byte> packet)
        {
            PartyInviteRequest message = packet;
            var toRequest = player.GetObservingPlayerWithId(message.TargetPlayerId);

            if (toRequest is null)
            {
                return;
            }

            this.action.HandlePartyRequest(player, toRequest);
        }
Пример #2
0
 public void Invite(SyncSession session, PartyInviteRequest request)
 {
 }
Пример #3
0
 public static void Invite(Session session, PartyInviteRequest request)
 {
 }
Пример #4
0
 public virtual IActionResult InvitePlayer([FromRoute] Guid partyId, [FromBody] PartyInviteRequest request)
 {
     throw new NotImplementedException();
 }