docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BanPlayerRequest

    Request for banning a player

    Inheritance
    object
    BanPlayerRequest
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Apis.UGC
    Assembly: solution.dll
    Syntax
    [Preserve]
    public class BanPlayerRequest

    Constructors

    BanPlayerRequest(string, string)

    Initializes a new instance of the BanPlayerRequest class.

    Declaration
    [Preserve]
    public BanPlayerRequest(string playerId = null, string reason = null)
    Parameters
    Type Name Description
    string playerId

    The Player ID to ban (required).

    string reason

    A reason for the ban (required).

    Properties

    PlayerId

    The Player ID to ban

    Declaration
    [Preserve]
    public string PlayerId { get; set; }
    Property Value
    Type Description
    string

    The Player ID to ban

    Reason

    A reason for the ban

    Declaration
    [Preserve]
    public string Reason { get; set; }
    Property Value
    Type Description
    string

    A reason for the ban

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)