예제 #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();
 }