Show / Hide Table of Contents

Class Team

Class representing a team of players

Inheritance
Object
Element
Team
Inherited Members
Element.element
Element.Root
Element.MTAElement
Element.Type
Element.ID
Element.Exists
Element.ChildCount
Element.Parent
Element.CallPropagationEnabled
Element.SetData(String, Object, Boolean)
Element.GetData(String, Boolean)
Element.TryGetData(String, Object, Boolean)
Element.GetData<T>(String, Boolean)
Element.TryGetData<T>(String, T, Boolean)
Element.Destroy()
Element.GetChild(Int32)
Element.GetChildren(String)
Element.GetByID(String, Int32)
Element.ListenForEvent(String, Boolean, String)
Element.HandleEvent(String, MtaElement, Object, Object, Object, Object, Object, Object, Object, Object)
Element.OnDestroy
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Slipe.Client.Game
Assembly: SlipeClient.dll
Syntax
[DefaultElementClass(ElementType.Team)]
public class Team : Element

Properties

| Improve this Doc View Source

Color

Get the color of this team

Declaration
public Color Color { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

FriendlyFire

Get if friendly fire is enabled

Declaration
public bool FriendlyFire { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Name

Get the name of the team

Declaration
public string Name { get; }
Property Value
Type Description
String
| Improve this Doc View Source

PlayerCount

Get the amount of players in this team

Declaration
public int PlayerCount { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Players

Get a list of all players in this team

Declaration
public Player[] Players { get; }
Property Value
Type Description
Player[]
  • Improve this Doc
  • View Source
Back to top Generated by DocFX