Loading...
Searching...
No Matches
CityBuilderCore.MessageReceiver Class Reference

Detailed Description

behaviour that can receive and pass simple string messages
events allow attaching actions to certain messages in the inspector

https://citybuilder.softleitner.com/manual

Inheritance diagram for CityBuilderCore.MessageReceiver:
CityBuilderCore.Building CityBuilderCore.Walker CityBuilderCore.ExpandableBuilding CityBuilderCore.Tests.DebugBuilding CityBuilderCore.AttackWalker CityBuilderCore.DeliveryWalker CityBuilderCore.EmigrationWalker CityBuilderCore.HomelessWalker CityBuilderCore.ImmigrationWalker CityBuilderCore.ItemsRetrieverWalker CityBuilderCore.PurchaseWalker CityBuilderCore.RoamingWalker CityBuilderCore.StorageWalker CityBuilderCore.Tests.DebugWalker CityBuilderCore.WanderingWalker CityBuilderCore.WorkerWalker CityBuilderManual.Custom.CustomDestinationWalker CityBuilderTown.TownWalker CityBuilderUrban.PickupWalker CityBuilderUrban.TornadoWalker CityBuilderUrban.TrainWalker

Public Member Functions

virtual void OnMessages (string e)
 use when a single string has to be split into several messages
by default the parameter is split by spaces
 
virtual void OnMessage (string e)
 puts a message into the characters messaging pipeline
 

Public Attributes

MessageReceiver ForwardReceiver
 
UnityEvent< string > MessageReceived
 
MessageEvent[] MessageEvents
 

Member Function Documentation

◆ OnMessage()

virtual void CityBuilderCore.MessageReceiver.OnMessage ( string e)
inlinevirtual

puts a message into the characters messaging pipeline

Parameters
e

Reimplemented in CityBuilderTown.TownWalker.

◆ OnMessages()

virtual void CityBuilderCore.MessageReceiver.OnMessages ( string e)
inlinevirtual

use when a single string has to be split into several messages
by default the parameter is split by spaces

Parameters
e