Show / Hide Table of Contents

Class TeamMessageBatch

Immutable ordered, non-null payloads delivered as one team-message event on the next turn.

Inheritance
object
TeamMessageBatch
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Robocode.TankRoyale.BotApi
Assembly: api.dll
Syntax
public sealed class TeamMessageBatch

Constructors

| Edit this page View Source

TeamMessageBatch(IEnumerable)

Creates a batch from a non-empty sequence of non-null payloads.

Declaration
public TeamMessageBatch(IEnumerable messages)
Parameters
Type Name Description
IEnumerable messages

Payloads in delivery order.

Exceptions
Type Condition
ArgumentException

The sequence is empty or contains a null payload.

Properties

| Edit this page View Source

Messages

Returns the ordered batch payloads.

Declaration
public IReadOnlyList<object> Messages { get; }
Property Value
Type Description
IReadOnlyList<object>
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX