Skip to main content

GameMagicBattleAddChatLog

Callable

  • GameMagicBattleAddChatLog(Msg: string, Source: Character, Target: Character, Data: { Action?: undefined; CCData: [any]; CCLog: string; GameProgress?: Next | Action | Start | Stop | Skip | Query; Item?: string; KinkyDungeon?: any; OnlineBounty?: any; Player1?: number; Player2?: number; Spell?: string; Target?: number; Time?: number }, Color?: string): void

  • Adds a game message to the chat log.


    Parameters

    • Msg: string

      Message tag

    • Source: Character

      Source character of the message

    • Target: Character

      Character targetted by the message

    • Data: { Action?: undefined; CCData: [any]; CCLog: string; GameProgress?: Next | Action | Start | Stop | Skip | Query; Item?: string; KinkyDungeon?: any; OnlineBounty?: any; Player1?: number; Player2?: number; Spell?: string; Target?: number; Time?: number }

      The data linked to the packet

      • optionalAction: undefined
      • CCData: [any]
      • CCLog: string
      • optionalGameProgress: Next | Action | Start | Stop | Skip | Query
      • optionalItem: string
      • optionalKinkyDungeon: any
      • optionalOnlineBounty: any
      • optionalPlayer1: number
      • optionalPlayer2: number
      • optionalSpell: string
      • optionalTarget: number
      • optionalTime: number
    • optionalColor: string

      Color of the message to add.

    Returns void

    • Nothing