Search Results for

    Show / Hide Table of Contents

    Class KaijuPrefixTextFilter

    Text filter that only keeps messages that are prefixed by one or more prefixes which could be useful for implementing team-based chats.

    Inheritance
    System.Object
    KaijuFilter
    KaijuTextFilter
    KaijuPrefixTextFilter
    Inherited Members
    KaijuTextFilter.Changed()
    KaijuFilter.Order
    KaijuFilter.CompareTo(KaijuFilter)
    Namespace: KaijuSolutions.MultiplayerEngine
    Syntax
    public sealed class KaijuPrefixTextFilter : KaijuTextFilter

    Fields

    prefixes

    Only keep messages which start with one of these prefixes.

    Declaration
    public string[] prefixes
    Field Value
    Type Description
    System.String[]

    Methods

    Filter(ref String, UInt64)

    Filter logic.

    Declaration
    public override void Filter(ref string chat, ulong id)
    Parameters
    Type Name Description
    System.String chat

    The chat message to apply the filter to. Must not set to NULL.

    System.UInt64 id

    The ID of the player that the message is from.

    Overrides
    KaijuTextFilter.Filter(ref String, UInt64)
    In This Article
    Back to top © 2025 Kaiju Solutions Inc.