//
//  SFSBuddyEvent.m
//  SFS2X
//
//  Original development by Infosfer Game Technologies Ltd. | http://www.infosfer.com.
//
//  Maintained and developed by A51 Integrated.
//  Copyright 2012 A51 Integrated | http://a51integrated.com. All rights reserved.
//

#import "SFSBuddyEvent.h"


NSString * const SFSBuddyEvent_BUDDY_LIST_INIT = @"buddyListInit";
NSString * const SFSBuddyEvent_BUDDY_ADD = @"buddyAdd";
NSString * const SFSBuddyEvent_BUDDY_REMOVE = @"buddyRemove";
NSString * const SFSBuddyEvent_BUDDY_BLOCK = @"buddyBlock";
NSString * const SFSBuddyEvent_BUDDY_ERROR = @"buddyError";
NSString * const SFSBuddyEvent_BUDDY_ONLINE_STATE_UPDATE = @"buddyOnlineStateChange";
NSString * const SFSBuddyEvent_BUDDY_VARIABLES_UPDATE = @"buddyVariablesUpdate";
NSString * const SFSBuddyEvent_BUDDY_MESSAGE = @"buddyMessage";

@implementation SFSBuddyEvent


-(id)initWithType:(NSString *)type params:(NSDictionary *)params {
	if ((self = [super initWithType:type params:params])) {
		
	}
	
	return self;
}


-(id)clone {
	NSDictionary *clonedParams = [NSDictionary dictionaryWithDictionary:_params];
	NSString *clonedType = [NSString stringWithString:_type];
	
	SFSBuddyEvent *clone = [[SFSBuddyEvent alloc] initWithType:clonedType params:clonedParams];
	
	return clone;
}

@end
