Photon Plugins API Documentation
Public Attributes | List of all members
Photon.Hive.Plugin.CacheOperations Class Reference

Related to RaiseEvent operation. Allows you to control room events events cache by setting the required option. Events are cached per event code and player: Event 100 (example!) can be stored once per player. Cached events can be modified, replaced and removed. More...

Public Attributes

const byte DoNotCache = 0
 Default value (not sent). Event will not be cached. More...
 
const byte AddToRoomCache = 4
 Adds an event to the room's cache. More...
 
const byte AddToRoomCacheGlobal = 5
 Adds this event to the cache for actor 0 (becoming a "globally owned" event in the cache). More...
 

Detailed Description

Related to RaiseEvent operation. Allows you to control room events events cache by setting the required option. Events are cached per event code and player: Event 100 (example!) can be stored once per player. Cached events can be modified, replaced and removed.

Caching works only combination with ReceiverGroup options Others and All.

Member Data Documentation

const byte Photon.Hive.Plugin.CacheOperations.AddToRoomCache = 4

Adds an event to the room's cache.

const byte Photon.Hive.Plugin.CacheOperations.AddToRoomCacheGlobal = 5

Adds this event to the cache for actor 0 (becoming a "globally owned" event in the cache).

const byte Photon.Hive.Plugin.CacheOperations.DoNotCache = 0

Default value (not sent). Event will not be cached.