SFS2X Objective-C API  1.7.13
iOS / macOS / tvOS
MMOItem.h
1 //
2 // MMOItem.h
3 // SFS2X
4 //
5 // Created by Lapo on 28/11/13.
6 // Copyright (c) 2013 A51 Integrated | http://a51integrated.com. All rights reserved.
7 //
8 
9 #import "IMMOItem.h"
10 
11 /** An MMOItem represents an active non-player entity inside an MMORoom.
12 
13  MMOItems can be used to represent bonuses, triggers, bullets, etc, or any other non-player entity that will be handled using the MMORoom's rules of visibility.
14 
15  This means that whenever one or more MMOItems fall within the Area of Interest (AoI) of a user, their presence will be notified to that user by means of the [ISFSEvents onProximityListUpdate] event.
16 
17  MMOItems are identified by a unique ID and can have one or more MMOItem Variables associated to store custom data.
18 
19  NOTE: MMOItems can be created in a server side Extension only; client side creation is not allowed.
20 
21  @see MMORoom
22  @see MMOItemVariable
23  */
24 @interface MMOItem : NSObject<IMMOItem>
25 
26 -(id) initWithId:(NSInteger)itemId;
27 
28 @end
MMOItem
Definition: MMOItem.h:24