25 lines
		
	
	
		
			730 B
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			25 lines
		
	
	
		
			730 B
		
	
	
	
		
			C#
		
	
	
	
|  | using System.Collections.Generic; | |||
|  | using ThinkingSDK.PC.Constant; | |||
|  | 
 | |||
|  | namespace ThinkingSDK.PC.DataModel | |||
|  | { | |||
|  |     public class ThinkingSDKOverWritableEvent:ThinkingSDKEventData | |||
|  |     { | |||
|  |         private string mEventID; | |||
|  |         public ThinkingSDKOverWritableEvent(string eventName,string eventID) : base(eventName) | |||
|  |         { | |||
|  |             this.mEventID = eventID; | |||
|  |         } | |||
|  |         public override string GetDataType() | |||
|  |         { | |||
|  |             return "track_overwrite"; | |||
|  |         } | |||
|  |         override public Dictionary<string, object> ToDictionary() | |||
|  |         { | |||
|  |             Dictionary<string, object> dictionary = base.ToDictionary(); | |||
|  |             dictionary[ThinkingSDKConstant.EVENT_ID] = mEventID; | |||
|  |             return dictionary; | |||
|  |         } | |||
|  |     } | |||
|  | } |